Relevant Info
Hardware: Dell R530, Xeon E5-2630v4, 64GB DDR4, 8x 4TB SAS 7.2K, 2x 16GB SD Card (Mirror)
Software: FreeNAS 9.10.2-U2
Current Pool: 6x 4TB RAID10 (Mirror)
My Problem
My ZFS pool is comprised of six (6) 4TB drives in RAID10 (Mirror). I have two (2) 4TB drives in the enclosure that are currently not apart of the pool; these drives are brand new. I want to expand my volume to include the 2 new drives as an additional mirrored vdev.
I tried using the GUI Volume Manager to expand the array; it says "Volume successfully added." but nothing happens. The volume remains the same (6x4TB), the drives are not added, no additional vdevs are created. I rebooted the system and tried again; no success.
I checked the console for messages during the procedure; the only thing of note is the following:
I tried to fix the GPT tables using GPART:
I have not tried to expand the array using the command line as the consensus seems to be ALWAYS use the GUI or risk future pool failures. So, using the GUI, I then tried to create a separate mirrored volume using just the 2 new drives; it shows the following error:
So now I have 2 drives in my 8 drive enclosure which cannot be added to my pool. I do not want to rebuild my pool from scratch; although I have backups, it seems silly to redo my volume every time I want to add a drive. Some of my ZFS boxes are in production; rebuilding is unacceptable.
I'm not sure what other logs to check. I tried Googling but results seem to show the expand process as always working successfully. What else can I do to troubleshoot?
Hardware: Dell R530, Xeon E5-2630v4, 64GB DDR4, 8x 4TB SAS 7.2K, 2x 16GB SD Card (Mirror)
Software: FreeNAS 9.10.2-U2
Current Pool: 6x 4TB RAID10 (Mirror)
[root@csc-san2 ~]# zpool status
pool: SAN2
state: ONLINE
scan: scrub repaired 0 in 1h15m with 0 errors on Sun Jul 2 01:15:22 2017
config:
NAME STATE READ WRITE CKSUM
SAN2 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da0p2 ONLINE 0 0 0
da1p2 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
da3p2 ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
da4p2 ONLINE 0 0 0
da5p2 ONLINE 0 0 0
errors: No known data errors
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0h1m with 0 errors on Wed Jun 21 03:46:58 2017
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
da8p2 ONLINE 0 0 0
errors: No known data errors
[root@csc-san2 ~]#
My Problem
My ZFS pool is comprised of six (6) 4TB drives in RAID10 (Mirror). I have two (2) 4TB drives in the enclosure that are currently not apart of the pool; these drives are brand new. I want to expand my volume to include the 2 new drives as an additional mirrored vdev.
I tried using the GUI Volume Manager to expand the array; it says "Volume successfully added." but nothing happens. The volume remains the same (6x4TB), the drives are not added, no additional vdevs are created. I rebooted the system and tried again; no success.
I checked the console for messages during the procedure; the only thing of note is the following:
GEOM: da6: the primary GPT table is corrupt or invalid.
GEOM: da6: using the secondary instead -- recovery strongly advised.
GEOM: da7: the primary GPT table is corrupt or invalid.
GEOM: da7: using the secondary instead -- recovery strongly advised.
I tried to fix the GPT tables using GPART:
[root@csc-san2 ~]# gpart recover /dev/da6
da6 recovering is not needed
[root@csc-san2 ~]# gpart recover /dev/da7
da7 recovering is not needed
[root@csc-san2 ~]#
I have not tried to expand the array using the command line as the consensus seems to be ALWAYS use the GUI or risk future pool failures. So, using the GUI, I then tried to create a separate mirrored volume using just the 2 new drives; it shows the following error:
Error: Unable to create the pool: cannot open '/dev/gptid/996bf431-6e33-11e7-af2d-a0369fdcac5c': No such file or directory,
So now I have 2 drives in my 8 drive enclosure which cannot be added to my pool. I do not want to rebuild my pool from scratch; although I have backups, it seems silly to redo my volume every time I want to add a drive. Some of my ZFS boxes are in production; rebuilding is unacceptable.
I'm not sure what other logs to check. I tried Googling but results seem to show the expand process as always working successfully. What else can I do to troubleshoot?