SOLVED Error - Converting single disk to mirror

Shrdlu

Dabbler
Joined
Mar 23, 2019
Messages
20
Hello all.

I am in the process of upgrading my system (FreeNAS-11.3-U4.1) and have hit a snag.

My main pool is a Raidz3 of 8 drives and works fine. However my Boot drive and a second pool called Apps were each done as single SSDs which I am now upgrading to mirrors. Upgrading the boot pool was easy enough using System/Boot/Boot Pool Status. However the Apps pool has not been as straight forward.

On searching the forum I came across this guide however I kept getting an error saying that the new drive could not be detected/added (I forget the exact wording).

Further reading of that thread I came across this post/guide by @mgd which is the modified process for encrypted drives. I followed the guide and it all seems to be working fine except for some small problems.

Before carrying on here is a reference table for comparing the guides names to my systems:
Guide names
My names
My disk
tankAppsada3
fakeApps_newada2


After merging the drives, Step 5 of the guide says to detatch the temporary pool "Apps_new" before reboot but I got the error "[ENOENT] None: PoolDataset Apps_new does not exist". Thinking this means that the newer version of FreeNas from that used in the guide has already removed the pool I rebooted the system. The system boots fine and when following Step 7 by going to Storage/Pools/Status of "Apps" both disks are already present and online with no need to "replace" a disk. A quick test of Plex shows access to "Apps" is working but I now find the following errors:

1) In Storage/Pools the pool "Apps_new" is still listed but is yellowed out and locked. Any further attemps to detach it give the same error "[ENOENT] None: PoolDataset Apps_new does not exist"

2) Checking Storage/Pools/Status of "Apps" it correctly shows both ada3 and ada2 in mirror

3)Checking Storage/Disks shows ada2 as stilling being in pool "Apps_new" and ada3 as being pool "Apps"


My thanks in advance to anybody able to help.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Can you share the output from zpool status -v (in code tags)
 

Shrdlu

Dabbler
Joined
Mar 23, 2019
Messages
20
Hi @sretalla

Code:
  pool: Apps

state: ONLINE

status: Some supported features are not enabled on the pool. The pool can

        still be used, but some features are unavailable.

action: Enable all features using 'zpool upgrade'. Once this is done,

        the pool may no longer be accessible by software that does not support

        the features. See zpool-features(7) for details.

  scan: scrub repaired 0 in 0 days 00:04:30 with 0 errors on Sun Aug 23 12:56:20 2020

config:


        NAME                                                STATE     READ WRITE CKSUM

        Apps                                                ONLINE       0     0     0

          mirror-0                                          ONLINE       0     0     0

            gptid/ccb3eed5-d482-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0

            gptid/6d9957cb-e52e-11ea-8916-ac1f6b9a63f4.eli  ONLINE       0     0     0


errors: No known data errors


  pool: Main

state: ONLINE

status: Some supported features are not enabled on the pool. The pool can

        still be used, but some features are unavailable.

action: Enable all features using 'zpool upgrade'. Once this is done,

        the pool may no longer be accessible by software that does not support

        the features. See zpool-features(7) for details.

  scan: scrub repaired 0 in 0 days 05:26:28 with 0 errors on Tue Aug 18 08:26:29 2020

config:


        NAME                                                STATE     READ WRITE CKSUM

        Main                                                ONLINE       0     0     0

          raidz3-0                                          ONLINE       0     0     0

            gptid/2e402978-d483-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0

            gptid/3077285d-d483-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0

            gptid/32a4b37d-d483-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0

            gptid/34df8f03-d483-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0

            gptid/39e16eb5-d483-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0

            gptid/3ed181d8-d483-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0

            gptid/43f0a912-d483-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0

            gptid/490228b0-d483-11e9-aae2-ac1f6b9a63f4.eli  ONLINE       0     0     0


errors: No known data errors


  pool: freenas-boot

state: ONLINE

  scan: scrub repaired 0 in 0 days 00:00:05 with 0 errors on Mon Aug 24 03:45:05 2020

config:


        NAME        STATE     READ WRITE CKSUM

        freenas-boot  ONLINE       0     0     0

          mirror-0  ONLINE       0     0     0

            ada0p2  ONLINE       0     0     0

            ada1p2  ONLINE       0     0     0


errors: No known data errors
 
Last edited:

Shrdlu

Dabbler
Joined
Mar 23, 2019
Messages
20
Managed to fix the problem. I offlined and removed the disk in ada 2 then I was able to delete the pool Apps_new. The disk was then reconnected, wiped and added back into the mirror for for Apps.
 
Top