LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-29-2013, 02:44 PM   #1
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
New USB external drive questions


The drive is a seagate 1tb usb drive with no external power supply. I'm running slackware 64 current. The drive comes unformatted, i think im ok with setting it up. My questions are:

1. If i want the drive readable and writeable to both windows and linux what is the best file system to use?

2. What kind of realistic transfer rates can i expect with USB 2.0 ?

thanks
 
Old 04-29-2013, 03:50 PM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
1 members found this post helpful.
Old 04-30-2013, 12:39 AM   #3
Beryllos
Member
 
Registered: Apr 2013
Location: Massachusetts
Distribution: Debian
Posts: 529

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
1 members found this post helpful.
Old 04-30-2013, 10:50 AM   #4
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
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.
 
Old 05-08-2013, 08:53 AM   #5
edorig
Member
 
Registered: Apr 2013
Location: France
Distribution: Slackware; Ubuntu
Posts: 134

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use desktop with usb-usb cable as external bootable optical drive for netbook seancarver Linux - Laptop and Netbook 3 11-02-2009 09:38 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
More external hard drive questions -.-' lashnjo Linux - General 1 06-23-2005 02:38 PM
USB Thumbdrive and/or External CD Drive on Redhat 6.2..and maybe some other questions pantner Red Hat 0 10-30-2004 10:30 PM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration