Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
 config:

    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.

share

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

This question came from our site for professional 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.

1 Answer 1

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.

share
    
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 answers, posting an answer now requires 10 reputation on this site.

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.