SOLVED Screwed up update - help me recover?

Status
Not open for further replies.

dziring

Dabbler
Joined
Aug 17, 2011
Messages
37
Ok, so I upgraded from 8.2 to 9.1, and I screwed things up. First I installed and then tried to remove plugins and ended up with multiple jail directories/mounted points. Then I tried to reinstall a clean copy of 9.1.1, but when I try to auto-import my main (raidz1) volume, I get an error that the auto-import fails and i should check the pool status to find out why (I would copy the actual message, but it keeps fading away before I copy/paste it), but when I run a zpool status, I'm told that the state of my volume is ONLINE and I can find no errors with a scrub.

Where do I start fixing my mess? I would appreciate any help.
 

dziring

Dabbler
Joined
Aug 17, 2011
Messages
37
Additional information, since I'm not sure what will be needed:

Code:
[root@freenas] ~# zpool status
  pool: pool
 state: ONLINE
  scan: scrub repaired 0 in 5h33m with 0 errors on Fri Sep 20 03:06:44 2013
config:
 
        NAME                                            STATE     READ WRITE CKSUM
        pool                                            ONLINE       0     0     0
          raidz1-0                                      ONLINE       0     0     0
            ada0p2                                      ONLINE       0     0     0
            ada1p2                                      ONLINE       0     0     0
            gptid/5c173ac8-e3a2-11e2-9366-0019d13db58e  ONLINE       0     0     0
            ada3p2                                      ONLINE       0     0     0
            ada4p2                                      ONLINE       0     0     0
 
errors: No known data errors
[root@freenas] ~# gpart show
=>        34  3907029101  ada0  GPT  (1.8T)
          34          94        - free -  (47k)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)
 
=>        34  3907029101  ada1  GPT  (1.8T)
          34          94        - free -  (47k)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)
 
=>        34  5860533101  ada2  GPT  (2.7T)
          34          94        - free -  (47k)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  5856338703     2  freebsd-zfs  (2.7T)
 
=>        34  2930274988  ada3  GPT  (1.4T)
          34          94        - free -  (47k)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  2926080590     2  freebsd-zfs  (1.4T)
 
=>        34  3907029101  ada4  GPT  (1.8T)
          34          94        - free -  (47k)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)
 
=>     63  3915713  da0  MBR  (1.9G)
       63  1930257    1  freebsd  [active]  (942M)
  1930320       63       - free -  (31k)
  1930383  1930257    2  freebsd  (942M)
  3860640     3024    3  freebsd  (1.5M)
  3863664    41328    4  freebsd  (20M)
  3904992    10784       - free -  (5.3M)
 
=>      0  1930257  da0s1  BSD  (942M)
        0       16         - free -  (8.0k)
       16  1930241      1  !0  (942M)
 
[root@freenas] ~#
 

dziring

Dabbler
Joined
Aug 17, 2011
Messages
37
I don't think I did a very good job at explaining the issue I'm having. Essentially, the zpool is mounted and I can access the files via ssh, but I cannot auto-import it via the UI. The first time I try, I get an error, and if I try again to auto-import, the pool doesn't even show up in the drop-down. I will reset to factory settings again tonight so I can copy the exact error I get.
 

dziring

Dabbler
Joined
Aug 17, 2011
Messages
37
Sometimes it just takes silence to solve your problems. I went through and deleted all the stray datasets I mentioned in my first post, rebooted, and I was able to auto-import the volume.

For reference, it was a mess of abandoned plugins as I was experimenting:
Code:
[root@freenas] /mnt/pool/jails_2# zfs get all | grep mountpoint
pool                                                              mountpoint            /mnt/pool                                                        default
pool/jail                                                        mountpoint            /mnt/pool/jail                                                  default
pool/jails                                                        mountpoint            /mnt/pool/jails                                                  default
pool/jails/.warden-template-9.1-RELEASE-amd64-pluginjail          mountpoint            /mnt/pool/jails/.warden-template-9.1-RELEASE-amd64-pluginjail    local
pool/jails/bit_1                                                  mountpoint            /mnt/pool/jails/bit_1                                            default
pool/jails/plex_1                                                mountpoint            /mnt/pool/jails/plex_1                                          default
pool/jails/sabnzbd_1                                              mountpoint            /mnt/pool/jails/sabnzbd_1                                        default
pool/jails_2                                                      mountpoint            /mnt/pool/jails_2                                                default
pool/jails_2/.warden-template-9.1-RELEASE-amd64-pluginjail        mountpoint            /mnt/pool/jails_2/.warden-template-9.1-RELEASE-amd64-pluginjail  local
pool/software                                                    mountpoint            /mnt/pool/software                                              default


How do I mark this thread as solved?
 
Status
Not open for further replies.
Top