Skip to content
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

Debian Wheezy amd64 7.5 apt-get update & upgrade => zfsonlinux broken #116

Closed
dpchrist opened this issue Jun 22, 2014 · 2 comments
Closed

Comments

@dpchrist
Copy link

zfsonlinux/pkg-zfs issue:

I have a machine running Debian Wheezy amd64 7.5. This morning, I did:

# apt-get update
# apt-get upgrade

After rebooting, my ZFS on Linux pool and file systems no longer work:

# zpool list
no pools available

# zfs list
no datasets available

I believe the ZFS kernel module is loaded:

# dmesg | grep -i zfs
[   30.541398] ZFS: Loaded module v0.6.3-763_ge883253, ZFS pool

version 5000, ZFS filesystem version 5

I have a single ZFS pool that uses two disks in a mirror, and they appear
to be working:

# l /dev/mapper/ST*
/dev/mapper/ST3000DM001-9YN_S1F042HH_crypt@
/dev/mapper/ST3000DM001_1CH_W1F1R3VC_crypt@

Perhaps an additional clue:

# zpool import
zpool: ../../lib/libzfs/libzfs_import.c:356: Assertion `nvlist_lookup_uint64(zhp->zpool_config, ZPOOL_CONFIG_POOL_GUID, &theguid) == 0' failed.
Aborted

STFW I see posts about kernel module and userland mismatches (?):

https://github.com/zfsonlinux/zfs/issues/2400

One work-around seems to be manually unloading kernel modules, manually finding and removing various ZFS files, rebooting, and re-installing debian-zfs. This is more complexity/ risk than I would like to undertake.

I am not adverse to wiping the system drive, doing a fresh install of Wheezy amd64 7.5, and doing a fresh install of debian-zfs. If I did so, would I be able to recover (import?) my ZFS pool?

The best solution would be for an update of http://archive.zfsonlinux.org/debian, I do an apt-get update & upgrade, reboot, and ZFS works again.

I need to resolve this problem in a timely fashion. Please advise.

TIA,

David

@FransUrbo
Copy link
Contributor

Well known, and announced well in advance on the list:

https://groups.google.com/a/zfsonlinux.org/forum/#!searchin/zfs-discuss/Turbo$20Fredriksson%7Csort:date/zfs-discuss/jAMnJf_ve1A/s5NWdaxPKK8J

You should have issued apt-get dist-upgrade, not apt-get upgrade. And the pool will 'come back' after a reboot.

@dpchrist
Copy link
Author

On 06/23/2014 01:55 AM, Turbo Fredriksson wrote:

Well known, and announced well in advance on the list:
https://groups.google.com/a/zfsonlinux.org/forum/#!searchin/zfs-discuss/Turbo$20Fredriksson%7Csort:date/zfs-discuss/jAMnJf_ve1A/s5NWdaxPKK8J

Okay. I believe I'm subscribed now.

You should have issued apt-get dist-upgrade, not apt-get upgrade. And the pool will 'come back' after a reboot.

Problem solved -- thank you. :-)

David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants