TrueNAS Scale External Drive XFS Format support

gswhiteuk

Dabbler
Joined
Jul 26, 2023
Messages
23
Hi everyone, new to TrueNAS, I just built a new NAS with the latest stable TrueNAS Scale.

I have data from my old UNRAID System, which I want to copy to my new server. I have been searching everywhere for the answer, but I do not know if TrueNAS Scale can mount a drive in this format.

Most generic Linux kernels support XFS, but I do not know if this format will mount and work if I connect to the NAS when it is live.

I could mount the drive on a Linux laptop and network copy, but I would rather copy directly and get faster transfer speeds.

I thought I would reach out to my colleagues in the community as I cannot seem to find a definitive answer.

much appreciate your time
Gary
 
Joined
Oct 22, 2019
Messages
3,641
You'll save time by just using rsync to copy everything over the network, rather than trying to configure a one-time use to mount an XFS filesystem on the NAS directly.
 

NickF

Guru
Joined
Jun 12, 2014
Messages
763
Have you tried plugging it in and mounting the drive? Unfortunately, this is a CLI task.


SCALE is based on Debian, and XFS support has been in the Linux kernel itself for eons.

EDIT: To be clear - if you are not comfortable with the CLI, @winnielinnie 's answer is probably the best answer.
 

gswhiteuk

Dabbler
Joined
Jul 26, 2023
Messages
23
Thanks very much for both replies, very much appreciated.

I am comfortable with CLI and make take the 'mount drive' method as I believe it will be faster than network transfer.

I knew XFS was supported in native Debian, I did not know if the team at TrueNAS had removed anything :)

thanks again.
 

juchong

Cadet
Joined
Aug 5, 2023
Messages
2
I'm also trying to migrate over from Unraid, but it seems that the XFS driver was removed from the TrueNAS kernel for some reason. Mounting the drive via the CLI doesn't work.
 

juchong

Cadet
Joined
Aug 5, 2023
Messages
2
Update:
It looks like the kernel module exists but isn't loaded. It can be loaded manually by typing the following in the terminal:
Code:
sudo modprobe -v xfs

You can verify that the kernel module was loaded by typing the following:
Code:
grep xfs /proc/filesystems
 
Top