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 11-28-2005, 08:04 PM   #1
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Rep: Reputation: 30
Linux and Hard drives question


I have a quick question. I just set up a linux box on a old system
it was my aunts home computer then the power supply went out and she wanted to get a new computer and dint know what to do with it so she gave it to me. the computer only has a 6 gig hard drive.. but i plan on adding 2 more hard drives as soon as i can. now here is the question.
my users home directories are on this hard drive and after this hard drive fills up or gets close to it will it flow over to the other drives i plan on adding or do i have to set this up manualy ?
 
Old 11-28-2005, 08:18 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Uh, not by default is the best way to answer this question.

It won't. Think of normal filesystems (ext3, reiser, xfs) and partitions (hdb1 hda2...) as seperate drives themselves. You couldn't just have data flow over from one drive to the other without something in place that deals with this. My preferred way is to LVM to do what you are asking.

Using LVM you can connect a bunch of drives together to one device, create 1 partition across the drives, and mount it at a given mount point. However, once that mount point is full, if there is no interaction by the user/admin (to add more space) then it will simply stop writing to that mount point. You'll get a 'disk full' error (depending the app it may word it differently). You'll still be able to write to other mount points, assuming you have other devices/partitions mounted to them (such may be the case with /var or /tmp depending on your setup). With LVM, once your data nears completely filling the disk, you can easily plop in another disk and using lmvtools you can grow the volume (the partition per se) and then the filesystem (xfs_grow for example) and have a bigger device (as it will appear).

RAID is another option.

HTH.

If all of that is confusing, the easy answer is no. Once the partition is full, it's full.

Cool
 
  


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
Dual boot question- 2 hard drives Peace of Pi Linux - Newbie 7 05-19-2005 07:23 AM
External Hard Drives for Linux vicky4u_hyd Linux - Hardware 18 06-13-2004 08:37 AM
question on IDE and Serial ATA hard drives illiniguy3043 Linux - Newbie 1 06-13-2004 03:01 AM
install recommendations (hard drives question) jasonmantey Linux - Newbie 2 05-20-2004 07:19 PM
linux and window on two hard drives ariana Linux - Newbie 9 02-26-2003 10:49 AM

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

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