Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2019 14:33:28 +0000
From:      Norman Gray <Norman.Gray@glasgow.ac.uk>
To:        mike tancsa <mike@sentex.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Adding to a zpool -- different redundancies and risks
Message-ID:  <51F51F8A-4D32-466F-A3A3-90EEA41D3DFA@glasgow.ac.uk>
In-Reply-To: <e2348aff-ea36-e53f-45ff-d0fe52dbd73b@sentex.net>
References:  <6104097C-009B-4E9C-A1D8-A2D0E5FECADF@glasgow.ac.uk> <09b11639-3303-df6b-f70c-6722caaacee7@holgerdanske.com> <5A01F7F7-9326-47E2-BA6E-79A7D3F0889A@glasgow.ac.uk> <e2348aff-ea36-e53f-45ff-d0fe52dbd73b@sentex.net>

index | next in thread | previous in thread | raw e-mail


Mike, hello.

On 12 Dec 2019, at 14:14, mike tancsa wrote:

> On 12/12/2019 7:42 AM, Norman Gray wrote:
>>
>>> 1   The 'zpool create ...' command you used to create the existing
>>> pool.
>> I don't have a note of the exact command, but it would have been
>> something like
>>
>>      zpool create pool raidz2 da{0,1,2,3,4,5,6,7,8} raidz2 da9
>> da1{0,1,2,3,4,5,6,7}
>
> would not
>
>     zpool history
>
> show how it was created ?

It would indeed!  How have I missed this command before?

# zpool history pool
History for 'pool':
2017-08-20.15:45:43 zpool create -m /pool pool raidz2 da2 da3 da4 da5 
da6 da7 da8 da9 da10 raidz2 da11 da12 da13 da14 da15 da16 da17 da18 da19
2017-08-20.18:36:39 zfs create pool/lofar
2017-08-25.16:45:28 zfs create pool/norman
2018-02-05.11:00:00 zfs create pool/mcmath
2018-09-07.12:13:27 zfs set compression=on pool/norman
2018-09-07.12:15:06 zfs set compression=on pool/lofar
2018-09-07.12:15:27 zfs set compression=on pool/mcmath
2018-09-07.12:15:32 zfs set compression=on pool
2018-12-03.12:27:43 zfs create pool/crisp
2019-06-24.16:08:09 zfs set quota=56T pool/lofar
2019-10-31.16:22:13 zpool export pool
2019-10-31.17:37:48 zpool import -a
2019-10-31.17:40:46 zpool export pool
2019-10-31.17:41:21 zpool import -d /dev/label -a

(So I wasn't quite right in my guessed 'create' command, but not too far 
off)

Best wishes (and thanks),

Norman


-- 
Norman Gray  :  https://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51F51F8A-4D32-466F-A3A3-90EEA41D3DFA>