FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
how to identify partitions in a logical volume

 
Post new topic   Reply to topic    BLAG Forum Index -> support
View previous topic :: View next topic  
Author Message
wabash
PostPosted: Thu Jun 05, 2008 6:22 am    Post subject: how to identify partitions in a logical volume Reply with quote

I'm sure there must be a simple way to do this but I haven't stumbled across it. I'm doing some remote management of a server someone else (no longer around) set up. The server uses logical volumes. How do I use the command line to list which partitions are grouped in which volumes? I'm sure there are gui volume management tools but I'm not where the server is.

Thanks in advance for any help!

john maclean
PostPosted: Thu Jun 05, 2008 10:52 am    Post subject: Reply with quote

lvs and lvscan is a start.

_________________
BLAG 'em up!
extraspecialbitter
PostPosted: Thu Jun 05, 2008 12:36 pm    Post subject: Reply with quote

First, make sure the logical volume groups are visible and active:

Code:
vgscan
vgchange -a y


Next, display the physical volumes used in logical groups:

Code:
pvdisplay


List the logical volume groups themselves:

Code:
vgdisplay


Lastly, the logical volumes themselves:

Code:
lvdisplay


Hope this helps...

wabash
PostPosted: Thu Jun 05, 2008 5:22 pm    Post subject: Reply with quote

I'd tried various scan and display commands but somehow missed pvdisplay. That seems to do it. Thanks!
Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> support
Page 1 of 1

Protected by Anti-Spam ACP