Skip to contentSkip to conversation

LVM2 and /proc support?

linux-lvm Sean Oh 3 participants 4 messages Sep 12, 2003 – Sep 13, 2003

lore
Share & tools
lore

Sean Oh

author
#0 lore raw

It seems like LVM2 does not support /proc FS. In LVM1, there was /proc/lvm/ files containing LVM informations. My script files used to use that /proc FS, instead of directly issuing LVM commands, for the speed.

No support for /proc in LVM2?

TIA

#1 lore raw

Am Fr, 2003-09-12 um 05.34 schrieb Sean Oh:

Quoted 6 lines

It seems like LVM2 does not support /proc FS. In LVM1, there was /proc/lvm/ files containing LVM informations. My script files used to use that /proc FS, instead of directly issuing LVM commands, for the speed.

No support for /proc in LVM2?

LVM2 is userspace only, so... no /proc support there.

--
Christophe Saout <[email protected]>
Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html

author
#2 lore raw

How about device-mapper?
Is there /proc support for any LVM related information?

----- Original Message -----
From: "Christophe Saout" <[email protected]>
To: "Sean Oh" <[email protected]>
Cc: <[email protected]>
Sent: Friday, September 12, 2003 10:47 PM
Subject: Re: [linux-lvm] LVM2 and /proc support?

Quoted 24 lines

Am Fr, 2003-09-12 um 05.34 schrieb Sean Oh:

Quoted 6 lines

It seems like LVM2 does not support /proc FS. In LVM1, there was /proc/lvm/ files containing LVM informations. My script files used to use that /proc FS, instead of directly issuing LVM commands, for the speed.

No support for /proc in LVM2?

LVM2 is userspace only, so... no /proc support there.

--
Christophe Saout <[email protected]>
Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw
Quoted 2 lines · Sean Oh

How about device-mapper?
Is there /proc support for any LVM related information?

Have you tried the new LVM2 reporting tools?

lvs, vgs, pvs
--separator , --noheadings
[-o|--options [+]Field[,Field]]
[-O|--sort [+|-]key1[,[+|-]key2[,...]]]

Alasdair

Signature · 1 line
[email protected]