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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can retrieve the information about the physical size of the snapshot
using the tools only.

Regards,
Heinz    -- The LVM Guy --

On Fri, Feb 21, 2003 at 10:07:12AM +0900, abbireddy venkatram reddy wrote:
> 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@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.
> 
> 
> 
> 
> 

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux