LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 09-23-2010, 09:16 AM   #1
sencha
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
valen_tino
Member
 
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
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
No.

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.
  


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
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


All times are GMT -5. The time now is 07:32 PM.

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