ZFS pool corrupted on upgrade of -current (probably sata renaming)

Randy Bush randy at psg.com
Wed Jul 15 22:15:24 UTC 2009


>   * 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


More information about the freebsd-current mailing list