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

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?
kwh3856Asked:
Who is Participating?
 
fosiul01Connect With a Mentor Commented:
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
 
fosiul01Commented:
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
 
kwh3856Author Commented:
fosiul01,
I will check this tomorrow and let you know.  Thank you very much for your reply.

thanks
kenny
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
kwh3856Author Commented:
[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
 
fosiul01Commented:
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
 
kwh3856Author Commented:
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
 
kwh3856Author Commented:
That is excactly what I needed to know.  Thank you very much.
0
 
fosiul01Commented:
you are welcome
0
 
kwh3856Author Commented:
Thank you very much.

Thanks
Kenny
0
All Courses

From novice to tech pro — start learning today.