[linux-lvm] problem in /proc/lvm/global help please..

abbireddy venkatram reddy venkat at storageone.co.kr
Fri Feb 21 09:11:02 UTC 2003


Hi all,


 I am reading information of lvms from the /proc/lvm directory.

 but the snapshot size is shown as same size as lv if I create with lesses size of lv also.

 can anybody help me please.

 thanks in advance.
 eg.

file information: /proc/lvm/global

VG:  vg01  [2 PV, 2 LV/2 open]  PE Size: 65536 KB
  Usage [KB/PE]: 52232192 /797 total  3866624 /59 used  48365568 /738 free
  PVs: [AA] rd/c0d0p5             41091072 /627      3080192 /47      38010880 /580
       [AA] rd/c0d0p6             11141120 /170            0 /0       11141120 /170
    LVs: [AWDL  ] lv01                       3080192 /47       1x open
         [ARDL  ] lv01_snap0217_1550         3080192 /47       1x open


 output from the lvscan :

lvscan -- ACTIVE   Original "/dev/vg01/lv01" [2.94 GB]
lvscan -- ACTIVE   Snapshot "/dev/vg01/lv01_snap0217_1550" [767.25 MB] of /dev/vg01/lv01

Please help me. what is the reason?. is kernel problem?

with regards
venkat.

  ----- Original Message ----- 
  From: abbireddy venkatram reddy 
  To: linux-lvm at sistina.com 
  Sent: Monday, February 17, 2003 3:56 PM
  Subject: [linux-lvm] problem in /proc/lvm/global help please..


  Hi all,


   I am reading information of lvms from the /proc/lvm directory.

   but the snapshot size is shown as same size as lv if I create with lesses size of lv also.

   can anybody help me please.

   thanks in advance.
   eg.

  file information: /proc/lvm/global

  VG:  vg01  [2 PV, 2 LV/2 open]  PE Size: 65536 KB
    Usage [KB/PE]: 52232192 /797 total  3866624 /59 used  48365568 /738 free
    PVs: [AA] rd/c0d0p5             41091072 /627      3080192 /47      38010880 /580
         [AA] rd/c0d0p6             11141120 /170            0 /0       11141120 /170
      LVs: [AWDL  ] lv01                       3080192 /47       1x open
           [ARDL  ] lv01_snap0217_1550         3080192 /47       1x open


   output from the lvscan :

  lvscan -- ACTIVE   Original "/dev/vg01/lv01" [2.94 GB]
  lvscan -- ACTIVE   Snapshot "/dev/vg01/lv01_snap0217_1550" [767.25 MB] of /dev/vg01/lv01

  Please help me. what is the reason?. is kernel problem?

  with regards
  venkat.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20030221/cfcc9df1/attachment.htm>


More information about the linux-lvm mailing list