Why are my pools not imported or importing after FreeNAS Corral upgrade?

Discussion in 'FreeBSD FreeNAS and TrueNAS Core' started by MiniKnight, Mar 15, 2017.

  1. MiniKnight

    MiniKnight Well-Known Member

    Joined:
    Mar 30, 2012
    Messages:
    2,965
    Likes Received:
    871
    SOS - I upgraded a FreeNAS from 9.10 to Corral and it sees one of 4 volumes or pools I have on the machine. Anyone?
     
    #1
  2. Rand__

    Rand__ Well-Known Member

    Joined:
    Mar 6, 2014
    Messages:
    4,026
    Likes Received:
    696
    Encrypted?
     
    #2
    Patrick likes this.
  3. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,720
    Likes Received:
    4,652
    @Rand__ is likely correct. I had this happen on one of my installs.

    If you cannot get into the drives, say if you forgot your key, then here is what you do:

    Reboot, change OS to 9.10 and boot. You will have functioning file services again.
     
    #3
  4. MiniKnight

    MiniKnight Well-Known Member

    Joined:
    Mar 30, 2012
    Messages:
    2,965
    Likes Received:
    871
    #4
  5. darkconz

    darkconz Member

    Joined:
    Jun 6, 2013
    Messages:
    181
    Likes Received:
    13
    So did anyone find out how to import/migrate the encrypted volume over to Corral?
     
    #5
  6. Rand__

    Rand__ Well-Known Member

    Joined:
    Mar 6, 2014
    Messages:
    4,026
    Likes Received:
    696
  7. darkconz

    darkconz Member

    Joined:
    Jun 6, 2013
    Messages:
    181
    Likes Received:
    13

    I did.. but when I executed "volume migration_import name=you_passphrase_encrypted_pool_name_here passphrase=mysupersecretpassphrase; wait", it said the volume is not found, when clearly on GUI it is asking me to import that volume...
     
    #7
  8. darkconz

    darkconz Member

    Joined:
    Jun 6, 2013
    Messages:
    181
    Likes Received:
    13
    Is it worth mentioning that I have a geli recovery key?
     
    #8
    Patrick likes this.
  9. Drewy

    Drewy Member

    Joined:
    Apr 23, 2016
    Messages:
    168
    Likes Received:
    23
    I have a similar issue but not with an encrypted volume. I had 5 volumes, s1, s2, s3, s4, s5.
    Post upgrade it isn't mounting s3, but if I go to import an existing volume what was s3 now shows as s4. So I can't import it since I already have an s4.

    Seems like I need to somehow rename it then import, or if that's not possible, rename the existing mounted s4 to something else. Any clue?
     
    #9
  10. ttabbal

    ttabbal Active Member

    Joined:
    Mar 10, 2016
    Messages:
    730
    Likes Received:
    193
  11. Drewy

    Drewy Member

    Joined:
    Apr 23, 2016
    Messages:
    168
    Likes Received:
    23
    thanks for the pointer. I actually used the cli to import the volume. Couldn't import s4 new name=s3 , since it didn't like the fact that I was caling the volume by a name that was already mounted. However the same command worked when I used the volume ID in place of s4.
    Lost all of my shares (nfs\smb) on both s3 & s4 but at least the data seems to be there :)
     
    #11
  12. darkconz

    darkconz Member

    Joined:
    Jun 6, 2013
    Messages:
    181
    Likes Received:
    13
    So how I did it was I rolled back to 9.10, rekeyed my volume (which removed the passphrase), deleted the old Corral update in boot and re-update to Corral-RELEASE and it did not work.

    I did the above again but except I went to Corral-MASTER (nightly) and this time it worked... however, now I am facing another problem. I accidentally pressed re-key in Corral but now I have no way to download the key. The button is not responsive. I took a very big step and rebooted it in 9.10 U2, of course since it is re-keyed, 9.10 U2 could not read the drives without the key.

    Fortunately, booting back into Corral-MASTER was able to decrypt the drives. But now I am stuck with no keys..
     
    #12
  13. Rand__

    Rand__ Well-Known Member

    Joined:
    Mar 6, 2014
    Messages:
    4,026
    Likes Received:
    696
  14. MiniKnight

    MiniKnight Well-Known Member

    Joined:
    Mar 30, 2012
    Messages:
    2,965
    Likes Received:
    871
    I just went back to 9.10. It is a small NAS with older drives. My new plan is just to build a new NAS with new drives and transfer to a Corral server.
     
    #14
  15. Rand__

    Rand__ Well-Known Member

    Joined:
    Mar 6, 2014
    Messages:
    4,026
    Likes Received:
    696
    I actually went back as well on my main box - couldnt access SMB shares (no AD integration), couldnt use nfs, tftp didnt work as expected ...
    Additionally Freenas support team/forum is totally swamped, so while they try to help/fix all that it will take time
     
    #15
  16. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,720
    Likes Received:
    4,652
    @MiniKnight I have 1 of 6 now that your strategy will be used on.
     
    #16
  17. Drewy

    Drewy Member

    Joined:
    Apr 23, 2016
    Messages:
    168
    Likes Received:
    23
    I'm finding more issues. Nothing major as yet.
    SMB share settings don't all save from the GUI, seem to work from cli - read_only, guest.
    Power consumption has increased. Use by my box has jumped approx. 60w since the upgrade. All of my HD's were set to spindown prior to the upgrade. Posed upgrade the majority had lost the spindown setting. Set it again via the GUI and it seems to retain the setting but not yet convinced they are spinning down...
     
    #17
  18. poutnik

    poutnik Member

    Joined:
    Apr 3, 2013
    Messages:
    119
    Likes Received:
    13
    Well, I also spent half of the afternoon trying to iron out issues after upgrading from 9.10.2-U2 -> Coral. First, my zfs pool was not imported (it is not encrypted), I managed to import it manually. Then, I could not modify some of the services I have installed (change ssh to allow root login), half of my user accounts were gone, no iSCSI, NFS, Samba shares... I have not even got as far as checking what about iohyve machines (but I think they were all down). I went back to 9.10, and I will think twice before trying the update another time.
     
    #18
  19. Drewy

    Drewy Member

    Joined:
    Apr 23, 2016
    Messages:
    168
    Likes Received:
    23
    Is anyone else seeing increased power consumption with 10 ?
     
    #19
  20. Jeggs101

    Jeggs101 Well-Known Member

    Joined:
    Dec 29, 2010
    Messages:
    1,475
    Likes Received:
    220
    Mine worked today. +/- 2w
     
    #20
Similar Threads: pools imported
Forum Title Date
FreeBSD FreeNAS and TrueNAS Core ZFS/FreeNas : Large pools design with a HGST 4U60 rack Jul 28, 2017
FreeBSD FreeNAS and TrueNAS Core Do you guys spindown disks in zfs pools? Mar 17, 2017
FreeBSD FreeNAS and TrueNAS Core FreeNAS server...will this hardware suffice? Multiple zpools? Feb 21, 2017
FreeBSD FreeNAS and TrueNAS Core Detaching ZFS pools in RAIDZ1 - functional external storage? Jan 9, 2017
FreeBSD FreeNAS and TrueNAS Core How a very large ZFS pools configured ? May 13, 2016

Share This Page