How do you determine what directories live in what volume when you view the Logical Volume Management program?

Posted on 2008-10-24
Last Modified: 2013-12-16
I have a VOLGroup 00 Physical View defined as follows:

The Logical View is defined as
VolGroup 00

How do I determine where my files actually live.  I have a /u/master1/data and a /u/master2/data and other directories that I need to understand where they live.  Can someone show me how to determine this information?
Question by:kwh3856
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
LVL 29

Expert Comment

ID: 22799045
when you have setup your partition
you must of did this

LogVol00 for /var
logVol01 for /home

is not it ??

if you do df -h
what do you  see ??

Author Comment

ID: 22823996
I will check this tomorrow and let you know.  Thank you very much for your reply.


Author Comment

ID: 22834255
[root@123]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00             528G   11G  491G   3% /
/dev/cciss/c0d0p1                                             99M   13M   81M  14%  /boot
tmpfs                                                                     5.9G     0  5.9G   0%     /dev/shm

This is what I get.

Is there a way to divide the VolGroup00 into seperate volume and then create directories on those volumes?

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

LVL 29

Expert Comment

ID: 22834635
ok what happended here is:
when you installed your OS, you chose to use lvm for everything.

so currently /var,/home/ and other directory is in one logical volume.

what i do is always:
i put /var,/home,/usr  in different volume so it would be like this

/dev/mapper/VolGroup00-LogVol00             528G   11G  491G   3% /
/dev/mapper/VolGroup00-LogVol01             528G   11G  491G   3% /
/dev/mapper/VolGroup00-LogVol02             528G   11G  491G   3% /
/dev/cciss/c0d0p1                                             99M   13M   81M  14%  /boot

benefits is: if suppose /home is require more space, i will just add another hardrive or if there is any emptry space in other logical volume, i will use that one and extend /home logical volume .

now your problem is, everything is in One logical volume

now you can create other volume as well , but do you have any extra space in your physical volume??

Author Comment

ID: 22834689
No.  I used all the space when I installed the system.  Is there any drawbacks to this configuration?  I currently have 12 drives in my system.  It seems that every thing is spread out across those drive which would give me I belive that best performance.  If I am not worried about space, this it should not be a big deal.  Is that correct?


LVL 29

Accepted Solution

fosiul01 earned 500 total points
ID: 22834741
ok you are using Scsi hardrive is not it ??

technicaly there is no draw backs of this configuraiton.
benefits is : if any drive needs extra space its will increase automatically within the logical volume. if you are running out of space just increase your dirves and increase your logical volumes


Author Comment

ID: 22834776
That is excactly what I needed to know.  Thank you very much.
LVL 29

Expert Comment

ID: 22834801
you are welcome

Author Closing Comment

ID: 31509776
Thank you very much.


Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix process listing into CSV format 3 87
php56-php-mcrypt for rhel7 php56 1 172
exchange, squid, proxy, linux 6 87
Logrotate Every Saturday 5 44
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question