TrevInCarlton
Dabbler
- Joined
- Sep 18, 2018
- Messages
- 39
I have followed various threads for what I thought would be a simple task to rename a zpool. First from the CLI
From the GUI I could see the zpool but the datasets had gone. I tried to detach the volume thinking I could import it but now I can't get the zpool back, either the old name "SuperServer2" or the new name "Server2". This is the last thing I have tried ;
Any help to recover this pool and the contained datasets would be greatly appreciated.
Just checked zpool status and discovered the mountpoint is wrong. The mountpoint is /Server2 instead of /mnt/Server2. I don't know how to move or change the mountpoint so don't want to screw it up further
Code:
zpool export SuperServer2 zpool import SuperServer2 Server2
From the GUI I could see the zpool but the datasets had gone. I tried to detach the volume thinking I could import it but now I can't get the zpool back, either the old name "SuperServer2" or the new name "Server2". This is the last thing I have tried ;
Code:
[root@SuperServer2018 ~]# cd /mnt [root@SuperServer2018 /mnt]# ls md_size SuperServer1 TEST1 [root@SuperServer2018 /mnt]# zpool import SuperServer2 cannot import 'SuperServer2': no such pool available [root@SuperServer2018 /mnt]# zpool import Server2 cannot import 'Server2': a pool with that name is already created/imported, and no additional pools with that name were found [root@SuperServer2018 /mnt]#
Any help to recover this pool and the contained datasets would be greatly appreciated.
Just checked zpool status and discovered the mountpoint is wrong. The mountpoint is /Server2 instead of /mnt/Server2. I don't know how to move or change the mountpoint so don't want to screw it up further
Last edited: