How to read FreeNAS pool in Ubuntu?

wapster

Cadet
Joined
Jul 30, 2020
Messages
3
Hello, TrueNAS (FreeNAS) Guru.

The situation is like this:
my FreeNAS server (11.3) is taking too long to resilvering..., produces errors and generally freezes :(
All this after a sudden power outage.

It was decided to read data from Ubuntu 22.04.3 LTS

To do this I followed the instructions https://openzfs.github.io/openzfs-docs/Getting Started/Ubuntu/index.html#installation
But I don’t see my pool :(

Code:
# zpool status
>> no pools available


but the disks themselves are visible in the system:

Code:
# lsblk -f
sda                                                                                       
├─sda1                                                                                   
└─sda2      zfs_member 5000  IronWolf 8639906193682941393                                 
sdb                                                                                       
├─sdb1                                                                                   
└─sdb2      zfs_member 5000  IronWolf 8639906193682941393


Tell me how to make disks from FreeNAS readable in Ubuntu (Linux)?
 

Attachments

  • Screenshot from 2023-10-21 15-49-38.png
    Screenshot from 2023-10-21 15-49-38.png
    18.4 KB · Views: 96

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
You either forgot to run zpool import or forgot to tell us that you'd run it.
 

wapster

Cadet
Joined
Jul 30, 2020
Messages
3
:rolleyes: Yes, I tried to run
Code:
zpool import

but apparently with the wrong flags (options).

As soon as I asked the question, I received an answer :)
This happens often in life...

The correct command for me is this:
Code:
sudo zpool import -o readonly=on -f IronWolf


Everything worked!
Thank you very much, Internet and, in particular, this thread
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
And are you actually seeing an improvement in your original issue? OpenZFS 2.0 brought a bunch of improvements that are missing in FreeNAS 11.x.
 
Top