Importing to a new system

JGDSI

Cadet
Joined
Jun 24, 2019
Messages
8
I has an older Freenas that died (version 12+). I then moved all the drives (which had data, shares, etc.) to another system with same version of Freenas and I imported the pool.

This went well. When I use the "zpool status" is all correct. "zfs list" command I see all the datastores with the correct names, etc.

However .... none of the datastores show on the UI (neither the shares I had, etc.) and neither does the actual pool itself. The pool list is empty on the UI - "No pools".

Rebooting did not change anything on this.

Please let me know what I can print here for you guys to help me out.
 
Joined
Oct 18, 2018
Messages
969
Did you import your system settings and/or import your pools? If you haven't already, check out the User Guide for some great tips on how to do this sort of migration.
 

JGDSI

Cadet
Joined
Jun 24, 2019
Messages
8
Code:
root@freenas:~ # zpool status
  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: resilvered 3.13T in 0 days 09:43:30 with 0 errors on Sat Apr 11 01:50:04 2020
config:

        NAME                                            STATE     READ WRITE CKSUM
        MAIN                                            ONLINE       0     0 0
          raidz1-0                                      ONLINE       0     0 0
            gptid/69d29489-a6ba-11e9-b82e-0cc47aa934d4  ONLINE       0     0 0
            gptid/781dc03d-a6ba-11e9-b82e-0cc47aa934d4  ONLINE       0     0 0
            gptid/af749e62-7b66-11ea-b998-0cc47aa934d4  ONLINE       0     0 0
            gptid/956c598d-a6ba-11e9-b82e-0cc47aa934d4  ONLINE       0     0 0
            gptid/0274c287-ae6e-11e9-894f-0cc47aa934d4  ONLINE       0     0 0
            gptid/b25778d0-a6ba-11e9-b82e-0cc47aa934d4  ONLINE       0     0 0
            gptid/ba25e228-71e6-11ea-bb2e-0cc47aa934d4  ONLINE       0     0 0

errors: No known data errors


Code:
errors: No known data errors
root@freenas:~ #
root@freenas:~ # zfs list
NAME                                                            USED  AVAIL  REFER  MOUNTPOINT
MAIN                                                           18.5T  2.09T   168K  /MAIN
MAIN/.system                                                   37.2M  2.09T   162K  legacy
MAIN/.system/configs-2fa742ae30da433ca735af52bcb65edb          30.6M  2.09T  30.6M  legacy
MAIN/.system/cores                                              761K  2.09T   761K  legacy
MAIN/.system/rrd-2fa742ae30da433ca735af52bcb65edb               148K  2.09T   148K  legacy
MAIN/.system/samba4                                             909K  2.09T   909K  legacy
MAIN/.system/syslog-2fa742ae30da433ca735af52bcb65edb           4.44M  2.09T  4.44M  legacy
MAIN/.system/webui                                              148K  2.09T   148K  legacy
MAIN/Backup                                                    3.75T  2.09T  3.75T  /MAIN/Backup
MAIN/NewSharedFiles                                            3.34T  2.09T  3.34T  /MAIN/NewSharedFiles
MAIN/Work-O                                                     651G  2.09T   651G  /MAIN/Work-O
MAIN/iocage                                                    5.14M  2.09T  4.27M  /MAIN/iocage
MAIN/iocage/download                                            148K  2.09T   148K  /MAIN/iocage/download
MAIN/iocage/images                                              148K  2.09T   148K  /MAIN/iocage/images
MAIN/iocage/jails                                               148K  2.09T   148K  /MAIN/iocage/jails
MAIN/iocage/log                                                 148K  2.09T   148K  /MAIN/iocage/log
MAIN/iocage/releases                                            148K  2.09T   148K  /MAIN/iocage/releases
MAIN/iocage/templates                                           148K  2.09T   148K  /MAIN/iocage/templates
MAIN/plex-share                                                10.8T  2.09T  10.8T  /MAIN/plex-share
freenas-boot                                                   5.25G  1.95G    31K  none
freenas-boot/.system                                           11.1M  1.95G    36K  legacy
freenas-boot/.system/configs-26bec1b654b54f3489f57aa43ee342f9    29K  1.95G    29K  legacy
freenas-boot/.system/cores                                       29K  1.95G    29K  legacy
freenas-boot/.system/rrd-26bec1b654b54f3489f57aa43ee342f9      10.8M  1.95G  10.8M  legacy
freenas-boot/.system/samba4                                    60.5K  1.95G  60.5K  legacy
freenas-boot/.system/syslog-26bec1b654b54f3489f57aa43ee342f9     75K  1.95G    75K  legacy
freenas-boot/.system/webui                                       29K  1.95G    29K  legacy
freenas-boot/ROOT                                              5.07G  1.95G    25K  none
freenas-boot/ROOT/11.2-U8                                       131K  1.95G   769M  /
freenas-boot/ROOT/11.3-U2.1                                    1.01G  1.95G  1.02G  /
freenas-boot/ROOT/11.3-U2.1-1                                  4.04G  1.95G  1.01G  /
freenas-boot/ROOT/9.10.1-U2                                    11.6M  1.95G   633M  /
freenas-boot/ROOT/9.10.2                                       11.7M  1.95G   647M  /
freenas-boot/ROOT/Bootable_after_RAIDZ2_20150622                  1K  1.95G   511M  /
freenas-boot/ROOT/FreeNAS-9.3-STABLE-201506042008              1.51M  1.95G   510M  /
freenas-boot/ROOT/FreeNAS-9.3-STABLE-201508250051              7.65M  1.95G   518M  /
freenas-boot/ROOT/Initial-Install                                 1K  1.95G   507M  legacy
freenas-boot/ROOT/Mid_ada1_replacement                            1K  1.95G   517M  /
 

JGDSI

Cadet
Joined
Jun 24, 2019
Messages
8
Did you import your system settings and/or import your pools? If you haven't already, check out the User Guide for some great tips on how to do this sort of migration.
I imported the zpool only as I didn't have the setting available. I used "zpool import" command on the new system

Please see above as I figure out how to post the shell info after the import. However, no pools show on the UI. Does that help?
 
Joined
Oct 18, 2018
Messages
969
I used "zpool import" command on the new system
Unless you're debugging something or exploring and are sure you have good backups in case you mess up, I recommend you not use the command line for standard actions. The GUI has an import function that you should use. Try exporting your pool and then importing it via the GUI.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Try exporting your pool and then importing it via the GUI.
Make sure you're on 11.3-U2.1 (not 11.3-U2) if you're going to do that... there's a bug which may cause you some grief if you don't patch first.
 

JGDSI

Cadet
Joined
Jun 24, 2019
Messages
8
Unless you're debugging something or exploring and are sure you have good backups in case you mess up, I recommend you not use the command line for standard actions. The GUI has an import function that you should use. Try exporting your pool and then importing it via the GUI.
Solved, thank you VERY much!
 
Joined
Oct 18, 2018
Messages
969
Make sure you're on 11.3-U2.1 (not 11.3-U2) if you're going to do that... there's a bug which may cause you some grief if you don't patch first.
haha by "some grief" you mean instead a bug which will wipe your drive's partition table and the last 32MB of each partition for any drives not a part of currently imported pools. :)

Spot on advice though from @sretalla; if you're on the 11.3 train; get onto 11.3-U2.1 asap.

For the curious, check out the bug linked to in the 11.3-U2.1 release notes.
 
Top