LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09:24 PM   #1
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 211

Rep: Reputation: 8
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, 09:33 PM   #2
zeos386sx
Member
 
Registered: Oct 2004
Location: waco, tx
Distribution: Slackware64, arch, centos
Posts: 46

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, 09:33 PM   #3
Hb_Kai
Member
 
Registered: Jan 2008
Distribution: Windows 8.1, Debian 7
Posts: 91

Rep: Reputation: 41
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, 09:33 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
If you are going to use it exclusively with Linux, ext4 would be my choice.
 
Old 04-10-2015, 09:37 PM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,429

Rep: Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348
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 09:43 PM.
 
Old 04-10-2015, 09: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, 10: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, 10:43 PM   #8
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,429

Rep: Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348
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 10:45 PM.
 
Old 04-11-2015, 07:45 AM   #9
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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, 10:13 AM   #10
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 211

Original Poster
Rep: Reputation: 8
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, 10:46 AM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

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

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

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

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

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 02:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration