Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
If it's going to be accessed by Windows then I think your only real option is to format it NTFS -- I would do that under Windows as I'd expect it to do it "more properly" but there's no real reason behind that assumption. If you use ext you'd need a driver under Windows and last time I checked it only did ext2 and if you use exfat you're limited to files smaller than 4GB (not that I know whether you can even format a 1TB drive with fat).
As for speed, sorry I've not really played with USB drives that much.
FAT is indeed an option for a 1TB drive. I have a 2TB drive formatted as vfat. I chose that because I had heard that there were Linux systems that were not fully compatible with NTFS, but that information may be inaccurate or out of date by now.
One disadvantage of FAT is the file size limit, 4GB-1byte. Another disadvantage is the relatively large allocation unit (cluster size). My 2TB is formatted with 16KB clusters, so in some applications there would be a lot of slack space associated with small files. (I use this drive mostly for large files, so in my case there is very little slack.) One more disadvantage: the FAT itself takes up a fair bit of space, 512MB in my case, I think.
As for transfer rates, I am seeing about 21 MB/sec copying from one USB drive to another USB drive, and 34 MB/sec copying from USB drive to internal SATA drive. These are USB hard drives with external power supplies and 3.5 inch HDD units inside. I do not know whether similar rates are obtained with USB-bus-powered drives, or with drives with 2.5 inch internal HDDs.
Thanks for the replies, i may try vfat after looking at some stuff i found on USB storage, and linux ntfs performance My windows install is pretty much vestigial at this point anyway, if vfat and ntfs dont perform well i guess ill try reiserfs.
You could try to partition your external drive using cfdisk(1), with
1. a vfat partition readable and writable by both linux and windows (maybe 100 Gb, more if needed)
2. another partition with a Linux-only filesystem
I would not advise a reiserfs filesystem, since it is not clear whether it is going to be maintained
in the future. I think ext3 would be better if you want to ensure compatibility with all existing
linux systems. xfs or jfs would also be interesting options, but (1) you cannot shrink an xfs partition,
(2) RHEL, CentOS, Scientific Linux (at least) only support ext2/3/4 on 32bit machines, so you may not
be able to exchange data with these.