Been using FreeNAS for a while now. Started with v8.x and am now at 9.2.1.5. I'm starting to run out of space and am planning my first disk upgrade. I was hoping that someone could review my approach and tell me if I'm on the right path.
My objective is to add another 3TB drive to one side of mirror-1, which as I understand, should grow that vdev and add space to the overall pool.
Here is some detail about storage config:
# list all disks in system (ideally would like to match the larger size of ada0)
[root@storage1 ~]# grep ad /var/run/dmesg.boot |grep -i sector
ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada1: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
ada3: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
# list mirrors
[root@storage1 ~]# zpool status tank
pool: tank
state: ONLINE
scan: scrub repaired 0 in 9h54m with 0 errors on Sun Jun 22 12:54:37 2014
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/da41bcfc-8d1a-11e2-934a-f46d042b95c3 ONLINE 0 0 0
gptid/da9e600a-8d1a-11e2-934a-f46d042b95c3 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/05004c21-9819-11e2-a644-f46d042b95c3 ONLINE 0 0 0
gptid/0576c42b-9819-11e2-a644-f46d042b95c3 ONLINE 0 0 0
# find partition lables so that I can determine mirror info above (mirror partner found at ada3)
[root@storage1 ~]# glabel status
Name Status Components
gptid/05004c21-9819-11e2-a644-f46d042b95c3 N/A ada0p2
gptid/da41bcfc-8d1a-11e2-934a-f46d042b95c3 N/A ada1p2
gptid/da9e600a-8d1a-11e2-934a-f46d042b95c3 N/A ada2p2
gptid/0576c42b-9819-11e2-a644-f46d042b95c3 N/A ada3p2
ufs/FreeNASs3 N/A da0s3
ufs/FreeNASs4 N/A da0s4
ufsid/50c8c7da3400b84f N/A da0s1a
ufs/FreeNASs1a N/A da0s1a
ufs/FreeNASs2a N/A da0s2a
I've been spending some time to read about 'zpool replace'. (http://docs.oracle.com/cd/E19253-01/819-5461/gbcet/index.html) Can I just power down the system, replace the 2TB drive at ada3, and then issue a single 'zpool replace' command? Or should I do anything before powering down?
Thanks for the advice....
My objective is to add another 3TB drive to one side of mirror-1, which as I understand, should grow that vdev and add space to the overall pool.
Here is some detail about storage config:
# list all disks in system (ideally would like to match the larger size of ada0)
[root@storage1 ~]# grep ad /var/run/dmesg.boot |grep -i sector
ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada1: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
ada3: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
# list mirrors
[root@storage1 ~]# zpool status tank
pool: tank
state: ONLINE
scan: scrub repaired 0 in 9h54m with 0 errors on Sun Jun 22 12:54:37 2014
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/da41bcfc-8d1a-11e2-934a-f46d042b95c3 ONLINE 0 0 0
gptid/da9e600a-8d1a-11e2-934a-f46d042b95c3 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/05004c21-9819-11e2-a644-f46d042b95c3 ONLINE 0 0 0
gptid/0576c42b-9819-11e2-a644-f46d042b95c3 ONLINE 0 0 0
# find partition lables so that I can determine mirror info above (mirror partner found at ada3)
[root@storage1 ~]# glabel status
Name Status Components
gptid/05004c21-9819-11e2-a644-f46d042b95c3 N/A ada0p2
gptid/da41bcfc-8d1a-11e2-934a-f46d042b95c3 N/A ada1p2
gptid/da9e600a-8d1a-11e2-934a-f46d042b95c3 N/A ada2p2
gptid/0576c42b-9819-11e2-a644-f46d042b95c3 N/A ada3p2
ufs/FreeNASs3 N/A da0s3
ufs/FreeNASs4 N/A da0s4
ufsid/50c8c7da3400b84f N/A da0s1a
ufs/FreeNASs1a N/A da0s1a
ufs/FreeNASs2a N/A da0s2a
I've been spending some time to read about 'zpool replace'. (http://docs.oracle.com/cd/E19253-01/819-5461/gbcet/index.html) Can I just power down the system, replace the 2TB drive at ada3, and then issue a single 'zpool replace' command? Or should I do anything before powering down?
Thanks for the advice....