Thanks Mark, lvdisplay worked.  I guess I missed that command in the
documention. I am still curious to what are units of the size parameter that
is specified in /proc/lvm/VGs/VG01/LVs/usrlv.

Thanks again for your help.


Thomas L. Geyer
Email:[EMAIL PROTECTED]
Phone:(330) 471-2073
Fax:(330) 471-4034


-----Original Message-----
From: Post, Mark K [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 6:41 PM
To: [EMAIL PROTECTED]
Subject: Re: Question on LVM


Tom,

Try lvdisplay.  According to the man page, "lvdisplay allows you to see the
attributes of a logical volume like size, read/write status etc."

Mark Post

-----Original Message-----
From: Geyer, Thomas L. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 3:53 PM
To: [EMAIL PROTECTED]
Subject: Question on LVM


I am comparing the size of a filesystem with its logical volume. The output
of df follows:

ctnhtx01:~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/dasda1           182M   78M   95M  45% /
devpts                182M   78M   95M  45% /dev/pts
/dev/VG01/usrlv      1000M  967M   32M  97% /usr
/dev/VG01/homelv      156M   70M   80M  47% /home

and

ctnhtx01:~ # cat /proc/lvm/VGs/VG01/LVs/usrlv
name:         /dev/VG01/usrlv
size:         2048000
access:       3
status:       1
number:       0
open:         1
allocation:   0
device:       58:00

What are the units in the size parameter in /proc/lvm/VGs/VG01/LVs/usrlv?
Number of 512-blocks? The /usr filesystem is defined as  reiserfs. I am
trying to expand it and I am trying to determine if I need to extend the
logical volume first. I cannot seem to find a command to give me the
attributes of a logical volume as I could with lsvg in AIX.

Thanks in advance.

Tom Geyer



**********************************************************************
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others; also please notify the sender by
replying to this message, and then delete it from your system.

The Timken Company
**********************************************************************

Reply via email to