zpool import from linux to freenas

swbartley

Explorer
Joined
Mar 17, 2014
Messages
58
I am trying to import a zfs pool from a linux operating system that is using flags that is not supported in Freenas. I tried to force import and got the below message:
This pool uses the following feature(s) not supported by this system: org.zfsonlinux:userobj_accounting (User/Group object accounting.)
All unsupported features are only required for writing to the pool. The pool can be imported using '-o readonly=on'.
cannot import 'tanker': unsupported version or feature

I then tried the read-only command: zpool import -o readonly=on tanker and I got the following: cannot import 'tanker': pool may be in use from other system.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You may need to to use the -f or -F flag to force the import to go ahead (still with read-only).

This usually happens when the pool was not properly exported from the previous host before removal.
 

swbartley

Explorer
Joined
Mar 17, 2014
Messages
58
You may need to to use the -f or -F flag to force the import to go ahead (still with read-only).

This usually happens when the pool was not properly exported from the previous host before removal.

I've tried the force -f command and I still get the same message:
zpool import -F readonly=on tanker
readonly=on': no such pool available

zpool import -F tanker
cannot import 'tanker': pool may be in use from other system
use '-f' to import anyway
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Have you tried with the lower case f?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
zpool import -F readonly=on tanker
readonly=on': no such pool available
This attempt failed because you missed the -o in front of readonly=on

zpool import -F tanker
This one failed but suggested you use -f instead... can you share the output of an attempt with -f and with the -o readonly=on?
 

swbartley

Explorer
Joined
Mar 17, 2014
Messages
58
This attempt failed because you missed the -o in front of readonly=on


This one failed but suggested you use -f instead... can you share the output of an attempt with -f and with the -o readonly=on?

I have it imported the issue now is I can't make a snapshot to copy it to another pool because its in ready-only mode. How can I retrieve the data?
 

Attachments

  • Screenshot 2020-01-02 20.35.41.png
    Screenshot 2020-01-02 20.35.41.png
    64.5 KB · Views: 359

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
rsync
 
Top