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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-29-2020, 07:05 AM
|
#1
|
Member
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 252
Rep:
|
Mounting to Hard Drives to one Mount Point
I was wondering if the following is possible?
Hard drive one mounted to /home/
This hard drive starts to fill up.
Hard drive two also (somehow) mounted to /home/
Is this a possibility? If so, how?
If it's not, why isn't it a possibility? I'm not asking to be snarky, I'd truly like to know and understand.
|
|
|
03-29-2020, 07:18 AM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,413
|
No.
When you mount the second (larger) drive to /home, the previous mount (and all the files there-in) is hidden under the later mount. A better option is to mount the second disk at a subdirectory - say /home/videos or somesuch. You still have the same issue, but probably more manageable - just move the old videos out of the way first, and later reload them back.
|
|
1 members found this post helpful.
|
03-29-2020, 07:21 AM
|
#3
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
You can mount as many disks as you like to /home, but the most recent mount will hide all the others rather than merging the storage space. Why? It has been the semantics of mount since the inception of UNIX.
If you want to extend a filesystem over several disks, use RAID or a volume manager (LVM is built-in). A union mount may also help.
|
|
|
03-29-2020, 07:21 AM
|
#4
|
Member
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 252
Original Poster
Rep:
|
Quote:
Originally Posted by syg00
No.
When you mount the second (larger) drive to /home, the previous mount (and all the files there-in) is hidden under the later mount. A better option is to mount the second disk at a subdirectory - say /home/videos or somesuch. You still have the same issue, but probably more manageable - just move the old videos out of the way first, and later reload them back.
|
Thanks! Much appreciated. That makes perfect sense and I thank you too, for a reasonable alternative solution!
|
|
|
03-29-2020, 07:25 AM
|
#5
|
Member
Registered: Feb 2003
Location: USA
Distribution: Kubuntu, Manjaro
Posts: 252
Original Poster
Rep:
|
Never knew about union mounts before. Interesting read. Thank you.
|
|
|
All times are GMT -5. The time now is 10:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|