cannfoddr
Dabbler
- Joined
- Nov 28, 2021
- Messages
- 12
Hi, I am new to truenas and ZFS so I appologise if I am talking nonsense.
I have a test server up and running with scale and added a 5 drive raidz2 pool and started creating some shared folders etc... everything was working well apart froma problem with AVAHI and shares not showing up on my macs. I copied a few TB of files across without issue from both Macs and Windows machines using SMB and I decided to do a planned restart of the server.
After the reboot I was stuck on importing zpool step with seemingly no way forwards. I read an article that suggested booting without the pool attached. I tried this and it worked for me. The pool 'pool1' was showing as offline in the GUI. I reconnected the disks and ran a zpool list in the shell and could see the pool but it was still offline in the gui. I ran a zpool export command from the shell which worked without error and I also ran the export from the gui. The pool is now gone:
If I go to the web gui -> storage and import a pool, it finds the pool:
pool1 | 16109214946869334733
If I then run the import I get an error:
[ENOENT] Pool 16109214946869334733 not found.
and nothing shows up in the GUI.
If I go back to the shell the pool is there and I can see my data:
I am now trying a reboot with the pool online to see if that helps....it didnt the pool is still missing from the gui and missing in zpool list
I can delete the pool and start again but I would really like to try to understand what I have done wrong.
I have a test server up and running with scale and added a 5 drive raidz2 pool and started creating some shared folders etc... everything was working well apart froma problem with AVAHI and shares not showing up on my macs. I copied a few TB of files across without issue from both Macs and Windows machines using SMB and I decided to do a planned restart of the server.
After the reboot I was stuck on importing zpool step with seemingly no way forwards. I read an article that suggested booting without the pool attached. I tried this and it worked for me. The pool 'pool1' was showing as offline in the GUI. I reconnected the disks and ran a zpool list in the shell and could see the pool but it was still offline in the gui. I ran a zpool export command from the shell which worked without error and I also ran the export from the gui. The pool is now gone:
Code:
root@truenas[~]# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT boot-pool 216G 16.5G 199G - - 0% 7% 1.00x ONLINE - test 236G 31.0G 205G - - 2% 13% 1.00x ONLINE /mnt
If I go to the web gui -> storage and import a pool, it finds the pool:
pool1 | 16109214946869334733
If I then run the import I get an error:
[ENOENT] Pool 16109214946869334733 not found.
and nothing shows up in the GUI.
If I go back to the shell the pool is there and I can see my data:
Code:
root@truenas[~]# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT boot-pool 216G 16.5G 199G - - 0% 7% 1.00x ONLINE - pool1 18.2T 4.25T 13.9T - - 0% 23% 1.00x ONLINE /mnt test 236G 31.0G 205G - - 2% 13% 1.00x ONLINE /mnt root@truenas[~]#
I am now trying a reboot with the pool online to see if that helps....it didnt the pool is still missing from the gui and missing in zpool list
I can delete the pool and start again but I would really like to try to understand what I have done wrong.