Date: Wed, 14 Apr 2010 17:14:05 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-hardware@freebsd.org Cc: Sean McAfee <sean.mcafee@gmail.com>, spolyack@gmail.com, "Brian A. Seklecki" <lavalamp@spiritual-machines.org> Subject: Re: sysinstall butchers amr(4) partitions RELENG_6.3 -> 8.0-R binary upgrade Message-ID: <201004141714.05156.jhb@freebsd.org> In-Reply-To: <4BC603BF.4070705@spiritual-machines.org> References: <4BC603BF.4070705@spiritual-machines.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 14 April 2010 2:04:47 pm Brian A. Seklecki wrote: > All: > > We have a large number of non-dangerously-dedicated disks that, > given previous discussion, should be easily updated from 6.3->8. > > These are 8th gen Dell PE18/2850 systems with MFI/LSI amr(4): > PERC4 > > Once loaded, sysinstall sees zero partitions in the > curses-based partition editor. > > At the emergency shell, /dev/amrd0, /dev/amrd0a -> /dev/amrd0g are > visible. > > In the 6.3 OS installed, these are all mapped as /dev/amrd0s1{a->g} > > So perhaps amrd(4) volumes don't follow the rules. What makes > this breakage truly exciting > > If you create a new set of partitions sysinstall, then > slice them, and commit, the newfs/fdisk step fails > and creates: > > /dev/amrd0as1, /dev/armd0as1a -> /dev/armd0as1g > > Then it creates: > > /dev/amrd0cs1, /dev/armd0cs1a -> /dev/armd0cs1g > > Finally it creates: > > /dev/amrd0s1, /dev/armd0s1a -> /dev/armd0s1g > > None of which are usable. > > You can see the result of booting a FixIt image after a failed > sysinstall process: > > http://digitalfreaks.org/~lavalamp/fbsd8_amr_sysinstall_butchered_partitions.jpg > > So that means its time to DBAN the volume for 30 seconds > and/or re-init the RAID volume in the BIOS menu to nuke the > partition table, hence a force reformat during upgrade. > > We wouldn't mind that if we were forcing everyone to use > GPT and ZFS as defaults, but since FreeBSD 8 really changes > nothing substantial this seems broken. This is due to the GPART changes in that it is less forgiving about certain partition layouts. You can try bugging marcel@. FWIW, just doing 'dd if=/dev/zero of=/dev/amrd0 count=100' or so should have been enough to wipe the partition tables that were confusing sysinstall. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004141714.05156.jhb>