Rex::C...s::LVM(3pm)
π Rex::Commands::LVM β the manual, but make it make sense π
okay so bestie, welcome to Rex::Commands::LVM, part of the User Contributed Perl Documentation β¨ this is the page for the Rex::C...s::LVM man page (yeah the title gets abbreviated like that, it's giving mysterious) πΈ
β¨ NAME β¨
Rex::Commands::LVM β Get LVM Information π«Ά
π DESCRIPTION π
With this module you can get information of your lvm setup. literally that's the whole vibe, it's an information-getter π
Version <= 1.0: All these functions will not be reported. π¨
β οΈ heads up bestie: All these functions are not idempotent. no cap. they're read-y, not write-y, so don't expect them to politely do-the-same-thing-twice. periodt.
π SYNOPSIS π
use Rex::Commands::LVM;
my @physical_devices = pvs;
my @volume_groups = vgs;
my @logical_volumes = lvs;
look at that. three little calls and you know everything about your volumes. obsessed. π
π¦ EXPORTED FUNCTIONS π¦
pvs π«
Get Information for all your physical volumes. every single one. she's thorough.
use Data::Dumper;
use Rex::Commands::LVM;
task "lvm", sub {
my @physical_volumes = pvs;
for my $physical_volume (@physical_volumes) {
say Dumper($physical_volume);
}
};
vgs πΈ
Get Information for all your volume groups. the middle-management layer of LVM, and she ate. π
use Data::Dumper;
use Rex::Commands::LVM;
task "lvm", sub {
my @volume_groups = vgs;
for my $volume_group (@volume_groups) {
say Dumper($volume_group);
}
};
lvs π§
Get Information for all your logical volumes. the final boss. the main character energy of the storage stack. π
use Data::Dumper;
use Rex::Commands::LVM;
task "lvm", sub {
my @logical_volumes = lvs;
for my $logical_volume (@logical_volumes) {
say Dumper($logical_volume);
}
};
and that's the whole page bestie, no skipped sections, no missing functions, we kept every last crumb π
cute little sign-off: this beauty ships as perl v5.40.1, dated 2025-10-03, and the manpage itself answers to Rex::C...s::LVM(3pm) π iykyk β¨π
π¦ where this page comes from
- ubuntu resolute: rex 1.16.1-1 Β· Apache-2.0
- ubuntu stonking: rex 1.16.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms