Date: Thu, 31 Dec 2009 14:20:59 -0700 From: Eric <eric@mikestammer.com> To: hartzell@alerce.com Cc: freebsd-stable@freebsd.org Subject: Re: ZFS and disappearing glabels Message-ID: <4B3D15BB.2080808@mikestammer.com> In-Reply-To: <19261.3612.150477.365986@gargle.gargle.HOWL> References: <19261.3612.150477.365986@gargle.gargle.HOWL>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/31/2009 1:48 PM, George Hartzell wrote: > > I've set up a system as described here. > > http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition > > Using the 8.0 Release DVD and then csup'ing to RELENG_8 and > rebuilding. > > I set it up with a single drive, the only change that I made was that > after creating ad10s1a I glabeled it as disk0, then added > /dev/label/disk0 to the pool. > > That worked great. > > Then I added a second larger drive, giving it an MBR, a bsd label, and > an s1a partition that I glabeled as disk1. I attached that to the > pool and it resilvered happily. > > However, when I rebooted I found that the pool now consists of > label/disk0 and ad12s1a. I detached ad12s1a, relabeled it as disk1, > and attached disk1 to the pool again. It resilvered fine. Running > strings on /boot/zfs/zpool.cache shows /dev/label/disk0 and > /dev/label/disk1. > > But, when I reboot I find I'm back to label/disk0 and ad12s1a. At > this point strings on zpool.cache lists /dev/label/disk0 and ad12s1a. > > I'd like to have the device independence of using labels, and am also > worried about problems caused by the different "disk" sizes (since the > glabeled partition is 512 bytes smaller). > > Any ideas what's going wrong? > > Thanks, > i ran into the same issues. every reboot i would have to fight to relabel the drive (on 7.2). I upgraded to 8 and used GPT for everything (and ZFS on root) and i have not had any issues. I would recommend going that route. You can still label the drives with labels. This is the docs I followed: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror Works great! Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B3D15BB.2080808>