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!

Raidz1 and striping it

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
camarowheels
NewUser
NewUser
Posts: 7
Joined: 13 Dec 2014 18:45
Location: Oklahoma, USA
Status: Offline

Raidz1 and striping it

Post by camarowheels »

Currently got three x 1TB in a raidz1 and running outta space.

My question. Can I add another three 1 TB HDDs in raidz1 and stripe that or would it be best to store everything on an external and do it like that?
Lenovo Thinkserver TS140
10.3.0.3 - Pilingitam (revision 3379)
FreeBSD 10.3-RELEASE-p15 #0 r311047M: Mon Jan 2 09:34:34 CET 2017
x64-embedded on Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz + 4 GB ECC
3 x 1TB + 3 x 320 GB in raidz1

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

Re: Raidz1 and striping it

Post by crowi »

yes, you can add other vdevs to a pool.

Code: Select all

zpool add yourpool raidz adaX adaY adaZ
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

User avatar
camarowheels
NewUser
NewUser
Posts: 7
Joined: 13 Dec 2014 18:45
Location: Oklahoma, USA
Status: Offline

Re: Raidz1 and striping it

Post by camarowheels »

OK thanks but I just want to be sure we're clear. I'm looking at going from just a raidz1 to a striped raidz1. Like a raid50. Is that possible with your code provided?
Lenovo Thinkserver TS140
10.3.0.3 - Pilingitam (revision 3379)
FreeBSD 10.3-RELEASE-p15 #0 r311047M: Mon Jan 2 09:34:34 CET 2017
x64-embedded on Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz + 4 GB ECC
3 x 1TB + 3 x 320 GB in raidz1

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

Re: Raidz1 and striping it

Post by raulfg3 »

every vdev that you add is striped with your existing vdev.

please read more about how to work ZFS: https://forums.freenas.org/index.php?th ... 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
camarowheels
NewUser
NewUser
Posts: 7
Joined: 13 Dec 2014 18:45
Location: Oklahoma, USA
Status: Offline

Re: Raidz1 and striping it

Post by camarowheels »

Sorry for being such a noob but I'm not less than the average noob. I understand your pool can be striped and the vdevs in it can be striped both top level and physical but my question is about adding another top level vdev without offloading my data first to avoid data loss . Sorry for the noob talk but I think y'all experts will be able to communicate to me better with the layout below.

Like for instance I've got "Tank" for the root vdev and in tank right now I got one top level vdev "Backups" which contains three physical vdevs in a raidz1. Like Tank : Backups : raidz1
I want to add another 3 physical vdevs in the same top level vdev in a raidz1.

Can I add another top level vdev and make something like Tank : Backups : raidz1 + the raidz 1
from my existing setup
Tank : Backups : raidz1
Lenovo Thinkserver TS140
10.3.0.3 - Pilingitam (revision 3379)
FreeBSD 10.3-RELEASE-p15 #0 r311047M: Mon Jan 2 09:34:34 CET 2017
x64-embedded on Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz + 4 GB ECC
3 x 1TB + 3 x 320 GB in raidz1

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

Re: Raidz1 and striping it

Post by crowi »

So "Tank" is your Poolname and "Backups" is your Dataset?
Can I add another top level vdev and make something like Tank : Backups : raidz1 + the raidz 1
Yes, this is the purpose for the POOL, you can add as many vdevs (single disks (not recommended), mirrors, RAIDZx) as you want.
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

User avatar
camarowheels
NewUser
NewUser
Posts: 7
Joined: 13 Dec 2014 18:45
Location: Oklahoma, USA
Status: Offline

Re: Raidz1 and striping it

Post by camarowheels »

Thanks. I just didn't want to destroy my data.
Lenovo Thinkserver TS140
10.3.0.3 - Pilingitam (revision 3379)
FreeBSD 10.3-RELEASE-p15 #0 r311047M: Mon Jan 2 09:34:34 CET 2017
x64-embedded on Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz + 4 GB ECC
3 x 1TB + 3 x 320 GB in raidz1

nick6
NewUser
NewUser
Posts: 7
Joined: 10 Oct 2014 13:30
Status: Offline

Re: Raidz1 and striping it

Post by nick6 »

Only new data written after the second VDEV is added will be striped between the two VDEVs. Adding a VDEV doesn't re-write and stripe the existing data, but it isn't difficult to do so.

However, before tinkering with a pool, you should ALWAYS have a backup of the existing data just in case you make an error when adding the new VDEV.

Triple-check your commands before adding a VDEV to a pool. Once it is added, it cannot be removed without rebuilding the entire pool.

User avatar
camarowheels
NewUser
NewUser
Posts: 7
Joined: 13 Dec 2014 18:45
Location: Oklahoma, USA
Status: Offline

Re: Raidz1 and striping it

Post by camarowheels »

crowi wrote:
16 Sep 2016 07:43
So "Tank" is your Poolname and "Backups" is your Dataset?
Can I add another top level vdev and make something like Tank : Backups : raidz1 + the raidz 1
Yes, this is the purpose for the POOL, you can add as many vdevs (single disks (not recommended), mirrors, RAIDZx) as you want.
Thanks. Since this last post I've got a little more understanding of the pool structure. I have a thread in hardware if you wouldn't mind taking a look. I'd appreciate it.
Lenovo Thinkserver TS140
10.3.0.3 - Pilingitam (revision 3379)
FreeBSD 10.3-RELEASE-p15 #0 r311047M: Mon Jan 2 09:34:34 CET 2017
x64-embedded on Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz + 4 GB ECC
3 x 1TB + 3 x 320 GB in raidz1

User avatar
camarowheels
NewUser
NewUser
Posts: 7
Joined: 13 Dec 2014 18:45
Location: Oklahoma, USA
Status: Offline

Re: Raidz1 and striping it

Post by camarowheels »

nick6 wrote:
12 Oct 2016 16:49
Only new data written after the second VDEV is added will be striped between the two VDEVs. Adding a VDEV doesn't re-write and stripe the existing data, but it isn't difficult to do so.

However, before tinkering with a pool, you should ALWAYS have a backup of the existing data just in case you make an error when adding the new VDEV.

Triple-check your commands before adding a VDEV to a pool. Once it is added, it cannot be removed without rebuilding the entire pool.
Is there a tutorial you know if I could study for this delima? I'd really like all data across my new disks. If that's more advantageous than a separate vdev with my 3 new HDDs. Thanks in advance.
Lenovo Thinkserver TS140
10.3.0.3 - Pilingitam (revision 3379)
FreeBSD 10.3-RELEASE-p15 #0 r311047M: Mon Jan 2 09:34:34 CET 2017
x64-embedded on Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz + 4 GB ECC
3 x 1TB + 3 x 320 GB in raidz1

Post Reply

Return to “ZFS (only!)”