We currently/still write to tape for off-site backups (avg size is 80 GB per day) and the robot is misbehaving as of late. I'm setting up an NFS share on Ubuntu Server 14 (16 when it releases) to receive off-site backups from a Solaris 5.9 server, then I'll write the backup to a USB flash drive. Testing so far has been impressive. The OS drive on US is SSD and the mobo has USB 3 ports. I created a 1 GB and 10 GB file in the NFS folder with
dd and copied to the flash drive. Write speeds to the flash drive were over 200 MB/s. However, the 10 GB file failed at 4 GB because of the FAT32 file system on the flash drive.
I don't yet know the format of the backup. I'm assuming it's using
tar to write to tape; if so, I could still use
tar and just write out to a file. I digress.
I deleted and re-created the partition on the USB drive, then formatted the new partition with NTFS. Write speeds went down to around 70 MB/s. I then formatted the flash drive as ext2. Write speeds went down further to around 45 MB/s. Is there a faster file system type or optimal disk geometry (block size, cluster size, inode, superblock count, etc.) which would get me back to 200+MB/s, or at least over 100 MB/s?
UPDATE: User (@Brian) suggested exFAT. exFAT had the faster write speeds of the different FSs I tried.
I formatted the flash drive as follows:
mkfs.ext4 -b -4096 -L 'PNY128GB' -N 4096 -v /dev/sdb1 yielded 96 MB/s
mkfs.exfat -n 'PNY128GB' yielded 106 MB/s