Date: Wed, 15 Jul 2009 15:19:30 -0700 From: Freddie Cash <fjwcash@gmail.com> To: freebsd-current@freebsd.org Subject: Re: ZFS pool corrupted on upgrade of -current (probably sata renaming) Message-ID: <b269bc570907151519m6caf5346u5dc0d35aca373d1f@mail.gmail.com> In-Reply-To: <m2tz1dy4n9.wl%randy@psg.com> References: <alpine.BSF.2.00.0907132009040.2027@teapot.cbhnet> <alpine.BSF.2.00.0907142318520.2686@teapot.cbhnet> <b269bc570907141550u6854bc8eh6ea73fe9bd3e788a@mail.gmail.com> <m21voi1ufz.wl%randy@psg.com> <b269bc570907150922l3ded8a76id12ea72801abb3c7@mail.gmail.com> <m2tz1dy4n9.wl%randy@psg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 15, 2009 at 3:15 PM, Randy Bush <randy@psg.com> wrote: > > * label all the drives using glabel, while they're still attached to > the > > pool > > having a bit of a problem with that one > > # zpool status > pool: tank > state: ONLINE > scrub: resilver completed after 0h3m with 0 errors on Wed Jul 15 14:13:49 > 2009 > config: > > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > mirror ONLINE 0 0 0 > ad4s3 ONLINE 0 0 0 > ad5s3 ONLINE 0 0 0 > mirror ONLINE 0 0 0 > ad7s1 ONLINE 0 0 0 71.5M resilvered > label/disk02 ONLINE 0 0 0 1.82G resilvered > > errors: No known data errors > # glabel label disk03 /dev/ad7s1 > glabel: Can't store metadata on /dev/ad7s1: Operation not permitted. > # sysctl kern.geom.debugflags=17 > kern.geom.debugflags: 0 -> 17 > # glabel label disk03 /dev/ad7s1 > glabel: Can't store metadata on /dev/ad7s1: Operation not permitted. > > randy > Hrm, you might need to do this from single-user mode, without the ZFS filesystems mounted, or the drives in use. Or from a LiveFS CD, if /usr is a ZFS filesystem. On our ZFS hosts, / and /usr are on UFS (gmirror). -- Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b269bc570907151519m6caf5346u5dc0d35aca373d1f>