TrueNAS12.0-U6.1 Pool offline

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
I know this is about your pool. But you keep referring to "it" shows the pool as offline.

That's why I asked:



Are you determining the pool to be offline because of what the GUI / Dashboard is displaying?

Your disks are all online. Apparently, the manual import (via the command-line) was successful; even subsequent attempts say that such a pool already exists.

Post #19 in this thread implies it was a success.
Ahh IT then is the GUI showing it offline
 
Joined
Oct 22, 2019
Messages
3,641
Ahh IT then is the GUI showing it offline
So if you do,
zpool status -v MainNAS

it displays that the pool is online?

But when you check with the GUI, it shows the pool as offline, even after restarting the middlewared service?

If that's the case, perhaps try to export it with the GUI, and then re-import it with the GUI.
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
So if you do,
zpool status -v MainNAS

it displays that the pool is online?

But when you check with the GUI, it shows the pool as offline, even after restarting the middlewared service?

If that's the case, perhaps try to export it with the GUI, and then re-import it with the GUI.
That didn't work.

A problem I have just noticed is that my Pool should be TrueServer not MainNAS. I have no idea how MainNAS came about.

As my samba path is /mnt/TrueServer/Mastiff/SecretData.

When HoneyBadger asked me to run zdb -C -U /data/zfs/zpool.cache

You will see the name TrueServer.


Code:
root@truenas[~]# zdb -C -U /data/zfs/zpool.cache
TrueServer:
    version: 5000
    name: 'TrueServer'
    state: 0
    txg: 163488
    pool_guid: 1603798630106216270
    errata: 0
    hostid: 2601446544
    hostname: ''
    com.delphix:has_per_vdev_zaps
    vdev_children: 1
    vdev_tree:
        type: 'root'
        id: 0
        guid: 1603798630106216270
        create_txg: 4
        children[0]:
            type: 'raidz'
            id: 0
            guid: 8614971072785792033
            nparity: 2
            metaslab_array: 256
            metaslab_shift: 34
            ashift: 12
            asize: 95983889285120
            is_log: 0
            create_txg: 4
            com.delphix:vdev_zap_top: 129
            children[0]:
                type: 'disk'
                id: 0
                guid: 16920431341407029552
                path: '/dev/gptid/b0304944-517d-11ec-8d3f-a85e4550970d'
                create_txg: 4
                com.delphix:vdev_zap_leaf: 130
            children[1]:
                type: 'disk'
                id: 1
                guid: 17460668793511436470
                path: '/dev/gptid/b06d275a-517d-11ec-8d3f-a85e4550970d'
                create_txg: 4
                com.delphix:vdev_zap_leaf: 131
            children[2]:
                type: 'disk'
                id: 2
                guid: 8033773144212940751
                path: '/dev/gptid/b05b8091-517d-11ec-8d3f-a85e4550970d'
                create_txg: 4
                com.delphix:vdev_zap_leaf: 132
            children[3]:
                type: 'disk'
                id: 3
                guid: 18169469800793595977
                path: '/dev/gptid/b0adc118-517d-11ec-8d3f-a85e4550970d'
                create_txg: 4
                com.delphix:vdev_zap_leaf: 133
            children[4]:
                type: 'disk'
                id: 4
                guid: 7341022465625016651
                path: '/dev/gptid/b143ac85-517d-11ec-8d3f-a85e4550970d'
                create_txg: 4
                com.delphix:vdev_zap_leaf: 134
            children[5]:
                type: 'disk'
                id: 5
                guid: 468484581845318682
                path: '/dev/gptid/b1698055-517d-11ec-8d3f-a85e4550970d'
                create_txg: 4
                com.delphix:vdev_zap_leaf: 135
            children[6]:
                type: 'disk'
                id: 6
                guid: 8679953526941588111
                path: '/dev/gptid/b18125bc-517d-11ec-8d3f-a85e4550970d'
                create_txg: 4
                com.delphix:vdev_zap_leaf: 136
            children[7]:
                type: 'disk'
                id: 7
                guid: 18445334097904060286
                path: '/dev/gptid/b18d7d07-517d-11ec-8d3f-a85e4550970d'
                create_txg: 4
                com.delphix:vdev_zap_leaf: 137
    features_for_read:
        com.delphix:hole_birth
        com.delphix:embedded_data
root@truenas[~]#
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
See, I'm confused, because the previous page showed that it detected a zpool with name MainNAS. Did you re-import it with a new name?

You can try

zpool status -v TrueServer

I'm thinking there's potentially naming/mountpoint issues. You seem to have eight drives in your pool and eight drives detected; not sure where the da0 device popped in though. Did you at one point have a USB boot pool and migrate over to NVMe, or have a USB storage device attached?
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
See, I'm confused, because the previous page showed that it detected a zpool with name MainNAS. Did you re-import it with a new name?

You can try

zpool status -v TrueServer

I'm thinking there's potentially naming/mountpoint issues. You seem to have eight drives in your pool and eight drives detected; not sure where the da0 device popped in though. Did you at one point have a USB boot pool and migrate over to NVMe, or have a USB storage device attached?
I never had a MainNAS, trying to figure out how that happened is beyond me.

I did have a USB boot pool the first day I had this server (in November) because the orignal NVMe was bad and it was 10PM so I had to wait to go to the store in the morning for the NVMe.

And zpool status -v shows no such pool.

What kills me is I don't know how it has disappeared. It was running perfectly with no drive errors until 4/14. Then my router died and when I replaced it, the server wasn't getting a IP, so rebooted and it did. When I tried to access the files on it from another computer it wouldn't show up. I didn't do any updates, change names or anything else for that matter.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
I never had a MainNAS, trying to figure out how that happened is beyond me.

I did have a USB boot pool the first day I had this server (in November) because the orignal NVMe was bad and it was 10PM so I had to wait to go to the store in the morning for the NVMe.

And zpool status -v shows no such pool.

What kills me is I don't know how it has disappeared. It was running perfectly with no drive errors until 4/14. Then my router died and when I replaced it, the server wasn't getting a IP, so rebooted and it did. When I tried to access the files on it from another computer it wouldn't show up. I didn't do any updates, change names or anything else for that matter.
I'd be tempted to say to remove both your boot devices (and your pool devices, to be safe) and reinstall a fresh copy of TrueNAS to a new device. Boot from that new device and go through the pool importation process, to see what name it detects the pool as. It appears that your data is still intact, but just unreachable right now.
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
I'd be tempted to say to remove both your boot devices (and your pool devices, to be safe) and reinstall a fresh copy of TrueNAS to a new device. Boot from that new device and go through the pool importation process, to see what name it detects the pool as. It appears that your data is still intact, but just unreachable right now.
So to make sure I'm on same page.
Taken out NVMe (boot) replace it with new one (easily done). Then pull power from pool harddrives. Then reinstall TrueNAS on new NVMe and then plug back in old pool and import?
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
UPDATE:

GREAT News. I got the data all back, the pool is now MainNAS but that is fine as long as my data is there. While I don't know why re-isntalling TrueNas and then importing my Samba pool worked, but it did. So a very special thank you to NugentS for the beginning help and HoneyBadger for some of the other commands and ideas. Also Winnielinnie too. Without any of you I would have not been able to figure this out.
Any of you find yourself in Chicago, I owe you dinner.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
While I don't know why re-isntalling TrueNas and then importing my Samba pool worked, but it did.
It was likely some mismatch with the mount point/pool name, and the SMB shares still expecting the previous one and not being able to find datasets or folders.

Either way, glad it's sorted.
 
Top