Problems rename Pool webGUI - CLI

K.J

Explorer
Joined
Apr 3, 2021
Messages
84
Can someone explain to me step by step how to change the pool name from:
BackUp Data Photo Film to BackUp. The spaces need to be taken out.
After exporting from the webgui the cli says cannot open. Dataset does not exist.
See photos.
 

Attachments

  • x.jpg
    x.jpg
    196.8 KB · Views: 508
  • xx.jpg
    xx.jpg
    208 KB · Views: 469

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
With the pool exported, you need to use import to rename it...

zpool import -R /mnt/BackUp "BackUp Data Photo Film" BackUp

Then you will have a pool called BackUp... but you won't see it in the GUI...

zpool export BackUp

Then import it in the GUI and all is good.
 

K.J

Explorer
Joined
Apr 3, 2021
Messages
84
@sretalla

get this message again. Sorry if I don't understand.
 

Attachments

  • x.jpg
    x.jpg
    206.2 KB · Views: 472

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
OK, let's see what it thinks it's named...

zpool import
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
OK, it's going to be much simpler if you replace that part in the "" with the ID number.

zpool import -R /mnt/BackUp 6415660709855509590 BackUp
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
OK; we'll try it without the Root switch...

zpool import 6415660709855509590 BackUp
 
Top