Visit Jeremy's Blog.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 09-23-2010, 09:16 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 11

Rep: Reputation: 0
RHEL 5 mounting multiple logical volumes to the same mount point?

I have a large group of locally attached disks that I am trying to configure as scratch space for data processing. I've created a volume group with sdb and sdc (75TB configured as raid 5)and I am trying to create small manageable logical volumes of around 10TB each and assign them to the same mount point. When I do this and then do a df -h on the mount point it shows the amount of space from whatever volume I mounted last.

Is there any way to mount multiple volumes to a single mount point so that all of the available space can be utilized?

Thanks in advance.
Old 09-23-2010, 10:52 AM   #2
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
AFAIK, mounting different LVs to a common mount point is not possible.

Moreover, even if it was possible, when you are presenting 7-8 LVs in chunks of 10TB to the same mount, you are essentially presenting the entire VG itself. So why not present the whole thing instead?
1 members found this post helpful.
Old 09-23-2010, 10:54 AM   #3
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,945
Blog Entries: 14

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163

If you want all the space in a single mount point you need to create a single logical volume of that size.

An alternative might be to make submounts and putting your directory structure such that everything is mounted separately.

e.g. first mount point is /database next is /database/mount1, next is /database/mount2, next is /database/mount3 etc... Or alternatively first is /database next is /database/mount1 next is /database/mount1/mount2 next is /database/mount1/mount2/mount3 etc...

Of course the order of the mounts in /etc/fstab is important if you do that. /database must appear before all the others. In the alternative above /database/mount1 must appear before /database/mount1/mount2 etc...

Of course mount1, mount2 etc... are just examples - you can name them bob, fred, joe etc... or anything you want.

Last edited by MensaWater; 09-23-2010 at 10:55 AM.
1 members found this post helpful.


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
mount multiple lvm to single mount point mplike Linux - Software 3 03-02-2010 04:43 AM
finding and mounting logical volumes Steve Riley Fedora 5 04-14-2007 03:39 PM
Can't mount multiple GFS volumes? mlewis Linux - Enterprise 0 09-12-2006 04:25 PM
Mounting Logical Volumes acidblue Fedora 6 01-28-2006 10:02 PM
Mounting multiple logical partitions - suse 9.3 elroacho Linux - Hardware 2 10-28-2005 07:00 PM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration