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!

RAIDZ Expansion - 4k Alignment

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Con7undrum
NewUser
NewUser
Posts: 8
Joined: 08 Dec 2013 18:18
Status: Offline

RAIDZ Expansion - 4k Alignment

Post by Con7undrum »

Situation -
4x 2GB Disks in RAIDZ
2x SSD ZIL Mirrored

I'd like to expand the RAIDZ Pool by one disk but am not sure how I align the single disk to add it to the pool. I aligned the existing pool by creating the nops, exporting the pool, destroying the nops and then reimporting the pool (rough description...it's been a while and I believe that's what I ended up doing). Any ideas as to how I can maintain the 4k alignment and expand the pool? am I over thinking it?

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: RAIDZ Expansion - 4k Alignment

Post by ChriZathens »

If you add one single drive to your pool, you will lose redundancy.
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

Con7undrum
NewUser
NewUser
Posts: 8
Joined: 08 Dec 2013 18:18
Status: Offline

Re: RAIDZ Expansion - 4k Alignment

Post by Con7undrum »

If I added 2 disks then?

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: RAIDZ Expansion - 4k Alignment

Post by b0ssman »

yes you an create a mirror vdev and add it to the pool.

if one of the vdevs dies you loose the entire pool.

this will happen if 2 drives in the raidz1 die or 2 drives in the mirror.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

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

Re: RAIDZ Expansion - 4k Alignment

Post by raulfg3 »

Con7undrum wrote:If I added 2 disks then?
Please read this powerpoint, because how to expand is very well explained: http://forums.freenas.org/index.php?thr ... oobs.7775/
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

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

Re: RAIDZ Expansion - 4k Alignment

Post by crowi »

Basically you do the same:
1) create the drives (gpart create -s gpt adaX (for your two (!) drives))
2) create the 4k partitions/format with zfs and 4k
3) create gnops of both drives with the 4096 stripeset
4) create a mirror vdev and add it to the pool
5) export the pool
6) destroy the *.nops
7) import the 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

Post Reply

Return to “ZFS (only!)”