Solved

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

Posted on 2008-10-24
9
222 Views
Last Modified: 2013-12-16
I have a VOLGroup 00 Physical View defined as follows:
/dev/cciss/c0d0p2
/dev/cciss/c0d0p1
/dev/ccisss/c0d2p1
/dev/cciss/c1d0p1

The Logical View is defined as
VolGroup 00
LogVol00
LogVol01

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?
0
Comment
Question by:kwh3856
  • 5
  • 4
9 Comments
 
LVL 29

Expert Comment

by:fosiul01
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 ??
0
 

Author Comment

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

thanks
kenny
0
 

Author Comment

by:kwh3856
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
[root@123]#

This is what I get.

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


0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 29

Expert Comment

by:fosiul01
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
tmpfs

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

Author Comment

by:kwh3856
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?

Thanks
Kenny

0
 
LVL 29

Accepted Solution

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


0
 

Author Comment

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

Expert Comment

by:fosiul01
ID: 22834801
you are welcome
0
 

Author Closing Comment

by:kwh3856
ID: 31509776
Thank you very much.

Thanks
Kenny
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now