RAID 0 with different volumes

Status
Not open for further replies.

alacaza

Cadet
Joined
Oct 24, 2017
Messages
8
Hello everybody, I have a virtual machine with FreeNAS 11 installed on Virtual Box. I created that for doing experiments and learning to manage this OS.
As far as I know, if we build a RAID 0 with drives with different sizes, RAID would only take, from every drive, the equivalent storage to the size of the smallest drive.
However, I made some experiments and I achieved:
- Create a RAID 0 with two different volumes. The storage of the RAID 0 is the total sum of the two drives.

3t5s4zJ6jY_n5uBDIjZdCAiR9yMtPrktvtk8wFWYZPqaq4Oh4-rN5ryl-B0XhzHQRsuZnvL3dvtBISmaNV_M8GSDbeGApntxGW07YLllaeLgQmUixcowPT__GHh6T8qxTb03zkqz


OhSXTKAeElDgK_jttYeYT_WwNhZU7alm5LTA744kycb8jRlv2iwyO5UtRvfXpIL2sQmZg-t-EEaWKSWIkOVggZXn0ulYhDu7SjINj-oIadOHAjdGqSgoXeVBHsyoIA9xTZ8N4ssX


ZNtejGPrJpbBReca4RhAx-INE8d4ZY3h846GYLHCoyjMEXiRghPkt3OyWH8BaPC6bdrwwg1GX6Qf1GtOhKDjtGkDmlgMQ1KFffe7uUCHBd5pez4KEpCooy_RTtMr7n7uG-5Txf0p



- Expand a RAID 0 originally composed by two drives and add up the total storage of a third drive.

phP_QmqO0GqgHQHXWdZGb2zn-r3CO7ZZk56SGJO-j1dpkv43Ql3yXaSu5W8wVDaGVsUIAosZUGtucTtwMTNaH5lT6PbmtoOfK7EjqEvUjU0YQOSEe2rPwX6-cqRsaIN5-Bn_WQlb


SRPAE8_nMnajyw2HRMbRDNDQTTOIpqYOXsilj6sLsAOIVIeTyhJmJdnKMKe5IVx9JLRiOen150sXisYW5pwSUjzJrYYMtfiGxIXpaFKi2iNp5-aJaO6AkcAY3EC4oqIbOq4IjnbC

z0g4pMUpqSewuVNNW_C2RVQ8dWviLEyGUPDEXodwHJ1t16DjcIG_l1dIMxPu6QnIwoqowL6_I4vB7VroXGj7au3W95R3ZGLLfyrC84coI75-Lv3BB0p1pqQYxTpoyJOp1r6YBrxC


How is that possible?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Create a RAID 0 with two different volumes.
You didn't create a RAID0. FreeNAS doesn't do RAID 0. FreeNAS does striped volumes. What you're seeing is exactly what's expected.
 

alacaza

Cadet
Joined
Oct 24, 2017
Messages
8
Ok. I get it. FreeNAS called them striped volumes, but...they are practically the same, aren't they? I mean, the result is quite similar, even better because we don't have any limitation when we want to expand our striped volume.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
they are practically the same, aren't they?
I guess that depends on what you mean by "practically the same." If you mean that you have a group of disks together with no redundancy, and that data is spread across them, yes. But ZFS dynamic striping works quite differently from RAID0.
 

alacaza

Cadet
Joined
Oct 24, 2017
Messages
8
Actually, when I've googled about this topic, I found that there are many sites where the two terms are used interchangeably. So, please, could you recommend me some references about the difference between ZFS dynamic striping and RAID0?
Thanks in advance.
 

alacaza

Cadet
Joined
Oct 24, 2017
Messages
8
Sorry, but I've seen this just now in the FreeNAS User Guide.
p0sEfrbs65dVMQmEUl4-lvT_7o7kdEazpTbpI4eERpmurKnuyZLcpEel63g7DFekW8x_kozPLL5NOeaOz_LUsC6idvduNwOafMiD92nibPCkPM73V9dU3uslRfhByGzIKu7bCKK2


So, I've two questions:
- Is usable the whole storage of the pool I've been creating in the earlier images? Or just the size of the smallest disk x 2 disks?
- What happens with the rest of the storage of the bigger disk that is not usable?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
So, I've two questions:
- Is usable the whole storage of the pool I've been creating in the earlier images? Or just the size of the smallest disk x 2 disks?
- What happens with the rest of the storage of the bigger disk that is not usable?
If you are looking for a solution that has no redundancy.
I just want to ensure you understand that.
The data will be striped across the available disks, but if any disk in the set fails, you loose access to all the data.
 

alacaza

Cadet
Joined
Oct 24, 2017
Messages
8
Ok, I think I've understood. Manual setup on FreeNAS allows you to stripe your data across the available disks and use the whole storage of the different disks that compose the ZFS pool for that. But, like a RAID 0 system, you don't have any kind of fault tolerance on that layout.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Novice FreeNAS users should not use the manual setup button. Far too many have messed up their pool layout, by using the feature.

For example, one can use it to stripe a single disk to a RAIDZ2 pool. Instead of being able to withstand the loss of two disks, should that new single disk fail, they lose everything.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Status
Not open for further replies.
Top