Date: Sun, 29 Jan 2012 16:03:35 +0900 From: Randy Bush <randy@psg.com> To: FreeBSD FS <freebsd-fs@freebsd.org> Subject: trying to whack a glabel for a zfs mirror Message-ID: <m262fvrnw8.wl%randy@psg.com> In-Reply-To: <m2ipjvrxko.wl%randy@psg.com> References: <m2ipjvrxko.wl%randy@psg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
as usual, i am a bit clueless here. NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 mirror DEGRADED 0 0 0 label/m00-d01 REMOVED 0 0 0 label/m00-d00 ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m01-d00 ONLINE 0 0 0 label/m01-d01c ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m02-d00c ONLINE 0 0 0 label/m02-d01c ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m03-d00 ONLINE 0 0 0 label/m03-d01c ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m04-d00 ONLINE 0 0 0 label/m04-d01 ONLINE 0 0 0 mirror ONLINE 0 0 0 label/m05-d01 ONLINE 0 0 0 label/m05-d00 ONLINE 0 0 0 Geom name: da2s3 Providers: 1. Name: label/m00-d01 Mediasize: 1965957073408 (1.8T) Sectorsize: 512 Mode: r0w0e0 secoffset: 0 offset: 0 seclength: 3839759909 length: 1965957073408 index: 0 Consumers: 1. Name: da2s3 Mediasize: 1965957073920 (1.8T) Sectorsize: 512 Mode: r0w0e0 # zpool attach tank label/m00-d00 label/m00-d01 cannot use '/dev/label/m00-d01': must be a GEOM provider or regular file # glabel label m00-d01 /dev/da2s3 glabel: Can't store metadata on /dev/da2s3: Invalid argument. # sysctl kern.geom.debugflags=17 kern.geom.debugflags: 0 -> 17 # dd if=/dev/zero of=/dev/da2s3 dd: /dev/da2s3: Invalid argument randy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m262fvrnw8.wl%randy>