-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zpool missing #1957
Comments
I'm having a simlar problem. My setup is a gentoo 3.6.11 VM on a VMWare ESXi host. It's been working good since I set it up (except it wouldn't import on start up, had to zpool import -f data). zpool listno pools available zpool import datacannot import 'data': no such pool available /etc/init.d/zfs start
/etc/init.d/zfs restart
zpool import -Duname -aLinux singularity 3.6.11-gentoo #1 SMP Fri Jan 25 13:11:49 CST 2013 x86_64 Quad-Core AMD Opteron(tm) Processor 2356 AuthenticAMD GNU/Linux modinfo zfsfilename: /lib/modules/3.6.11-gentoo/addon/zfs/zfs/zfs.ko Restart again/etc/init.d/zfs restart
Reinstall[ebuild R *] sys-fs/zfs-9999 USE="rootfs -bash-completion -custom-cflags -debug (-kernel-builtin) (-selinux) -static-libs -test-suite" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2" 0 kB RebootSuccessful with same results... no pools to import. Of note, I have and still list /etc/zfs/zpool.cache parted -lparted -l Number Start End Size Type File system Flags Model: VMware Virtual disk (scsi) Number Start End Size File system Name Flags Model: VMware Virtual disk (scsi) Number Start End Size File system Name Flags Model: VMware Virtual disk (scsi) Number Start End Size File system Name Flags |
This might be due to #2145. |
Closing this was very likely caused by #2145 |
Dears,
In the issue I reported before, I encountered frequent 'list directory hang' problem of my file system, so I tried some fix by myself. (I think some of the steps might be stupid, and I wish I didn't do that)
I switched to use daily PPA, ran following command:
add-apt-repository ppa:zfs-native/daily
apt-get remove zfs-dkms
apt-get install zfs-dkms ubuntu-zfs
After reboot, my zpool was missing:
zpool status
no pools available
zpool import
failed to read pool configuration: bad address
Then I re-installed zfs support.
apt-get install --reinstall linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic
dkms status
dkms remove -m zfs -v 0.6.2 --all
dkms remove -m spl -v 0.6.2 --all
dkms add -m spl -v 0.6.2
dkms add -m zfs -v 0.6.2
dkms install -m spl -v 0.6.2
dkms install -m zfs -v 0.6.2
dkms status
I am using 0.6.2 zfs:
dkms status
spl, 0.6.2, 3.2.0-23-generic, x86_64: installed
zfs, 0.6.2, 3.2.0-23-generic, x86_64: installed
I am using Ubuntu 12.04:
uname -a
3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
zpool import -D
gives no output.There is no file '/etc/zfs/zpool.cache'
Any solutions? Thanks a lot.
The text was updated successfully, but these errors were encountered: