paris/i-0b548ba241add02bb
by SadServersMore by SadServers
admin@i-06fbb5fbb32cbcef9:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-06fbb5fbb32cbcef9:~$ sudo vgs admin@i-06fbb5fbb32cbcef9:~$ sudo vgs admin@i-06fbb5fbb32cbcef9:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-06fbb5fbb32cbcef9:~$ vgcreate LVMvgTEST /dev/sdb /dev/sdc WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-06fbb5fbb32cbcef9:~$ sudo vgcreate LVMvgTEST /dev/sdb /dev/sdc Volume group "LVMvgTEST" successfully created admin@i-06fbb5fbb32cbcef9:~$ lvs
kihei/i-06fbb5fbb32cbcef9 03:14
by SadServersadmin@i-08b5e9edc7abcbde1:~$ ps -a PID TTY TIME CMD 661 pts/0 00:00:00 asciinema 664 pts/0 00:00:00 asciinema 666 pts/1 00:00:00 bash 735 pts/1 00:00:00 ps admin@i-08b5e9edc7abcbde1:~$ ls agent data datafile kihei admin@i-08b5e9edc7abcbde1:~$ cd data/ admin@i-08b5e9edc7abcbde1:~/data$ ls admin@i-08b5e9edc7abcbde1:~/data$ cd .. admin@i-08b5e9edc7abcbde1:~$ truncate truncate: you must specify either ‘--size’ or ‘--reference’ Try 'truncate --help' for more information. admin@i-08b5e9edc7abcbde1:~$ truncate
kihei/i-08b5e9edc7abcbde1 01:50
by SadServersVG Name vg_1 LV UUID ygQDDY-3Vcs-TrVt-CBQ3-yLeS-Ti6u-UTbLL8 LV Write Access read/write LV Creation host, time i-018ee877ea49bdefd, 2024-12-11 22:02:16 +0000 LV Status available # open 0 LV Size 1.80 GiB Current LE 461 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 admin@i-018ee877ea49bdefd:~$ sudo mkfs.