LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-19-2013, 07:35 AM   #1
pestka
Member
 
Registered: Dec 2012
Location: Southampton, UK
Posts: 36

Rep: Reputation: Disabled
Post LVM2 - list disks which belong to LV


Hi everyone,

I'm trying to find out what is the command to display what disks are used by a certain lv. Say our VG has got 10 disks and 3 LVs (lva, lvb, lvc). Now, I would like to know which disks are used by lvc. How to do that?
 
Old 02-19-2013, 01:14 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,606

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
lvdisplay -m /dev/<vgname>/<lvname>
 
1 members found this post helpful.
Old 02-20-2013, 07:13 AM   #3
pestka
Member
 
Registered: Dec 2012
Location: Southampton, UK
Posts: 36

Original Poster
Rep: Reputation: Disabled
Post

Awesome. Thank you!
 
  


Reply

Tags
lv, lvm, lvm2, vg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sun Management Center - SMC - attempt to get a list of all disks NPK Solaris / OpenSolaris 2 06-09-2010 02:05 AM
How to list only files belong to a package linuxcrazyguy Debian 4 04-08-2007 07:02 PM
Hitachi SATA Hard Drive not showing in Disks List in QTParted Elim_Garak Linux - Hardware 3 03-04-2007 03:20 PM
need a list of partition tables on as many disks as possible drkstr Linux - Software 4 08-03-2006 11:46 AM
Installation Disks not recognized as official disks when booting with floppy coal-fire-ice Mandriva 13 12-09-2004 04:29 PM


All times are GMT -5. The time now is 08:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration