zpool vdev vs. glabel
Jeremy Chadwick
freebsd at jdc.parodius.com
Wed Feb 10 08:31:01 UTC 2010
On Wed, Feb 10, 2010 at 09:24:12AM +0100, Gerrit Kühn wrote:
> On Tue, 9 Feb 2010 13:27:21 -0700 Elliot Finley <efinley.lists at gmail.com>
> wrote about Re: zpool vdev vs. glabel:
>
> EF> I ran into this same problem. you need to clean the beginning and end
> EF> of your disk off before glabeling and adding it to your pool. clean
> EF> with dd if=/dev/zero...
>
> Hm, I think I did that (at least for the beginning part).
> Maybe I was not quite clear what I did below: I removed and re-attached
> the *same* disk which was labelled with glabel and running fine brefore.
> The label was there when I inserted it back, but zfs went for the da
> device node anyway.
> If I see this problem again, I will try to wipe the complete disk before
> re-inserting it.
If I remember right, glabel metadata is stored in the last sector of
the disk, not the beginning.
"glabel clear" would probably be easier than dd if=/dev/zero'ing the
entire disk.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-stable
mailing list