|
| View previous topic :: View next topic |
| Author |
Message |
wabash
|
Posted: Thu Jun 05, 2008 6:22 am Post subject: how to identify partitions in a logical volume |
|
|
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
|
Posted: Thu Jun 05, 2008 10:52 am Post subject: |
|
|
lvs and lvscan is a start.
|
_________________ BLAG 'em up! |
|
 |
extraspecialbitter
|
Posted: Thu Jun 05, 2008 12:36 pm Post subject: |
|
|
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:
List the logical volume groups themselves:
Lastly, the logical volumes themselves:
Hope this helps...
|
|
|
 |
wabash
|
Posted: Thu Jun 05, 2008 5:22 pm Post subject: |
|
|
I'd tried various scan and display commands but somehow missed pvdisplay. That seems to do it. Thanks!
|
|
|
 |
|
|
|