[linux-lvm] lvdisplay "open" field computing

Simon ELBAZ selbaz at linagora.com
Tue Jul 16 08:57:00 UTC 2019


Hi Zdenek,

Finally, it was veeamsnap that was mounting the LV.

It is a kernel module used by Veeambackup.

This is why - as you explained me - I could not see it with lsof command.

Regards

Simon

On 12/07/2019 15:07, Zdenek Kabelac wrote:
> Dne 12. 07. 19 v 14:38 Simon ELBAZ napsal(a):
>> Hi,
>>
>  root at sympa:~# swapon /dev/sympa-vg/swap_1
>> root at sympa:~# lvdisplay
>> ...
>>
>>    --- Logical volume ---
>>    LV Path                /dev/sympa-vg/swap_1
>>    LV Name                swap_1
>>    VG Name                sympa-vg
>>    LV UUID                1b59OW-M2yW-PuI1-QN5t-pN0w-6Akl-AnJnNh
>>    LV Write Access        read/write
>>    LV Creation host, time sympa, 2019-07-10 11:06:42 +0200
>>    LV Status              available
>>    # open                 2
>>    LV Size                <1,99 GiB
>>    Current LE             509
>>    Segments               1
>>    Allocation             inherit
>>    Read ahead sectors     auto
>>    - currently set to     256
>>    Block device           254:1
>>
>> I wonder if there is a similar tool for regular filesystem types.
>>
>
> Hi
>
>
> See:  mount
>
> or
>
> /proc/self/mountinfo
>
>
> Regards
>
> Zdenek
>
-- 
Simon Elbaz
@Linagora
Mob: +33 (0) 6 38 99 18 34
Tour Franklin 31ème étage
100/101 Quartier Boieldieu
92042 La Défense
FRANCE




More information about the linux-lvm mailing list