BLAG

BLAG Forums
It is currently Mon Dec 22, 2014 5:42 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jun 05, 2008 6:22 am 
Offline

Joined: Tue Jan 25, 2005 9:09 pm
Posts: 72
Location: chicago
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!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 05, 2008 10:52 am 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
lvs and lvscan is a start.

_________________
BLAG 'em up!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 05, 2008 12:36 pm 
Offline

Joined: Thu Jul 13, 2006 5:01 pm
Posts: 509
Location: Boston, MA, USA
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...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 05, 2008 5:22 pm 
Offline

Joined: Tue Jan 25, 2005 9:09 pm
Posts: 72
Location: chicago
I'd tried various scan and display commands but somehow missed pvdisplay. That seems to do it. Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group