What's my raid configuration?

Status
Not open for further replies.

hytga

Cadet
Joined
Sep 28, 2015
Messages
2
Hi folks. New to Freenas and very rusty on linux. So i was hoping to get a few answers about my raid configuration on the freenas.

I have two 1TB HDDs on the freenas box, WD Red 1 TB Internal HD ‑ SATA ‑ 4" ‑ WD10EFRX

Since i have barely 1TB available on the box, i'm assuming freenas configured it as a mirror or whatever the equivalent of Raid 1 is. If i understand it correctly... when either of the drives fail, i can just change the failed drive without loosing data?

Here're some commands i was able to put together from reading the forums. A confirmation of my "assumptions" would be appreciated.


Code:
[root@freenas ~]# camcontrol devlist                                         
<WDC WD10EFRX-68FYTN0 82.00A82>    at scbus0 target 0 lun 0 (pass0,ada0)     
<WDC WD10EFRX-68FYTN0 82.00A82>    at scbus1 target 0 lun 0 (pass1,ada1)     
<ADATA USB Flash Drive 0.00>       at scbus3 target 0 lun 0 (pass2,da0)

[root@freenas ~]# zpool list -v                                                                                                 
NAME                                     SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT                      
Pool1                                    928G  4.69G   923G         -     0%     0%  1.00x  ONLINE  /mnt                         
  mirror                                 928G  4.69G   923G         -     0%     0%                                             
    gptid/5ccb80f3-45e0-11e5-aebd-d050997a6aa3      -      -      -         -      -      -                                     
    gptid/5d761c0d-45e0-11e5-aebd-d050997a6aa3      -      -      -         -      -      -                                     
freenas-boot                            14.4G   523M  13.9G         -      -     3%  1.00x  ONLINE  -                           
  da0p2                                 14.4G   523M  13.9G         -      -     3% 



[root@freenas ~]# zpool status -v                                                                                               
  pool: Pool1                                                                                                                   
state: ONLINE                                                                                                                   
  scan: scrub repaired 0 in 0h2m with 0 errors on Sun Sep 27 00:02:16 2015                                                       
config:                                                                                                                         
                                                                                                                                
        NAME                                            STATE     READ WRITE CKSUM                                               
        Pool1                                           ONLINE       0     0     0                                               
          mirror-0                                      ONLINE       0     0     0                                               
            gptid/5ccb80f3-45e0-11e5-aebd-d050997a6aa3  ONLINE       0     0     0                                               
            gptid/5d761c0d-45e0-11e5-aebd-d050997a6aa3  ONLINE       0     0     0                                               
                                                                                                                                
errors: No known data errors                                                                                                     
                                                                                                                                
  pool: freenas-boot                                                                                                             
state: ONLINE                                                                                                                   
  scan: scrub repaired 0 in 0h0m with 0 errors on Wed Sep 23 03:45:38 2015                                                       
config:                                                                                                                         
                                                                                                                                
        NAME        STATE     READ WRITE CKSUM                                                                                   
        freenas-boot  ONLINE       0     0     0                                                                                 
          da0p2     ONLINE       0     0     0                                                                                   
                                                                                                                                
errors: No known data errors



**************

Also. I have weekly snapshots, but i'm unsure if those are actually taking place.

I have snapshots that have Used: 0, Refer: 96kb


But i'm pretty sure that ALOT more data is bing changed weekly than just 96kb. Is there something wrong with my snapshot setup?
 
Last edited:

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
'm assuming freenas configured it as a mirror or whatever the equivalent of Raid 1 is. If i understand it correctly... when either of the drives fail, i can just change the failed drive without loosing data?

Yes, and yes ;)
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
If you have to replace a drive in the future - please follow the directions in the documentation.

We often have users who think they can just yank a drive and replace it. Please RTFM first. :cool:

If i understand it correctly... when either of the drives fail, i can just change the failed drive without loosing data?
 

hytga

Cadet
Joined
Sep 28, 2015
Messages
2
If you have to replace a drive in the future - please follow the directions in the documentation.

We often have users who think they can just yank a drive and replace it. Please RTFM first. :cool:

lol of course.... may be new to freenas, but not that dumb :D

but thanks for the manual pdf link. Would def come in handy.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
It's also quite helpful if you place the output of the commands you ran in code tags to make easier to read.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Also. I have weekly snapshots, but i'm unsure if those are actually taking place.

I have snapshots that have Used: 0, Refer: 96kb


But i'm pretty sure that ALOT more data is bing changed weekly than just 96kb. Is there something wrong with my snapshot setup?

If there's a week where nothing changed, that would be reasonable. Do other snapshots show space used?
 
Status
Not open for further replies.
Top