LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 03-01-2010, 02:18 PM   #1
rgannon
LQ Newbie
 
Registered: Feb 2010
Location: PEI
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 0
Question How should a secondary,external hard drive be partitioned?


Having just moved to Linux from Windows, I have never considered whether or not to partition my 250 GB external hard drive. As of right now it will only be used for data storage. Should it be partitioned? If so, what size partitions?
 
Old 03-01-2010, 02:40 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
That is completely up to you, do whatever you like with it.

If you are dual booting you might want to consider putting it into two partitions and keeping one NTFS for Windows and the other a Linux filesystem. Although with the new versions of NTFS-3G, Linux support for NTFS is pretty much perfect for the normal user.
 
Old 03-01-2010, 02:46 PM   #3
dchicks
LQ Newbie
 
Registered: Nov 2009
Posts: 9

Rep: Reputation: 0
This is probably more a matter of personal preference than anything having to do with Linux. I can imagine a lot of different scenarios that would call for different solutions. Here are a few questions to ask yourself, though, that might help you make a decision.
  1. Does the drive have valuable data on it now?

    You probably wouldn't want to partition/reformat it, in this case. That's fine. You can still mount it under Linux and use it, as is.
  2. Do you intend to use the drive with another Windows-based system?

    If this is the case, you probably want to stick with a Windows-compatible format like FAT32 or NTFS. Again, it'll work fine with your Linux system.
  3. Do you often store files on the drive that have a finite timeliness? (temporary files?)

    Here's a case where you might want to think about extra partitions - especially if you reformat the drive using ext3 or ext4. While ext partitions perform well even under somewhat fragmented circumstances, you can save yourself a little bit of performance hassle by creating a partition where temporary files can be saved. Then, you can reformat the partition once in a while as a poor man's "defrag." I use this strategy on my Mac for video/audio files that I'm doing processing on.

I think the biggest decision point is whether you need to use it with Windows or not, but then I tend to have a Linux-centric view of the world. :-)

I hope you find this helpful,
Dave
 
Old 03-01-2010, 03:21 PM   #4
rgannon
LQ Newbie
 
Registered: Feb 2010
Location: PEI
Distribution: Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry guys....I should have added that I'm done with Windows so that is not a concern. I'm new to Linux and it seems to be a totally different mind-set than Windows. I'm very happy that I finally switched but sometimes it's hard to ask a question when you're not sure what question to ask.
 
Old 03-01-2010, 11:07 PM   #5
dchicks
LQ Newbie
 
Registered: Nov 2009
Posts: 9

Rep: Reputation: 0
No worries, man. We've all been there. Heck, sometimes I still feel like I'm there! :-) You're on a good path. Hang in there, and I promise it'll be worth the effort.

Dave
 
Old 03-01-2010, 11:15 PM   #6
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 4,829

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Typically I would recommend just to use one partition formated as ext3 on external drives.

Cheers,

Evo2.
 
Old 03-02-2010, 02:11 AM   #7
roy_lt_69
Member
 
Registered: Aug 2006
Location: Vancouver, BC, Canada
Distribution: Slackware, Bodhi, Mepis, AntiX, Mint
Posts: 171

Rep: Reputation: 20
It depends on what you will be storing on the external drive.

I tend to prefer having several partitions since it can be a pain to run disk/filesystem checks on a huge partition which can take a lot of time.
And if something goes wrong, by having multiple smaller partitions you may at least be able to salvage the other partitions' data.
After all we are talking about an external device here.

Multiple partitions can also be more versatile, eg you can use one of the partitions for installing other Linux distros to play with, without touching your primary one.

On the other hand, if you will be storing large files (eg video, database, etc), then you may want a single partition but in that case I would recommend using something other than ext2/3 to get better performance (that was the case for me anyways).


Just my opinion.
I am sure others can give you reasons for a single partition.
 
Old 03-02-2010, 02:36 AM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
I know you are done with windows. Still you will need to consider if the drive needs windows compatibility for some reason. There are some things to consider in that regard:
  • Windows will only see the first partition in such a device, I discovered that the hard way. That means that if you make more than one partition in a usb stick or hd you will only see the first one from windows.
  • ntfs-3g support in linux is a bit tricky. It works well, mostly. But bear in mind that it will allow you to create files with characters that are illegal under some Windows versions. That means you won't be able to read those files from Windows. This can be easily worked around via shell scripting though. But you need to remember to filter all the files after copying them to the drive.
  • FAT is quite limited, no big files and such stuff.

If you truly don't want to share files with any Windows machine (friends, family, etc.) then just format it as ext3, tune2fs -m0 it to remove reserved space and be happy. You don't even need to partition it. Just format the whole device (i.e. /dev/sda instead of /dev/sda1).

Last edited by i92guboj; 03-02-2010 at 02:37 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to know the command which shows all non-partitioned & partitioned hard drive saidul Linux - Newbie 2 12-04-2007 04:02 PM
My partitioned hard drive-how to get more use out of it lrecine Linux - Desktop 2 09-08-2006 07:17 AM
Installing Mandrake 10.1 (Community) on secondary external hard drive Frost0788 Mandriva 4 07-03-2005 02:30 PM
external partitioned usb hard disk mr_a_ali Linux - Hardware 2 08-14-2004 10:22 AM
Hard drive partitioned and cannot view files Johnny2003 Linux - Newbie 4 01-20-2004 07:22 PM


All times are GMT -5. The time now is 07:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration