Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Edit: I am not using Sabayon Linux anymore. I suggest to close this question.

I just started experimenting with ZFS on Linux. I use Sabayon Linux with kernel 3.8. I used a whole single USB disk to create a pool. I tried to do only the basics

zpool create -f testing /dev/disk/by-id/usb-WD_My_Passport_0748_575837314333323139313238-0:0

Which create the zpool successfully.

zpool export testing

Goes without any errors. However, when trying to import the pool back:

zpool import

   pool: testing
     id: 18027227446368584194
  state: FAULTED
 status: One or more devices contains corrupted data.
 action: The pool cannot be imported due to damaged devices or data.
   see: http://zfsonlinux.org/msg/ZFS-8000-5E

    testing     FAULTED  corrupted data
      sdb       UNAVAIL  corrupted data

I'm using 64 bit kernel with 2 GB of memory. I'm finding it hard to believe that this is a ZFS on Linux bug, since it's very trivial.


migration rejected from serverfault.com Dec 17 '13 at 15:08

This question came from our site for system and network administrators. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Michael Kjörling, Anthon, slm, rahmu, Shadur Dec 17 '13 at 15:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Michael Kjörling, Anthon, slm, rahmu, Shadur
If this question can be reworded to fit the rules in the help center, please edit the question.

Your USB disk was likely already mounted and using a different file system.

You shouldn't have need to use the -f option to create the pool otherwise.

I didn't use -f in the first attempt. I used it after the first pool got corrupted in order to try again – darwish Apr 23 '13 at 15:51
What says fdisk -l /dev/disk/by-id/usb-WD_My_Passport_0748_575837314333323139313238-0:0 ? – jlliagre Apr 23 '13 at 19:45
Eventually I moved my installation to Gentoo instead of Sabayon. The problem doesn't seem to exist there. It's probably because of a version mismatch between the kernel ZFS module and the ZFS userspace libraries in Sabayon repositories. – darwish Apr 24 '13 at 20:39

protected by Michael Mrozek Apr 22 '13 at 14:21

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.