Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.