DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th March 2011
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 35
Thanked 0 Times in 0 Posts
Default 7.2 -> 8.2 now my ad2s1a is gone

In /dev/ there are ad2 and ad2a. It appears that the slice is gone? I tried scan_ffs on /dev/ad2 and it says:

block 128 id 46e15597,86405207 size 60313680
block 160 id 46e15597,86405207 size 60313680
X: 241254720 0 4.2BSD 2048 16384 0 # /home
block 191 id 46e3bee7,e486f661 size 60313664
block 223 id 46e3bee7,e486f661 size 60313664
X: 241254656 63 4.2BSD 2048 16384 0 # /home
...

What do I do with this?

I also tried sysinstall to recreate the slice and partition and it said it'd written to disk but /dev/ doesn't update, even after reboot...?

I used to have a ufs /dev/ad2s1d mounted as /home but after an upgrade it's gone.
Reply With Quote
  #2   (View Single Post)  
Old 19th March 2011
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 201
Thanked 5 Times in 5 Posts
Default

Is /dev/ada2s1d there? Maybe it will mount as /home and you can adjust fstab
(Guessing).
If devices are plainly missing though, geom_mbr.ko and two others in /boot/loader.conf
may fix it (search that term in this or the freebsd forum...)
__________________
FreeBSD v9... pkg2ng somewhat working...
Reply With Quote
  #3   (View Single Post)  
Old 19th March 2011
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 35
Thanked 0 Times in 0 Posts
Default

Not exactly, but loading modules bsd and label (I already had mbr) gav me this in dev:

crw-r----- 1 root operator 0, 89 Mar 19 19:44:05 2011 ad2
crw-r----- 1 root operator 0, 93 Mar 19 19:44:05 2011 ad2a
crw-r----- 1 root operator 0, 93 Mar 19 19:44:05 2011 ad2a
crw-r----- 1 root operator 0, 129 Mar 19 19:48:27 2011 ad2c
crw-r----- 1 root operator 0, 137 Mar 19 19:48:27 2011 ad2ca
crw-r----- 1 root operator 0, 136 Mar 19 19:48:27 2011 ad2cs1
crw-r----- 1 root operator 0, 141 Mar 19 19:48:27 2011 ad2cs1c
crw-r----- 1 root operator 0, 148 Mar 19 19:48:27 2011 ad2cs1cd
crw-r----- 1 root operator 0, 142 Mar 19 19:48:27 2011 ad2cs1d
crw-r----- 1 root operator 0, 142 Mar 19 19:48:27 2011 ad2cs1d
crw-r----- 1 root operator 0, 150 Mar 19 19:48:27 2011 ad2cs1dc
crw-r----- 1 root operator 0, 149 Mar 19 19:48:27 2011 ad2cs1dd
crw-r----- 1 root operator 0, 149 Mar 19 19:48:27 2011 ad2cs1dd
crw-r----- 1 root operator 0, 105 Mar 19 19:47:52 2011 ad2s1
crw-r----- 1 root operator 0, 110 Mar 19 19:48:27 2011 ad2s1c
crw-r----- 1 root operator 0, 130 Mar 19 19:48:27 2011 ad2s1cd
crw-r----- 1 root operator 0, 108 Mar 19 19:47:52 2011 ad2s1d
crw-r----- 1 root operator 0, 108 Mar 19 19:47:52 2011 ad2s1d
crw-r----- 1 root operator 0, 118 Mar 19 19:48:27 2011 ad2s1dc
crw-r----- 1 root operator 0, 119 Mar 19 19:48:27 2011 ad2s1dd
crw-r----- 1 root operator 0, 119 Mar 19 19:48:27 2011 ad2s1dd

None of which is mountable. Removing module label however and setting the geom_kernel_debug sysctl allowed me to recreate the slice and partition. Unfortunately I was in a hurry and forgot to toggle the newfs switch. So....
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick