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

can't import - zpool has unsupported features #2055

Closed
dvwiz opened this issue Jan 16, 2014 · 4 comments
Closed

can't import - zpool has unsupported features #2055

dvwiz opened this issue Jan 16, 2014 · 4 comments
Milestone

Comments

@dvwiz
Copy link

@dvwiz dvwiz commented Jan 16, 2014

My zpool was created on a Freenas 9.2 system, and I'm trying to import it on my Ubuntu 12.04 system.

It seems that the zfs version on the importing system doesn't support the feature com.delphix:spacemap_histogram.

I tried installing everything in the ZoL PPA as well as ubuntu-zfs, but the result of zpool import is still the same:

$ sudo zpool import
   pool: VAULT
     id: 615913674916999xxxx
  state: UNAVAIL
status: The pool can only be accessed in read-only mode on this system. It
    cannot be accessed in read-write mode because it uses the following
    feature(s) not supported on this system:
    com.delphix:spacemap_histogram
action: The pool cannot be imported in read-write mode. Import the pool with
    "-o readonly=on", access the pool on a system that supports the
    required feature(s), or recreate the pool from backup.
 config:

    VAULT                                UNAVAIL  unsupported feature(s)
      mirror-0                           ONLINE
        ata-ST4000VN000-1H4168_Z300xxxx  ONLINE
        ata-ST4000VN000-1H4168_Z300xxxx  ONLINE

So, is this import-able? Thanks for everything, by the way :-)

@DeHackEd
Copy link
Contributor

@DeHackEd DeHackEd commented Jan 16, 2014

Like it said, you can import it read-only because the spacemap_histogram feature allows it.
zpool import VAULT -o readonly=on

Alternatively you will need to wait for the spacemap_historgram feature to get added to ZFS On Linux. This isn't likely to happen until 0.6.4 is released.

@dvwiz
Copy link
Author

@dvwiz dvwiz commented Jan 16, 2014

Thanks for the info.

If my zpool is a mirror consisting of 2 disks, is there a way to import readonly and create a new, writable zpool with the contents?

I understand that my question is outside the scope of this issue - I'm just asking if you can give me some advice out of the kindness of your heart.

@aarcane
Copy link

@aarcane aarcane commented Jan 16, 2014

If my zpool is a mirror consisting of 2 disks, is there a way to import
readonly and create a new, writable zpool with the contents?

You can always remove one copy, create a new pool on that disk, then use
zfs send to forge a new copy, but if either disk dies, you're to have a bad
day. Be sure to scrub first.

I understand that my question is outside the scope of this issue - I'm
just asking if you can give me some advice out of the kindness of your
heart.

All the advice we give is out of the kindness of our hearts.

@dvwiz
Copy link
Author

@dvwiz dvwiz commented Jan 16, 2014

Beautiful. Thanks all!

@dvwiz dvwiz closed this Jan 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants