This document describes how to detect, partition, and format your ext4 file system. Mass storage must be provisioned (partitioned and formatted) prior to use. NI recommends using the ext4 filesystem for removable storage devices for best performance. If cross-platform accessibility is required, i.e., with Windows devices, FAT32 can be used. Please note that FAT32 does not support files larger than 4 GByte and partition size is limited to a maximum of 2 TByte. You will have to use Linux shell commands to perform the following steps. Alternatively, to a locally attached display and keyboard, SSH remote access to the LinuxRT system can be used. SSH access can be enabled via NI MAX. Windows 10 b1709 and later ship with a native ssh client that can be used from a command prompt. You can log into your LinuxRT system with ssh admin@<RT system's IP address>.
Note: You must have admin privileges to provision mass storage devices.
WARNING – ALL DISK PARTITIONS AND DATA ON THE TARGETED DRIVE WILL BE LOST!
If you wish to mount the storage automatically after a reboot of the RT system into /media/usb, run the following command once:
echo "/dev/disk/by-id/<storage ID>-part1 /media/usb ext4 rw,users 0 2" >> /etc/fstab