SOLVED how to check what RAID is used?

Status
Not open for further replies.

dirkme

Contributor
Joined
Jul 19, 2017
Messages
162
I know it sounds silly, I might have already the answer, but need to have some knowledgeable person telling me to confirm ;-)

Thanks a lot for all your help ;-)

Dirk
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
What's an rtaid?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
First, some terminology: What you're looking for is the pool's layout.

That is easily obtained by looking at the relevant section of the GUI or by running zpool status.
 

dirkme

Contributor
Joined
Jul 19, 2017
Messages
162
First, some terminology: What you're looking for is the pool's layout.

That is easily obtained by looking at the relevant section of the GUI or by running zpool status.
zpool status (in terminal), didn't let me know what raid is used like z1 or z5, I found a z1 on the FreeNAS interface at volumes.

There it says: raidz1-0 (0 is most-likely the first disk)
 
Last edited by a moderator:

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
You should have seen raidz1-0 listed when you issued the zpool status command.

the "-0" designation is for your first vdev. A pool can be composed of one or more vdev's. The second one would have a "-1" and so on.

Please post your results from zpool status in code tags.

There it says: raidz1-0 (0 is most-likely the first disk)
 

dirkme

Contributor
Joined
Jul 19, 2017
Messages
162
You should have seen raidz1-0 listed when you issued the zpool status command.

the "-0" designation is for your first vdev. A pool can be composed of one or more vdev's. The second one would have a "-1" and so on.

Please post your results from zpool status in code tags.
Code:
root@voyager:~ #  zpool status
  pool: freenas-boot
state: ONLINE
  scan: scrub repaired 0 in 0h13m with 0 errors on Tue Oct 10 03:58:54 2017
config:

   NAME  STATE  READ WRITE CKSUM
   freenas-boot  ONLINE  0  0  0
	mirror-0  ONLINE  0  0  0
	da0p2  ONLINE  0  0  0
	da1p2  ONLINE  0  0  0

errors: No known data errors

  pool: trustme
state: ONLINE
  scan: scrub repaired 0 in 5h28m with 0 errors on Sun Oct  1 05:28:58 2017
config:

   NAME  STATE  READ WRITE CKSUM
   trustme  ONLINE  0  0  0
	raidz1-0  ONLINE  0  0  0
	gptid/2976288a-877a-11e7-9bb5-bc5ff4ac2b1d.eli  ONLINE  0  0  0
	gptid/2a5e94f3-877a-11e7-9bb5-bc5ff4ac2b1d.eli  ONLINE  0  0  0
	gptid/2ba0dc85-877a-11e7-9bb5-bc5ff4ac2b1d.eli  ONLINE  0  0  0
	gptid/2c5475df-877a-11e7-9bb5-bc5ff4ac2b1d.eli  ONLINE  0  0  0

errors: No known data errors
root@voyager:~ #



Oh, now I see it (embarrassing)

Does that mean it is 4 drives mirrored instead of raid 5 (3 drives for space and 1 for redundancy)
 
Last edited by a moderator:

CraigD

Patron
Joined
Mar 8, 2016
Messages
343
Not mirrored, you have a single drive failure tolerance

Have Fun
 

dirkme

Contributor
Joined
Jul 19, 2017
Messages
162
Not mirrored, you have a single drive failure tolerance

Have Fun
Thanks a lot, I was afraid I had them mirrored.

How come it says z1, shouldn't it say z5?
 
Last edited by a moderator:

CraigD

Patron
Joined
Mar 8, 2016
Messages
343
The number after the z is the number of drive that can fail without data loss
 
Last edited by a moderator:

dirkme

Contributor
Joined
Jul 19, 2017
Messages
162
Wow, thanks a lot, I didn't know this.

Thanks a lot :)
 
Last edited by a moderator:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
How come it says z1, shouldn't it say z5?
...and there is no such thing as RAIDZ5. You're thinking of RAID5, which is kind of similar, but fundamentally different.
 

CraigD

Patron
Joined
Mar 8, 2016
Messages
343

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Not yet but I'm sure it will in the next 3 years
The new parity de-clustered ZFS RAID is really weird. It's being called DRAID in some of the preliminary documentation. Don't know what it will be called when it's finally released.
 

dirkme

Contributor
Joined
Jul 19, 2017
Messages
162
The new parity de-clustered ZFS RAID is really weird. It's being called DRAID in some of the preliminary documentation. Don't know what it will be called when it's finally released.
thanks for the info.
 
Status
Not open for further replies.
Top