VSLVMINFO(1)

πŸ“¦
this version Β· 2 versions
, in debian trixie, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

vslvminfo β€” bestie, this lil cutie figures out literally everything about a Linux Logical Volume Manager (LVM) volume system ✨

(also she lives in the LOCAL manual section, calling herself vslvminfo() like the icon she is πŸ’…)


🌸 SYNOPSIS 🌸

vslvminfo [-o offset] [-hvV] source

✨ DESCRIPTION ✨

vslvminfo is a utility that determines information about a Linux Logical Volume Manager (LVM) volume system. no cap, she just sniffs out the tea and reports back πŸ«–

She's part of the libvslvm package. And libvslvm? It's a library for accessing the Linux Logical Volume Manager (LVM) volume system format. the friend group is giving iconic πŸŽ€

source is the source file, bestie. that's the one you point her at πŸ‘‘

The options are as follows, so lock in:

  • -h β€” shows this help, so helpful of her πŸ’–
  • -o offset β€” specify the volume offset in bytes (yes, in bytes, don't get cute with it)
  • -v β€” verbose output to stderr, she gets chatty πŸ—£οΈ
  • -V β€” print version, the classic "who are you" moment ⭐

🌈 ENVIRONMENT 🌈

None. nada. zero. she needs no environment variables, she's lowkey self-sufficient πŸ’œ


πŸ¦‹ FILES πŸ¦‹

None. fr fr, no files. she is that independent ✨


πŸ“ EXAMPLES πŸ“

okay so here's her serving exactly what you asked for:

# vslvminfo /dev/sda1
vslvminfo 20160109

Linux Logical Volume Manager (LVM) information:
Volume Group (VG):
        Name:                                   vg_test
        Identifier:                             5eR8zl-q5VX-Qtiw-FmDd-6yBE-I8qe-0sjQf9
        Sequence number:                        4
        Extent size:                            4194304 bytes
        Number of physical volumes:             1
        Number of logical volumes:              1

Physical Volume (PV): 1
        Name:                                   pv0
        Identifier:                             2TdWwb-R5um-UZnU-3Yb6-K2MF-bTtr-AgVQfp
        Device path:                            /dev/loop1
        Volume size:                            268435456 bytes

Logical Volume (LV): 1
        Name:                                   lv_test1
        Identifier:                             Lt5rVq-Ksgd-p8kx-XYP4-6uTq-Mlh4-yxOiL4
        Number of segments:                     1
        Segment: 1
                Offset:                         0x00000000 (0)
                Size:                           76 MiB (79691776 bytes)
                Number of stripes:              1
                Stripe: 1
                        Physical volume:        pv0
                        Data area offset:       0x00000000 (0)

πŸ’… DIAGNOSTICS πŸ’…

Errors, verbose and debug output get printed to stderr when verbose output -v is enabled. and here's the tea: verbose and debug output are only printed when enabled at compilation. so if you compiled her without it, no amount of -v is gonna unlock that βœ‹πŸ˜­


πŸ’€ BUGS πŸ’€

Please report bugs of any kind to <joachim.metz@gmail.com> or on the project website: https://github.com/libyal/libvslvm/

she's not perfect, bestie, and she knows it. tell her mom (or the github) πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

These man pages were written by Joachim Metz. we stan 🌟


Copyright (C) 2014-2024, Joachim Metz <joachim.metz@gmail.com>. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


okay but seriously β€” NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. that's not me being dramatic, that's literally what it says. read the source for copying conditions, bestie 🫢

and that's the whole page, periodt πŸ’–βœ¨

This was served fresh from the libvslvm source, version dated March 6, 2019 (yes she's a 2019 girlie and still ate πŸ’…). manual section LOCAL, page vslvminfo(), and she said what she said. mwah πŸŽ€