ZFS: cannot import 'whatever': no such pool available

root's picture

Fount this problem today and must share it with you.

01:09:18 root@eeny:~# zpool import tm
cannot import 'whatever': no such pool available

Oops, got scared a bit :)
You should not because what follows may help you.
That is assuming the disk with that pool is attached, available and not damaged :D

The pool was found on the disk:

01:09:56 root@eeny:~# zpool import -d /dev/sdc1
   pool: whatever
     id: 6969696969696969696969
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

	whatever          ONLINE
	  sdc1      ONLINE

And now I mount it:

01:10:44 root@eeny:~# zpool import -d /dev/sdc1 whatever
01:12:37 root@eeny:~# df -h | grep /whatever
whatever                       3.4T  3.0T  429G  88% /whatever

DONE! :)

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.

Recent content

root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root