How to mount an external EXT4 drive for data restoration

gswhiteuk

Dabbler
Joined
Jul 26, 2023
Messages
23
Apologies I am New to Truenas. I have built a new system and need to restore a considerable amount of data.

SMB is so slow.

is there a way via the menus to mount drives that are external, even if they are read only to copy data from please?

I have searched extensively but can only find answers for older freeNAS systems.

or would I have to explore the command line please

thanks in advance

Gary
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
Try datasets screen in the UI, then pick "Import Data".
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I would draw your attention to this:


https://www.truenas.com/docs/scale/scaletutorials/storage/datasets/importingdata/ said:
What about EXT3 or EXT4 file systems?
Importing an EXT3 or EXT4 filesystem is possible in some cases, although neither is fully supported. EXT3 journaling is not supported, so those file systems must have an external fsck utility, like the one provided by E2fsprogs utilities, run on them before import.
EXT4 file systems with extended attributes or i-nodes greater than 128 bytes are not supported. EXT4 file systems with EXT3 journaling must have an fsck run
As far as I see in the forums, plenty of people say it doesn't work for ext4.

By all means try, but likely you'll need to do something else, like mounting it on a linux system and copy the data across with rsync. (maybe it can be made to work in a VM if you have the suitable controller setup to allow a whole controller to be used for PCIe passthrough to it)
 

gswhiteuk

Dabbler
Joined
Jul 26, 2023
Messages
23
Thanks so much to everyone who replied. Yes EXT4 is not supported, so I am using rsync to copy over from a laptop, which will take considerably longer, but hey ho :)

thanks again
Gary
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
Hah you're both right. I thought it was as I had used the import once but it wasn't ext4. Sorry about that.
 
Top