From owner-freebsd-fs@FreeBSD.ORG Fri Jun 17 10:05:34 2011 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0682A106564A for ; Fri, 17 Jun 2011 10:05:34 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7B6888FC13 for ; Fri, 17 Jun 2011 10:05:33 +0000 (UTC) Received: by bwz12 with SMTP id 12so2884733bwz.13 for ; Fri, 17 Jun 2011 03:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=azZ84DxyL93O0wx3wfUpaigtJCjYcHAchr5Owcy0OpA=; b=uzu1Mhbz7AhUJB/juYM29JDTmpOMnfboUZdr/PudJh5+sRLkxlMq7PbveCuG8lwwyy afsEooGd+Yv2Y5UqdU4wXNTDg+2goST11oFN3bD6pMUibj5TSyud2thJdpx8ADvrxeHd AnYhob9Io/zG09kHNdqlYWbWE0/Uuy30nAFX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=iiDGRS0qF2GrtSWf+jKpiBw0Czx4Gnc0dAGKGuWvHX7kQumX5YgvQ0ss8WD2TGchsd WpT9M6rCWMEdZ7sUXMgNr33gJ+o7io2nGCbhZT7h+DVzs01icRsXY7tzaZotif6S9I+W n7iFVrLG77gW0oX12nUZGfYCaKsgjcQd+GQh8= Received: by 10.204.32.65 with SMTP id b1mr1452499bkd.73.1308303634132; Fri, 17 Jun 2011 02:40:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.144.207 with HTTP; Fri, 17 Jun 2011 02:40:14 -0700 (PDT) In-Reply-To: References: <4DF7CDD0.8040108@scsiguy.com> <20110615120524.GI1975@garage.freebsd.pl> <4DF8ACD3.1070202@scsiguy.com> From: Edho P Arief Date: Fri, 17 Jun 2011 16:40:14 +0700 Message-ID: To: krad Content-Type: text/plain; charset=UTF-8 Cc: "Justin T. Gibbs" , Pawel Jakub Dawidek , fs@freebsd.org Subject: Re: [CFR][ZFS] Add "zpool labelclear" command. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2011 10:05:34 -0000 On Fri, Jun 17, 2011 at 4:37 PM, Edho P Arief wrote: > On Fri, Jun 17, 2011 at 4:02 PM, krad wrote: >> >> 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. > > Actually it will. At least up to 10 MB based on my previous experience > (under openindiana oi_148, at least). > It also must be noted that giving raw device to solaris' zpool doesn't make it to use entire disk - zpool command automatically creates gpt label with two partitions (of type usr and reserved) and creates the pool on the usr partition (not entire disk).