mirror raid

Status
Not open for further replies.

theivper360

Dabbler
Joined
Dec 4, 2015
Messages
10
I am trying to use a mirror raid for my nas. I put a raid card in the system and when I go to volume manager to make a volume the nas will not let me make a volume it keeps giving a error. am I not suppose to use a raid card in free nas. I also seen where in gui where it asked if I want to use a mirror raid does freenas have there own raid software that I am suppose to use? If I do get the riad to work how will I know the raid is working?
 

theivper360

Dabbler
Joined
Dec 4, 2015
Messages
10
So it does use a software raid to mirror. How can i check to see if the other harddrive is copying the files
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
That's not how ZFS works. Just check to see that both disks are part of your pool in a mirror vdev.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
So it does use a software raid to mirror. How can i check to see if the other harddrive is copying the files
If you are concerned that the GUI isn't reporting correctly (or that you don't understand), just run "zpool status" at the command line:

Don't mind the failed disk, just look at the freenas-boot pool and notice the mirror-0 with 2 drives below it.
Code:
[root@freenas2] ~# zpool status
  pool: backup-tank2
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Online the device using 'zpool online' or replace the device with
        'zpool replace'.
  scan: none requested
config:

        NAME                                            STATE     READ WRITE CKSUM
        backup-tank2                                    DEGRADED     0     0     0
          raidz1-0                                      DEGRADED     0     0     0
            gptid/6c9419be-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0
            gptid/6d54648c-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0
            gptid/6e0f6e32-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0
            gptid/6ec82f73-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0
            4440998044591230907                         OFFLINE      0     0     0  was /dev/gptid/9521ba9a-9654-11e5-87db-001f33eaf869
            gptid/9d5448ba-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0

errors: No known data errors

  pool: freenas-boot
state: ONLINE
  scan: scrub repaired 132K in 0h13m with 0 errors on Mon Nov  9 15:21:00 2015
config:

        NAME                                            STATE     READ WRITE CKSUM
        freenas-boot                                    ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            gptid/1c4fbb56-c83f-11e4-ab84-001f33eaf869  ONLINE       0     0     0
            gptid/1caf62bd-c83f-11e4-ab84-001f33eaf869  ONLINE       0     0     0

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

theivper360

Dabbler
Joined
Dec 4, 2015
Messages
10
I got this message does this mean that it is backing up my files
NAME STATE READ WRITE CKS
UM
Data ONLINE 0 0
0
mirror-0 ONLINE 0 0
0
gptid/e054a7de-9aba-11e5-8426-00215a1ef9e5 ONLINE 0 0
0
gptid/e0af101e-9aba-11e5-8426-00215a1ef9e5 ONLINE 0 0
0

errors: No known data errors

pool: freenas-boot
state: ONLINE
scan: none requested
config:

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

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

theivper360

Dabbler
Joined
Dec 4, 2015
Messages
10
If you are concerned that the GUI isn't reporting correctly (or that you don't understand), just run "zpool status" at the command line:

Don't mind the failed disk, just look at the freenas-boot pool and notice the mirror-0 with 2 drives below it.
Code:
[root@freenas2] ~# zpool status
  pool: backup-tank2
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Online the device using 'zpool online' or replace the device with
        'zpool replace'.
  scan: none requested
config:

        NAME                                            STATE     READ WRITE CKSUM
        backup-tank2                                    DEGRADED     0     0     0
          raidz1-0                                      DEGRADED     0     0     0
            gptid/6c9419be-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0
            gptid/6d54648c-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0
            gptid/6e0f6e32-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0
            gptid/6ec82f73-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0
            4440998044591230907                         OFFLINE      0     0     0  was /dev/gptid/9521ba9a-9654-11e5-87db-001f33eaf869
            gptid/9d5448ba-9654-11e5-87db-001f33eaf869  ONLINE       0     0     0

errors: No known data errors

  pool: freenas-boot
state: ONLINE
  scan: scrub repaired 132K in 0h13m with 0 errors on Mon Nov  9 15:21:00 2015
config:

        NAME                                            STATE     READ WRITE CKSUM
        freenas-boot                                    ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            gptid/1c4fbb56-c83f-11e4-ab84-001f33eaf869  ONLINE       0     0     0
            gptid/1caf62bd-c83f-11e4-ab84-001f33eaf869  ONLINE       0     0     0

errors: No known data errors
[root@freenas2] ~# 
I got this message does this mean its backing up my files
NAME STATE READ WRITE CKS
UM
Data ONLINE 0 0
0
mirror-0 ONLINE 0 0
0
gptid/e054a7de-9aba-11e5-8426-00215a1ef9e5 ONLINE 0 0
0
gptid/e0af101e-9aba-11e5-8426-00215a1ef9e5 ONLINE 0 0
0

errors: No known data errors

pool: freenas-boot
state: ONLINE
scan: none requested
config:

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

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

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
If you paste it as "code", it's easier to read. :smile:
 
Status
Not open for further replies.
Top