Hi!
This week I finally upgraded to 8.0 via freebsd-update upgrade -r 8.0-RELEASE. Unfortunately this wasn't as smooth as I would have wished for.
I have a gmirror named /dev/mirror/gm0 with two disks (ad6, ad10) attached to it. Before the upgrade it was working fine and I had /dev/mirror/gm0s1 mounted at /storage as it's not used as a system disk. Merely as a storage disk.
After the upgrade, I rebooted, and all hell broke loose. As my gm0s1 was no where to be found, it failed to mount. This forced me into single user mode where I not only lost my $TERM type, but termcap didn't work. As you can imagine, without a $TERM type, it's difficult to edit files. I finally managed to edit /etc/fstab through a livecd to be able to comment out the mount and now I'm back in the system. Worth to note is that both mergemaster, termcap and bash all broke while in single user mode.
I now ponder on why my slice went away? And what is /dev/gm0a all about? Any ideas on how to safely get my data back in one piece? gmirror list tells me the mirror is working fine and all synced up.
fdisk /dev/mirror/gm0 outputs:
Thanks!
This week I finally upgraded to 8.0 via freebsd-update upgrade -r 8.0-RELEASE. Unfortunately this wasn't as smooth as I would have wished for.
I have a gmirror named /dev/mirror/gm0 with two disks (ad6, ad10) attached to it. Before the upgrade it was working fine and I had /dev/mirror/gm0s1 mounted at /storage as it's not used as a system disk. Merely as a storage disk.
After the upgrade, I rebooted, and all hell broke loose. As my gm0s1 was no where to be found, it failed to mount. This forced me into single user mode where I not only lost my $TERM type, but termcap didn't work. As you can imagine, without a $TERM type, it's difficult to edit files. I finally managed to edit /etc/fstab through a livecd to be able to comment out the mount and now I'm back in the system. Worth to note is that both mergemaster, termcap and bash all broke while in single user mode.
I now ponder on why my slice went away? And what is /dev/gm0a all about? Any ideas on how to safely get my data back in one piece? gmirror list tells me the mirror is working fine and all synced up.
fdisk /dev/mirror/gm0 outputs:
Code:
******* Working on device /dev/mirror/gm0 *******
parameters extracted from in-core disklabel are:
cylinders=24321 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=24321 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 390716802 (190779 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 14/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
Thanks!