From owner-freebsd-fs@freebsd.org Mon Mar 7 05:30:21 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D54AFAC18DD; Mon, 7 Mar 2016 05:30:21 +0000 (UTC) (envelope-from fred.fliu@gmail.com) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D6B2BB4; Mon, 7 Mar 2016 05:30:21 +0000 (UTC) (envelope-from fred.fliu@gmail.com) Received: by mail-lb0-x22d.google.com with SMTP id xr8so21278811lbb.1; Sun, 06 Mar 2016 21:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=KiUTDCWMZHiucS1Az4x26aP72DLMMi4Mc2CA63uITfk=; b=cfhY897cjAr1f+SaVaLM03Oaaav7RQqsQK5ZK4N5J1Cg1RHjXKxsfDOLssvbfSz595 BEOCIFNbOmKuTD0e06wFAZYJukZx+bgRHAGK600lQpOJZxroB0kk2tIjyj+/7SljWPoH sw0uYTjZ56U88SdHyXH0K7ngv07hvoYqvFgNo0Xrmz7297XXnSO1+NSZ1HWqNyTTuYCv aY+n01CAo/LaUZ8qervQOBu2fgLoEZLavpETTUGtrkTAIbKDAIntFtcpGc1khmikvC71 jeLRvKMJf3b+43mIJeGluqfzMBgDdKw9rraajc1pQP2HiLvfv/0Ogv9u9X7etJvF3aAj aiKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=KiUTDCWMZHiucS1Az4x26aP72DLMMi4Mc2CA63uITfk=; b=ctiOGgrerI8z0y88ftgDMvUONN/J6T51q9NFtIyDd4PSnnTbnvrBl4iQq21uu+Jpoa EyIU2o7odDZxPYy5VdHNL8XSEmVZoneN8PJ21H7VDG2gDi5kxBGCqmSi2YRuebhHeuxL v6R4+wWI0zvI2g0Fp18H1ptahHsKLeB9aSfSLKKDy6VEBctPTTzlXTz2waR2OTD0ajkx Gl0DfC1EhJ1Tk0Bzi7mfh+lr5baRKiejKstT4yxL/4YwDpIpzSYT26ZnZlYS/f55VK0J INhoaAd9S6ao+3AJk0jKUcww1CdmiKm1+KNb+mBkSpXjS8xyajbQBS0f8S3eNMjn6ev9 YFAg== X-Gm-Message-State: AD7BkJKkIgDGVhoBFyLdBdPENlshWAUxR1JaKCnWK3zp8rfZW9t2Ad9fa6OEYlLxIctB6J3Wh9bgnDsiHVYRFQ== MIME-Version: 1.0 X-Received: by 10.25.218.148 with SMTP id r142mr6807289lfg.154.1457328618990; Sun, 06 Mar 2016 21:30:18 -0800 (PST) Received: by 10.25.20.164 with HTTP; Sun, 6 Mar 2016 21:30:18 -0800 (PST) In-Reply-To: References: <95563acb-d27b-4d4b-b8f3-afeb87a3d599@me.com> <56D87784.4090103@broken.net> Date: Mon, 7 Mar 2016 13:30:18 +0800 Message-ID: Subject: Re: [zfs] an interesting survey -- the zpool with most disks you have ever built From: Fred Liu To: illumos-zfs Cc: "smartos-discuss@lists.smartos.org" , developer , illumos-developer , omnios-discuss , Discussion list for OpenIndiana , "zfs-discuss@list.zfsonlinux.org" , "freebsd-fs@FreeBSD.org" , "zfs-devel@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2016 05:30:22 -0000 2016-03-05 0:01 GMT+08:00 Freddie Cash : > On Mar 4, 2016 2:05 AM, "Fred Liu" wrote: > > 2016-03-04 13:47 GMT+08:00 Freddie Cash : > >> > >> Currently, I just use a simple coordinate system. Columns are letters, > rows are numbers. > >> "smartos-discuss@lists.smartos.org" >=E3=80=81 > > developer =E3=80=81 > > illumos-developer =E3=80=81 > > omnios-discuss =E3=80=81 > > Discussion list for OpenIndiana =E3= =80=81 > > illumos-zfs =E3=80=81 > > "zfs-discuss@list.zfsonlinux.org" =E3=80= =81 > > "freebsd-fs@FreeBSD.org" =E3=80=81 > > "zfs-devel@freebsd.org" > > >> Each disk is partitioned using GPT with the first (only) partition > starting at 1 MB and covering the whole disk, and labelled with the > column/row where it is located (disk-a1, disk-g6, disk-p3, etc). > > > > [Fred]: So you manually pull off all the drives one by one to locate > them? > > =E2=80=8BWhen putting the system together for the first time, I insert ea= ch disk > one at a time, wait for it to be detected, partition it, then label it > based on physical location.=E2=80=8B Then do the next one. It's just pa= rt of the > normal server build process, whether it has 2 drives, 20 drives, or 200 > drives. > > =E2=80=8BWe build all our own servers from off-the-shelf parts; we don't = buy > anything pre-built from any of the large OEMs.=E2=80=8B > [Fred]: Gotcha! > >> The pool is created using the GPT labels, so the label shows in "zpool > list" output. > > > > [Fred]: What will the output look like? > > =E2=80=8BFrom our smaller backups server, with just 24 drive bays: > > $ zpool status storage > > pool: storage > > state: ONLINE > > status: Some supported features are not enabled on the pool. The pool can > > still be used, but some features are unavailable. > > action: Enable all features using 'zpool upgrade'. Once this is done, > > the pool may no longer be accessible by software that does not support > > the features. See zpool-features(7) for details. > > scan: scrub canceled on Wed Feb 17 12:02:20 2016 > > config: > > > NAME STATE READ WRITE CKSUM > > storage ONLINE 0 0 0 > > raidz2-0 ONLINE 0 0 0 > > gpt/disk-a1 ONLINE 0 0 0 > > gpt/disk-a2 ONLINE 0 0 0 > > gpt/disk-a3 ONLINE 0 0 0 > > gpt/disk-a4 ONLINE 0 0 0 > > gpt/disk-a5 ONLINE 0 0 0 > > gpt/disk-a6 ONLINE 0 0 0 > > raidz2-1 ONLINE 0 0 0 > > gpt/disk-b1 ONLINE 0 0 0 > > gpt/disk-b2 ONLINE 0 0 0 > > gpt/disk-b3 ONLINE 0 0 0 > > gpt/disk-b4 ONLINE 0 0 0 > > gpt/disk-b5 ONLINE 0 0 0 > > gpt/disk-b6 ONLINE 0 0 0 > > raidz2-2 ONLINE 0 0 0 > > gpt/disk-c1 ONLINE 0 0 0 > > gpt/disk-c2 ONLINE 0 0 0 > > gpt/disk-c3 ONLINE 0 0 0 > > gpt/disk-c4 ONLINE 0 0 0 > > gpt/disk-c5 ONLINE 0 0 0 > > gpt/disk-c6 ONLINE 0 0 0 > > raidz2-3 ONLINE 0 0 0 > > gpt/disk-d1 ONLINE 0 0 0 > > gpt/disk-d2 ONLINE 0 0 0 > > gpt/disk-d3 ONLINE 0 0 0 > > gpt/disk-d4 ONLINE 0 0 0 > > gpt/disk-d5 ONLINE 0 0 0 > > gpt/disk-d6 ONLINE 0 0 0 > > cache > > gpt/cache0 ONLINE 0 0 0 > > gpt/cache1 ONLINE 0 0 0 > > > errors: No known data errors > > The 90-bay systems look the same, just that the letters go all the way to > p (so disk-p1 through disk-p6). And there's one vdev that uses 3 drives > from each chassis (7x 6-disk vdev only uses 42 drives of the 45-bay > chassis, so there's lots of spares if using a single chassis; using two > chassis, there's enough drives to add an extra 6-disk vdev). > [Fred]: It looks like the gpt label shown in "zpool status" only works in FreeBSD/FreeNAS. Are you using FreeBSD/FreeNAS? I can't find the similar possibilities in Illumos/Linux. Thanks, Fred > > *illumos-zfs* | Archives > > | > Modify > > Your Subscription >