[linux-lvm] lvdisplay "open" field computing

Zdenek Kabelac zkabelac at redhat.com
Fri Jul 12 13:07:04 UTC 2019


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




More information about the linux-lvm mailing list