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!

increase pool ZFS size

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
françois ROLAND
experienced User
experienced User
Posts: 94
Joined: 28 Aug 2013 13:50
Status: Offline

increase pool ZFS size

Post by françois ROLAND »

If I have understand well, I can not add hard drive to a ZFS pool, but I can replace a hard drive by a biger one

Correct?

So, if my ZFS pool is build with 4 HD 1To, I can chang one by one HD with 2To

To be sure and don't break my system, sombody can describ me th complete process to do it?

Many thanks

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: increase pool ZFS size

Post by raulfg3 »

yes, you can replace disk by big ones ( one at time and doing a scrub in each change).

or


You can add another vdev ( if you have 4x1TB in RaidZ1, you can add other 4 disk and have 4x1TB+4x1TB in RaidZ1)
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Eliminateur
Starter
Starter
Posts: 58
Joined: 20 Jul 2012 16:31
Status: Offline

Re: increase pool ZFS size

Post by Eliminateur »

what are the commands to expand the pool once you changed all the drives?.

with the pool set to autoexpand, once we change the final disk will the new size be automagically attained? (ref: http://docs.oracle.com/cd/E19253-01/819 ... index.html )

kenZ71
Advanced User
Advanced User
Posts: 379
Joined: 27 Jun 2012 20:18
Location: Northeast, USA
Status: Offline

Re: increase pool ZFS size

Post by kenZ71 »

I would consider going with 3 X 3TB or maybe 3 X 4TB in a RaidZ2 so you have less disks to power.

Of course the counter point might be smaller drives are less risk due to data being spread among more drives
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz

Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu

françois ROLAND
experienced User
experienced User
Posts: 94
Joined: 28 Aug 2013 13:50
Status: Offline

Re: increase pool ZFS size

Post by françois ROLAND »

so, I unplug my 1To hard drive, plug my new 2To hard drive and use command line : zpool pool1 scrub

nothing more?

or should I put old HD offline, replace it by new and put new one online?

Could you desribe proces for a ZFS dummy like me?

kenZ71
Advanced User
Advanced User
Posts: 379
Joined: 27 Jun 2012 20:18
Location: Northeast, USA
Status: Offline

Re: increase pool ZFS size

Post by kenZ71 »

Step 1 verify backups are current.

Step 2, go here: http://mattwilson.org/?s=zfs
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz

Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu

françois ROLAND
experienced User
experienced User
Posts: 94
Joined: 28 Aug 2013 13:50
Status: Offline

Re: increase pool ZFS size

Post by françois ROLAND »

So

1st step, I replace (one after one) 2 HD 1To in my pool by 2 HD 2To

My pool is ONLINE, but total size didn't change

Maybe is normal and total size will be upgaded when I'm going to replace ALL HD of my pool with 2To HD

Or I forgot something ?

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: increase pool ZFS size

Post by crowi »

Maybe is normal and total size will be upgaded when I'm going to replace ALL HD of my pool with 2To HD
It should grow when you have exchanged all disks, at least after a reboot.
Otherwise go through this:
http://docs.oracle.com/cd/E19253-01/819 ... index.html
and/or this
http://tomasz.korwel.net/2014/01/03/growing-zfs-pool/
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

kenZ71
Advanced User
Advanced User
Posts: 379
Joined: 27 Jun 2012 20:18
Location: Northeast, USA
Status: Offline

Re: increase pool ZFS size

Post by kenZ71 »

Many thanks for these tips!
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz

Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu

Post Reply

Return to “ZFS (only!)”