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!

Create mirror of one disk and another striped pool

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
rookie
NewUser
NewUser
Posts: 1
Joined: 04 Jan 2015 23:14
Status: Offline

Create mirror of one disk and another striped pool

Post by rookie »

Hello,

I have got two 160G hard drives and one 320G hard drive. I would like to assemble them in a mirrored zpool with one copy of the data on the 320G hard drive and the other copy of the data striped between the other two 160G hard drives. Is this possible with zfs?

I guess the zpool would look something like this:

Code: Select all

  pool: tank
 state: ONLINE
  scan: none requested
config:

	NAME              STATE     READ WRITE CKSUM
	tank              ONLINE       0     0     0
	  mirror-0        ONLINE       0     0     0
	    disk320g      ONLINE       0     0     0
	    striped-0     ONLINE       0     0     0
	      disk160g    ONLINE       0     0     0
	      disk160g    ONLINE       0     0     0

errors: No known data errors
In the end, the two 160G hard drives should act like on big 320G hard drive.

User avatar
Lee Sharp
Advanced User
Advanced User
Posts: 251
Joined: 13 May 2013 21:12
Contact:
Status: Offline

Re: Create mirror of one disk and another striped pool

Post by Lee Sharp »

Yes, but you are actually increasing your chances of a drive failure knocking you out. If either 160G fails, you loose the entire stripe. But it is doable.

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

Re: Create mirror of one disk and another striped pool

Post by ChriZathens »

Not 100% sure (haven't done it - perhaps I will test it in a vm when I have some time) but I believe you cannot mirror two stripes... You can stripe two mirrors, however.. (but not this case here)
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)

Post Reply

Return to “ZFS (only!)”