[lkml]   [2008]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: Query on LVM ....
Hi All,
Any body has an idea on LVM2 in Linux? I have an issue; I am not able to find the solutions for it. If you knows the solutions or have a links where I can posted this issue, please let me know.

NB: Below mail describe the LVM issue.

-----Original Message-----
From: Saroj Tripathy
Sent: Friday, August 22, 2008 3:14 PM
To: ''
Cc: Saroj Tripathy
Subject: Query on LVM ....

I want to know, is there any way I can find out whether my physical volume is activate or deactivate? For example, I have activated my physical volume group say vg_lvm through "vgchange" command.

# vgchange -a Y vg_lvm

Now, how I will know that "vg_lvm" is activated? Is there any way to query or is any config file changed by executing above command? So that I can look for that file or any sorts of command available?

Below I am showing you the results of vgdisply with a deactivated vol group. The output is same in both activate and deactivate volume group.

[root@mtasw317 ~]# vgchange -a n vg_lvm
0 logical volume(s) in volume group "vg_lvm" now active

[root@mtasw317 ~]# vgdisplay
--- Volume group ---
VG Name vg_lvm
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 2
VG Access read/write
VG Status resizable
Cur LV 1
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 1.12 GB
PE Size 4.00 MB
Total PE 288
Alloc PE / Size 25 / 100.00 MB
Free PE / Size 263 / 1.03 GB
VG UUID ci9mLc-JuVk-pUBV-gtYd-T9F2-LxsC-uLXGcb

The Operating System I am using is RHEL 4. Please help me in finding the solutions.


This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.

 \ /
  Last update: 2008-08-25 09:03    [W:0.031 / U:44.756 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site