Importing freenas ufs volumes in ubuntu

dynesaur1119

Honorable
Jun 30, 2012
2
0
10,510
Hello,

I just crashed one of my Freenas HDD. Now I can't import it back using Freenas. I hate to lose all my mp3 files in that HDD. Can I import my UFS volume using Ubuntu?
 
FreeNAS normally uses ZFS, which is unreadable in Linux without jumping through a lot of hoops. Whatever the filesystem, if your FreeNAS server won't recognize it I'm afraid there is little chance tahat a Linux system will. I guess there is no harm in trying (as long as you are careful - you don't want to make the situation worse) but TBH I wouldn't hold out high hopes.
 


Not entirely true... there is ZFS for FUSE and also native zfs. Both are available as rpm, deb, ppa, arch aur...
http://zfsonlinux.org/
It is also possible to image the drive by block level with 'ddrescue' and manually mount the image. or from the image, recover specific file types
more info here with examples: https://help.ubuntu.com/community/DataRecovery/ (same methods for any other file system type like UFS)

OP: make an image of the crashed drive first with ddrescue, then try to get files from that.
 

-kg-

Honorable
Jul 19, 2012
1
0
10,510
If it IS a UFS file system instead of ZFS, then you can access it through a BSD installation, since UFS is BSD's default FS. PC-BSD has a LiveDVD/USB distro available with which you can retrieve your files.

I don't know about ZFS support under BSD, if that's what it actually is.