Date: Fri, 10 Jul 2009 14:21:06 +1000 From: John Marshall <john.marshall@riverwillow.com.au> To: freebsd-current@freebsd.org Subject: 8.0-BETA1 bsdlabel broken? Message-ID: <20090710042106.GC31950@rwpc12.mby.riverwillow.net.au>
index | next in thread | raw e-mail
[-- Attachment #1 --] This system was source-upgrade from 7.2-RELEASE to 8.0-BETA1 a couple of days ago. Today I had a nasty surprise when I fired up bsdlabel to increase the size of a swap partition. I booted the system off the 7.2-RELEASE live filesystem CD and its bsdlabel displayed "normal" labels. I used the bsdlabel off the 7.2 livefs CD to edit the label. Here's what I see from 8.0-BETA1. Scary stuff! rwsrv05# bsdlabel da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 16065 4.2BSD 2048 16384 8 b: 8388608 1064641 swap c: 33543720 16065 unused 0 0 # "raw" part, don't edit e: 4194304 9453249 4.2BSD 2048 16384 28552 f: 19912232 13647553 4.2BSD 2048 16384 28552 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition f: partition extends past end of unit rwsrv05# bsdlabel da0s2 # /dev/da0s2: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 67103505 33559785 unused 0 0 # "raw" part, don't edit d: 33554432 33559785 4.2BSD 2048 16384 28552 e: 33549073 67114217 4.2BSD 2048 16384 28552 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition d: partition extends past end of unit partition e: offset past end of unit partition e: partition extends past end of unit rwsrv05# bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 156301425 63 unused 0 0 # "raw" part, don't edit d: 156301409 79 4.2BSD 2048 16384 28552 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition d: partition extends past end of unit -- John Marshall [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkpWwbIACgkQw/tAaKKahKK16gCgzw/vp7U8TWImJOYSlftI75cN AxEAniY0nBLA5vfbaqnVYiiKA2yr4pig =k4wu -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090710042106.GC31950>
