LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2015, 08:24 PM   #1
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Rep: Reputation: 10
drive format


excuse me for being a bit thick, but if i am to format an external drive for my linux computer, what do i format it as?
 
Old 04-10-2015, 08:33 PM   #2
zeos386sx
Member
 
Registered: Oct 2004
Location: waco, tx
Distribution: Fedora
Posts: 48

Rep: Reputation: 15
if you are only ever going to use it in linux then you can choose just about any filesystem (ext4, xfs, etc.) you want. if you want to use it on any most oses choose something like exfat.
 
Old 04-10-2015, 08:33 PM   #3
Hb_Kai
Member
 
Registered: Jan 2008
Distribution: Windows 8.1, Debian 7
Posts: 91

Rep: Reputation: 49
Well it depends on your use but I'd recommend ext4. It was created as a fork to ext3 and has a few perfomance improvements, removal of size limits and is generally a reliable filesystem. ext3 is also reliable and recommended.

If you'll be using the external to ever connect to Windows, Linux can read NTFS and FAT32 (except without permissions, passwords etc) and many, many more.

Completely up to you.
 
Old 04-10-2015, 08:33 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
If you are going to use it exclusively with Linux, ext4 would be my choice.
 
Old 04-10-2015, 08:37 PM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,376

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
It depends on the intended use of the external drive.
If the drive is going to be used exclusively with Linux, then a native Linux format such as ext4 is appropriate.
If the drive is going to be shared with Windows computers, then a format readable by Windows such as NTFS is appropriate.
Linux can read and write to NTFS, but native file systems offer better performance.

[EDIT} Too slow! [/EDIT]

Last edited by allend; 04-10-2015 at 08:43 PM.
 
Old 04-10-2015, 08:52 PM   #6
kmhuntly
Member
 
Registered: Mar 2015
Location: Cheektowaga, NY
Distribution: ArchLinux
Posts: 34

Rep: Reputation: 7
drive format

reiserfs!

eh, why not. everyone else already said ext4.
 
Old 04-10-2015, 09:30 PM   #7
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
If Linux only then ext4, xfs or reiserfs.

For Windows and Linux vfat. Ntfs has some issues which has been discussed in this forum. Search it.
 
Old 04-10-2015, 09:43 PM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,376

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
vfat has the issue of a 4GB file size limit, which could be a show stopper in some scenarios of external drive usage.

Last edited by allend; 04-10-2015 at 09:45 PM.
 
Old 04-11-2015, 06:45 AM   #9
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
vfat does not support permissions and therefor it is rendered useless for Linux applications. Only if your goal is file sharing with the outside world you might want to use it. I am not sure how well NTFS and Linux permissions match.

Ext4 and XFS are the normal choices. I think Ext4 is more common. Once XFS had better performance with myriads of small files. I am not sure Ext4 catched up on this.

jlinkels
 
Old 04-11-2015, 09:13 AM   #10
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
I have a nas drive that works perfectly with my Mac either wireless or ethernet. It's a synology disc station 411j. I can read the files on my nas from my linux computer but it doesn't write. Do you guys think the format is the issue?
 
Old 04-11-2015, 09:46 AM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
How are you accessing this drive?
 
Old 04-11-2015, 11:02 AM   #12
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
Ethernet 1gb
 
Old 04-11-2015, 11:04 AM   #13
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 230

Original Poster
Rep: Reputation: 10
I'm trying to write files to it for ardour
 
Old 04-11-2015, 11:14 AM   #14
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I mean is it NFS, CIFS, etc?

For a network share, drive formatting is irrelevant, it's probably a permissions issue.
 
  


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
Format a hard drive to work on machine (dell 32-bit). Have installed new 1 TB drive geoffreywolfe Linux - Newbie 4 02-18-2015 11:29 PM
format hard drive and add to existing hard drive to extend the capacity in linux boby.kumar Linux - Newbie 1 04-10-2013 07:18 AM
partition and format a advanced format drive marcelvl Linux - Newbie 2 01-09-2013 10:06 PM
How do I re-format an ext3 drive to a windows drive? mcalpinei Linux - Newbie 3 03-26-2010 08:14 PM
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 AM.

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