This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Growing a ZFS raidZ pool
-
danzi
- Starter

- Posts: 66
- Joined: 11 Nov 2012 23:24
- Location: Budapest
- Status: Offline
Growing a ZFS raidZ pool
Ok, here's the deal.
3x1.5 Tb disks in a raidZ1 config. I wish to grow it. I know that one could replace drives one by one and re-silver every time a disk gets replaced.
My idea is to buy one disk at a time - I know this would only grow the pool once I get the last 1.5 Tb drive replaced... however, I am thinking of buying drives say every 6 month. Here's the pattern:
1.5 1.5 1.5 = useable space ~3 Tb
1.5 1.5 2.0 = useable space ~3 Tb
1.5 3.0 2.0 = useable space ~3 Tb
4.0 3.0 2.0 = useable space ~4 Tb
and this way gradually grow every time replacing the smallest disk with the best value... mind you at the time I think the 3Tb Red NAS is the best value for money. But I do not plan to buy 3 of them all at once.
Any pros and cons regarding the above?
Makes sense? Or stupid thing?
Thanks
D.
3x1.5 Tb disks in a raidZ1 config. I wish to grow it. I know that one could replace drives one by one and re-silver every time a disk gets replaced.
My idea is to buy one disk at a time - I know this would only grow the pool once I get the last 1.5 Tb drive replaced... however, I am thinking of buying drives say every 6 month. Here's the pattern:
1.5 1.5 1.5 = useable space ~3 Tb
1.5 1.5 2.0 = useable space ~3 Tb
1.5 3.0 2.0 = useable space ~3 Tb
4.0 3.0 2.0 = useable space ~4 Tb
and this way gradually grow every time replacing the smallest disk with the best value... mind you at the time I think the 3Tb Red NAS is the best value for money. But I do not plan to buy 3 of them all at once.
Any pros and cons regarding the above?
Makes sense? Or stupid thing?
Thanks
D.
----------------------------------------------
Dell T130 - 32Gb ECC - ESXi 6.7
VM Full Instal - 11.2.0.4 - Omnius (revision 6005)
HP/LSI 9121-4i SAS2008 Pass Through mode
2 x 2Tb ZFS mirror
1 x 3Tb UFS
----------------------------------------------
Dell T130 - 32Gb ECC - ESXi 6.7
VM Full Instal - 11.2.0.4 - Omnius (revision 6005)
HP/LSI 9121-4i SAS2008 Pass Through mode
2 x 2Tb ZFS mirror
1 x 3Tb UFS
----------------------------------------------
- mooblie
- experienced User

- Posts: 85
- Joined: 23 Jun 2012 13:31
- Location: The Highlands, Scotland
- Contact:
- Status: Offline
Re: Growing a ZFS raidZ pool
I believe I read that the 3TB WD Reds had some reliability issues, that were NOT present in the 1, 2 and 4 TB models. I would go for 4TB drives as replacements if I were you (IMHO!) - especially as the price will fall over the 18 months you plan to buy them.
In my own case, I bought 4 x used 1TB WD Red drives at about £30 GBP each, to replace a mixed selection of 4 x 0.5TB drives - worked a treat! and cheap too! SMART reports no errors at all.
(BTW: I use an HP N40L - the arch-rival to the Dell T20 !! - although I see in another thread about slow transfers, you have a Xeon CPU - very envious !!! )
In my own case, I bought 4 x used 1TB WD Red drives at about £30 GBP each, to replace a mixed selection of 4 x 0.5TB drives - worked a treat! and cheap too! SMART reports no errors at all.
(BTW: I use an HP N40L - the arch-rival to the Dell T20 !! - although I see in another thread about slow transfers, you have a Xeon CPU - very envious !!! )
Martin
-
danzi
- Starter

- Posts: 66
- Joined: 11 Nov 2012 23:24
- Location: Budapest
- Status: Offline
Re: Growing a ZFS raidZ pool
I have az HP Micorserver N40L - this is what I replaced it with. I plan to use that for something elsemooblie wrote: (BTW: I use an HP N40L - the arch-rival to the Dell T20 !! - although I see in another thread about slow transfers, you have a Xeon CPU - very envious !!! )
Hm, will read on, never seen the Red NAS series to have any issues. I need to start getting new drives soon, my old ones I don't even dare to say how old they are or what brand...
----------------------------------------------
Dell T130 - 32Gb ECC - ESXi 6.7
VM Full Instal - 11.2.0.4 - Omnius (revision 6005)
HP/LSI 9121-4i SAS2008 Pass Through mode
2 x 2Tb ZFS mirror
1 x 3Tb UFS
----------------------------------------------
Dell T130 - 32Gb ECC - ESXi 6.7
VM Full Instal - 11.2.0.4 - Omnius (revision 6005)
HP/LSI 9121-4i SAS2008 Pass Through mode
2 x 2Tb ZFS mirror
1 x 3Tb UFS
----------------------------------------------
- mooblie
- experienced User

- Posts: 85
- Joined: 23 Jun 2012 13:31
- Location: The Highlands, Scotland
- Contact:
- Status: Offline
Re: Growing a ZFS raidZ pool
I think the survey I was thinking of is here:
https://www.backblaze.com/blog/hard-dri ... r-q2-2015/
Maybe it was Seagate 3TB to avoid!
https://www.backblaze.com/blog/hard-dri ... r-q2-2015/
Maybe it was Seagate 3TB to avoid!
Martin
-
danzi
- Starter

- Posts: 66
- Joined: 11 Nov 2012 23:24
- Location: Budapest
- Status: Offline
Re: Growing a ZFS raidZ pool
Actually I read that the 3Tb WDs have 2 platters, but only 3 heads. The 4th head is replaced with a little balance piece. This makes it assymmetrical and actually quite bad for any non-symmetric setups.
On the other hand, I was wondering, If I would go and replace these 1.5 Tb drives one by one with 3 Tb disks, I'd lose the 4k option straight away, correct? That would only work if I were to format the 3 new drives and create a new pool...
On the other hand, I was wondering, If I would go and replace these 1.5 Tb drives one by one with 3 Tb disks, I'd lose the 4k option straight away, correct? That would only work if I were to format the 3 new drives and create a new pool...
----------------------------------------------
Dell T130 - 32Gb ECC - ESXi 6.7
VM Full Instal - 11.2.0.4 - Omnius (revision 6005)
HP/LSI 9121-4i SAS2008 Pass Through mode
2 x 2Tb ZFS mirror
1 x 3Tb UFS
----------------------------------------------
Dell T130 - 32Gb ECC - ESXi 6.7
VM Full Instal - 11.2.0.4 - Omnius (revision 6005)
HP/LSI 9121-4i SAS2008 Pass Through mode
2 x 2Tb ZFS mirror
1 x 3Tb UFS
----------------------------------------------
- mooblie
- experienced User

- Posts: 85
- Joined: 23 Jun 2012 13:31
- Location: The Highlands, Scotland
- Contact:
- Status: Offline
Re: Growing a ZFS raidZ pool
I don't know about that. Hopefully someone else here will jump in...
Martin
-
garyc57
- NewUser

- Posts: 6
- Joined: 12 Jun 2014 04:01
- Location: Mesa, AZ
- Status: Offline
Re: Growing a ZFS raidZ pool
Danzi,
Like you, I've read for YEARS that ZFS will automatically expand when adding larger drives. As you were saying...
However, the other day, I was playing with a test server, trying this very concept. When I offline-ed the smallest drive, and replaced it with a larger one, then did aI was surprised to see the pool size didn't automatically expand.
I googled the issue and discovered something I hadn't seen before. The set autoexpand command. So, I did a:
...fully expecting the pool size to recalculate. It didn't. More googling. I then read I needed to:
TaDa! The pool size increased. I then replaced the next smaller drive with a larger drive, using the offline/online -e commands, and the pool size automatically expanded.
Now, I'm not sure if just the -e parameter is needed, or if one needs both the autoexpand AND the -e parameter, for the pool size to increase. I'll leave that as an exercise for the student.
Gary
Like you, I've read for YEARS that ZFS will automatically expand when adding larger drives. As you were saying...
when that third drive gets replaced with a larger drive, the pool will become larger.4.0 3.0 2.0 = useable space ~4 Tb
However, the other day, I was playing with a test server, trying this very concept. When I offline-ed the smallest drive, and replaced it with a larger one, then did a
Code: Select all
zpool replace tank <a big number> <drive> I googled the issue and discovered something I hadn't seen before. The set autoexpand command. So, I did a:
Code: Select all
zpool set autoexpand=on tankCode: Select all
zpool online -e tank <drive>Now, I'm not sure if just the -e parameter is needed, or if one needs both the autoexpand AND the -e parameter, for the pool size to increase. I'll leave that as an exercise for the student.
Gary
-
sleid
- PowerUser

- Posts: 774
- Joined: 23 Jun 2012 07:36
- Location: FRANCE LIMOUSIN CORREZE
- Status: Offline
Re: Growing a ZFS raidZ pool
autoexpand ON BEFORE replacing the first disk, the pool size automatically expanded.
If autoexpand is OFF BEFORE replacing the first disk, online-e is necessary for the pool size to increase.
If autoexpand is OFF BEFORE replacing the first disk, online-e is necessary for the pool size to increase.
12.1.0.4 - Ingva (revision 7852)
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX
-
garyc57
- NewUser

- Posts: 6
- Joined: 12 Jun 2014 04:01
- Location: Mesa, AZ
- Status: Offline
Re: Growing a ZFS raidZ pool
sleid,
Thanks for the clarification. That makes perfect sense.
Thanks for the clarification. That makes perfect sense.
-
Chucko
- Starter

- Posts: 27
- Joined: 18 Jan 2016 09:48
- Location: Silicon Valley, CA, USA
- Status: Offline
Re: Growing a ZFS raidZ pool
Backblaze's drive data page is here: https://www.backblaze.com/b2/hard-drive-test-data.html
This has links to all their drive reliability articles and most recent data. I bought 6 Seagate 4 TB drives based on their statistics.
This has links to all their drive reliability articles and most recent data. I bought 6 Seagate 4 TB drives based on their statistics.