Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
230 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month9 days, 14 hours left to enroll

927 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