raidz question

Added by Scott Shupe 11 months ago

I'm new to this forum but have been doing ZFS since OpenSolaris 8(?) so not a newbie.

There is one thing in nexenta that has me absolutely stumped. In the old days, you would create what was called a raidz-1

1TB disk + 1TB disk + 1TB disk = 2TB raidz-1 . And don't kill me for comparing it to a RAID5, i understand the differences. The similarity is that a 3 disk raid of 1TB disks = 2TB raid5. This is the size i'm expecting from my raidz-1, and it's what i used to get in OpenSolaris. I have successfully done this before.

No matter what i do in Nexenta, it's ALWAYS a stripe. 3 1TB drives = 3TB raidz . 5 1TB drives = 5TB raidz .

I've tried from GUI, i've tried from CLI. it's ALWAYS a stripe.

Am i being faked out by the size presented to me ( i'm NOT losing a disk to parity ). Or am i creating it wrong?

I only recently figured out how to create a raid10 in Nexenta, and i would have never figured it out by the GUI. I needed an online hint. So i'm guessing i'm setting it up wrong.

I'm sure i'll be proven extra dumb on this one, but it's a big problem because i'm forced to raid at the hardware level until somebody straightens me out.

Thank You


Replies

RE: raidz question - Added by Dan Swartzendruber 11 months ago

You are doing 'zpool create foo disk1 disk2 disk3'?

RE: raidz question - Added by Dan Swartzendruber 11 months ago

Dan Swartzendruber wrote:

You are doing 'zpool create foo raidz disk1 disk2 disk3'?

RE: raidz question - Added by Linda Kateley 11 months ago

So the nexenta tool gives 2 different quantities, one is for the raw space, which is what you will see with volumes and the other is usable which is what you will see when you create folders. In 4.0 we are going to terminology that maps better to zfs terms of pools and datasets.

In the volume creation the size is the total of raw disk

RE: raidz question - Added by Scott Shupe 11 months ago

Thank you everybody. Yes, that's how i was creating them 'zpool create foo disk1 disk2 disk3'

And yes, it was a big fake out. Because when i created the "folder" as Linda suggested... that showed the correct size. This concept of showing "raw disk" size of a raid is new to me, and i was confused. I was sure it was a stripe based on the size.

As somebody with a history with ZFS and an even longer history with RAID, i spent/wasted a bunch of time on this. So thanks for straightening me out. If version 4 shows a more representative size for the riadz, that would be welcome. I'm probably not the only one who got faked out. In fact, i talked to a big time Nexenta Guru who was just as confused as i was.

Now i can get away from hardware raid, because i know that prevents me from using all of Nexenta's Secret Sauce ( healing, no write-hole, caching, etc )

Thanks Everybody!!

"You are technically correct. The BEST KIND of correct." - Futurama

RE: raidz question - Added by Dan Swartzendruber 11 months ago

I am confused now. When I typed my message, I meant to say 'zpool create pool raidz disk1 disk2 disk3', not 'zpool create pool disk1 disk2 disk3'. The former creates a 3-disk raidz1, the latter a non-redundant vdev. Are you saying you in fact did 'zpool create pool disk1 disk2 disk3' and therefore got a non-redundant pool?

RE: raidz question - Added by Scott Shupe 11 months ago

While i have tried everything, i usually did it from the GUI ( once i realized that creating from CLI didn't help ).

I'd have to go back and pull my exact command, i just copied and pasted what you wrote thinking it was 'zpool create (name) disk1 disk2 disk3'