LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-07-2020, 07:27 PM   #1
notooth
Member
 
Registered: Apr 2005
Posts: 192

Rep: Reputation: 15
ZFS: no pools available


I failed to import a pool using these commands:
Code:
# zpool status
no pools available

# zpool import
no pools available to import

# zpool import -f tank 
cannot import 'tank': no such pool available
I just fixed the problem using this command:
Code:
# zpool import -d /dev/disk/by-id tank

Last edited by notooth; 03-08-2020 at 10:23 PM.
 
Old 03-08-2020, 12:54 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
you could post the fix if others have the same problem they can use your solution.
 
Old 03-08-2020, 10:25 PM   #3
notooth
Member
 
Registered: Apr 2005
Posts: 192

Original Poster
Rep: Reputation: 15
I have just reposted the fix so everyone can see it
 
Old 03-13-2021, 05:42 AM   #4
postcd
Member
 
Registered: Oct 2013
Posts: 527

Rep: Reputation: Disabled
It may be helpful to someone so i post:
ls -l /dev/disk/by-id/
Then possibly the first partition of the drive is the one to mount.
For example:
sudo zpool import -a -d /dev/disk/by-id/ata-Samsung_SSD_abc-part1 -d /dev/disk/by-id/ata-Samsung_SSD_def-part1
(-a switch may work, no need to remember pool name)
If issues, try "man zpool-import"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Zfs zfs sang_froid Solaris / OpenSolaris 6 05-31-2010 03:52 PM
LXer: Article ZFS data integrity testing and more random ZFS thoughts. LXer Syndicated Linux News 0 05-15-2010 12:51 PM
what disk configuration do you use with your ZFS pools at home? crisostomo_enrico Solaris / OpenSolaris 10 09-02-2007 08:29 AM
Solaris Express ZFS vs Solaris 10 ZFS? kebabbert Solaris / OpenSolaris 8 06-29-2007 07:05 AM
ZFS Root / Boot into ZFS from a usb flash drive Kataku Solaris / OpenSolaris 1 07-15-2006 04:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration