lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <174230991E95D743B0C91DF471EF44E8426495432F@MTW02MSG02.mindtree.com>
Date:	Fri, 22 Aug 2008 15:14:01 +0530
From:	Saroj Tripathy <Saroj_Tripathy@...dtree.com>
To:	"'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>
CC:	Saroj Tripathy <Saroj_Tripathy@...dtree.com>
Subject: Query on LVM ....

Hi,
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@...sw317 ~]# vgchange -a n vg_lvm
0 logical volume(s) in volume group "vg_lvm" now active

[root@...sw317 ~]# 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
MAX LV 0
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.

Regards,
Saroj

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ