Sanity Check, Raidz size

Status
Not open for further replies.

Peter Bowler

Dabbler
Joined
Dec 18, 2011
Messages
21
Howdy,
Longtime .7.2 user, newish to 8.2

Quick sanity check on my setup.
I know about rounding errors/Marketing gimmicks on Drive sizes, abd I understand that RaidZ costs 1/n, so I should have roughly 2.7TBs

I forget exactly how ZFS reports size, can someone make sure I'm not nuts? 1.89 used + 722 avail = 2.6. but the WUI for storage shows 10 Megs used. I assume that when I create a ZFS Volume it takes the total max size out of the usable size from the root, but the WUI doesn't give me any info about the used sizes of the ZFS Vols...

can someone smarter than me remind/educate me?

thanks


4 1TB Drives in a Raidz
Code:
[root@freenas] ~# zfs list
NAME                    USED  AVAIL  REFER  MOUNTPOINT
TryStor1               1.89T   722G  10.5M  /mnt/TryStor1
TryStor1/Backup         383G  1022G  83.3G  -
TryStor1/TryFinance    20.6G   726G  7.09G  -
TryStor1/TryMacStore1   500G  1.19T   105K  -
TryStor1/ZFS1           480G   922G   280G  -
TryStor1/ePDMData       552G   922G   277G  -



Code:
Volume	          Path	                            Used	     Available	Size	Status	Available actions
TryStor1	/dev/zvol/TryStor1/ZFS1	-	-	200G	-	


TryStor1	/dev/zvol/TryStor1/TryMacStore1	-	-	500G	-	


TryStor1	/dev/zvol/TryStor1/ePDMData	-	-	200G	-	


TryStor1	/dev/zvol/TryStor1/Backup	-	-	300G	-	


TryStor1	/dev/zvol/TryStor1/TryFinance	-	-	5G	-	


TryStor1	 /mnt/TryStor1	 10.5 MiB (0%)	 721.8 GiB	 721.8 GiB	 HEALTH



8-15-2012 11-04-45 AM.jpg


I have snapshots being taken automatically so I know that consumes space, I'm just trying to make sure there wasn't an issue when i created the RAIDZ
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
If you do zpool status and it shows something like below then all is working correctly.

Code:
  pool: RAIDZ_Test
 state: ONLINE
 scrub: none requested
config:

        NAME                                            STATE     READ WRITE CKS                      UM
        RAIDZ_Test                                      ONLINE       0     0                           0
          raidz1                                        ONLINE       0     0                           0
            gptid/268ab9b1-e6ed-11e1-a308-080027dca80b  ONLINE       0     0                           0
            gptid/26bd0a23-e6ed-11e1-a308-080027dca80b  ONLINE       0     0                           0
            gptid/26eff9b0-e6ed-11e1-a308-080027dca80b  ONLINE       0     0                           0

errors: No known data errors
[root@freenas] ~#



The BOLD is what you should be looking at to verify you are indeed a RAIDZ1
 

Peter Bowler

Dabbler
Joined
Dec 18, 2011
Messages
21
Code:
[root@freenas] ~# zpool status
  pool: TryStor1
 state: ONLINE
 scrub: scrub completed after 2h45m with 0 errors on Tue Aug 14 19:48:38 2012
config:

        NAME        STATE     READ WRITE CKSUM
        TryStor1    ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            ada0p2  ONLINE       0     0     0
            ada3p2  ONLINE       0     0     0
            ada2p2  ONLINE       0     0     0
            ada1p2  ONLINE       0     0     0

errors: No known data errors
[root@freenas] ~#


What about the data amounts, that's really what my question is
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I know about rounding errors/Marketing gimmicks on Drive sizes, abd I understand that RaidZ costs 1/n, so I should have roughly 2.7TBs

That's where the rest of your missing space went. Everything is fine. :)
 

Peter Bowler

Dabbler
Joined
Dec 18, 2011
Messages
21
Ok cool,
So when I create a ZFS Volume it reduces the available storage from /mnt ad allots it to /dev...

is there some trick to getting the Used and Available columns to provide actual data?
 
Status
Not open for further replies.
Top