trying to whack a glabel for a zfs mirror

Randy Bush randy at psg.com
Sun Jan 29 09:00:28 UTC 2012


> Once again the use of glabel(8) that causes and can cause loss of data
> within ZFS disks... DO NOT USE GLABEL! it is not a solution that you
> are looking for and in the long run you will shoot yourself in the
> foot for using it.
> 
> What you are seeing is glabel blatently refusing to write meta-data to
> parts of the disk where something may already exist. This is a good
> thing.
> 
> In turn use something like gpart(8) to adjust the gpt label and/or set
> your disks up properly. This is not the same thing as glabel(8) which
> in turn is a hack and not a solution and severely needs to be shot
> into outerspace from world.

i gather you do not like glabel :)

as you might have guessed from the ad0s3, the disks are gparted.  the
reason that they are also glabeled is that this is on a disk controller
from hell, an hpt 16-port, which seems to occasionally renumber the
drives, for example when one is removed.  so i wanted constant labels.

randy


More information about the freebsd-fs mailing list