Date: Fri, 17 Jun 2011 10:02:30 +0100 From: krad <kraduk@gmail.com> To: Per von Zweigbergk <pvz@itassistans.se> Cc: "Justin T. Gibbs" <gibbs@scsiguy.com>, Pawel Jakub Dawidek <pjd@freebsd.org>, fs@freebsd.org Subject: Re: [CFR][ZFS] Add "zpool labelclear" command. Message-ID: <BANLkTin4c1i4-V%2B3OU3w5hae2%2BS66Wsacg@mail.gmail.com> In-Reply-To: <F15F5657-9043-4AD6-8AA7-FD8E5DB8C24C@itassistans.se> References: <4DF7CDD0.8040108@scsiguy.com> <20110615120524.GI1975@garage.freebsd.pl> <4DF8ACD3.1070202@scsiguy.com> <F15F5657-9043-4AD6-8AA7-FD8E5DB8C24C@itassistans.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15 June 2011 14:13, Per von Zweigbergk <pvz@itassistans.se> wrote: > We here at IT-assistans have found the ability to clear ZFS labels very > useful for testing. We have an internal utility written in-house to clear > ZFS labels. It's rather dumb and dangerous which is why I have chosen not to > publish it. (Oh, the irony of being held accountable for a utility designed > to cause data loss causing data loss.) Having a labelclear command with some > extra molly guards on it in the normal userspace ZFS commands would be > useful to us at least for > testing._______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > Its worth noting that its not necessarily a good idea to let zfs handle a raw disk. There is a good argument that you should partition/slice it up with a gig or so less capacity than the drive has.This is due to all drives X TB capacity not being equal. One block less and you new 2TB drive wont work in you existing array. Because of this I always manually gpt up my disk 1st. Therefore I only have to wipe the GPT label to clear the disk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTin4c1i4-V%2B3OU3w5hae2%2BS66Wsacg>