LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-24-2003, 06:03 PM   #1
XxAndyxX
Member
 
Registered: Mar 2003
Location: Houston, TX
Distribution: RedHat 8.0
Posts: 79

Rep: Reputation: 15
::Turning 2 hard drives into 1::


I have an 80gb hard drive on my RedHat Linux 8.0 and it's almost full, I'm putting a 100gb in there with the 80gb. I store like all my files in one folder on the hard drive */media* when I install the 100gb hard drive is there a way so that I can continue installing everything into that folder and once my 80gb is full it'll just start filling the 100gb?

Thanks
-Andy
 
Old 05-24-2003, 06:12 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
install the drive, make a file system and mount the dirve as '/media' and that should do it
 
Old 05-24-2003, 06:15 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yes, I prefer the symlink way, however you could look into using LVM:
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html
I think you might be able to do something like this with RAID as well, but that'd require some more hardware (unless of course you went software )

The symlink way:
mount -t /dev/hdx /mnt/newhd
ln -sf /mnt/newhd /media
This way does require you to copy your existing files onto the new hd, so it doesn't take advantage of the room on the current HD, not quite as decent an idea as LVM, but much less work.
 
Old 05-24-2003, 06:17 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by manthram
install the drive, make a file system and mount the dirve as '/media' and that should do it
Would that keep the existing files in there/accessible? That'd sure be nice if it does.

Cool
 
Old 05-24-2003, 06:17 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Quote:
Originally posted by MasterC
Yes, I prefer the symlink way, however you could look into using LVM:
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html
I think you might be able to do something like this with RAID as well, but that'd require some more hardware (unless of course you went software )
Raid would definately be the way to go.

Quote:
Originally posted by MasterC
The symlink way:
mount -t /dev/hdx /mnt/newhd
ln -sf /mnt/newhd /media
This way does require you to copy your existing files onto the new hd, so it doesn't take advantage of the room on the current HD, not quite as decent an idea as LVM, but much less work.
MasterC - I'm interested, what would be the advantage of that over just changing the mount point?
 
Old 05-24-2003, 06:41 PM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I don't know However if I would have said:
ln -sf /mnt/newhd /media/newhd
Then he could keep his existing files going there until they run out, then move them up one directory (but could still do that with changing the mount point too).
So not really an advantage, but rather another option Also, the "changing of the mount point" wasn't there when I originally replied, so I didn't see it until after I submitted.

And 1 more thing:
I don't know why, but I prefer symlinks on my box over changing mount points, I use them all over the place instead of remounting a device elsewhere, really, I don't have a good reason I just do it.

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
Hard drives kuplo Linux - Newbie 10 11-29-2005 07:24 PM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 06:12 PM
Turning off hard disk redsea Linux - General 2 01-23-2004 06:33 AM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM
2 Hard Drives Randy-RH7 Linux - Newbie 2 10-05-2001 06:36 AM


All times are GMT -5. The time now is 11:41 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