::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 |
install the drive, make a file system and mount the dirve as '/media' and that should do it
|
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. |
Quote:
Cool |
Quote:
Quote:
|
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 |
All times are GMT -5. The time now is 11:41 AM. |