Please review my upgrade plan

Status
Not open for further replies.

Jambones

Cadet
Joined
Jun 28, 2014
Messages
3
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....
 

bestboy

Contributor
Joined
Jun 8, 2014
Messages
198
a) You should use the web UI to replace the drives. There is stuff going on under the hood.
b) There is a whole chapter in the manual about how to replace drives with the goal to grow a pool.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Follow the manual and use the GUI.
 

Jambones

Cadet
Joined
Jun 28, 2014
Messages
3
@danb35 On this system, the pair of mirror-1 is made up of ada0 and ada3. Since ada0 is already a 3TB, my plan is to make ada3 equal to that. I'm under the impression that I currently have 1TB of space going to waste on ada0 because it is mirrored to a 2TB disk.

@Ericloewe @bestboy I've reviewed this page (http://doc.freenas.org/index.php/Volumes#Replacing_Drives_to_Grow_a_ZFS_Pool) which leads to this page (http://doc.freenas.org/index.php/Volumes#Replacing_a_Failed_Drive). This latter page suggests that the target drive be Offlined first, before the power down and replacement. Am I in the right place?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
@danb35 On this system, the pair of mirror-1 is made up of ada0 and ada3. Since ada0 is already a 3TB, my plan is to make ada3 equal to that. I'm under the impression that I currently have 1TB of space going to waste on ada0 because it is mirrored to a 2TB disk.

@Ericloewe @bestboy I've reviewed this page (http://doc.freenas.org/index.php/Volumes#Replacing_Drives_to_Grow_a_ZFS_Pool) which leads to this page (http://doc.freenas.org/index.php/Volumes#Replacing_a_Failed_Drive). This latter page suggests that the target drive be Offlined first, before the power down and replacement. Am I in the right place?

Yeah, follow the instructions there.
 
Status
Not open for further replies.
Top