command-line-murders/i-0cffaebbc3f0eb4e8
by SadServersMore by SadServers
WARNING: only considering LVM devices /dev/sdc [ 1.00 GiB] LVM physical volume /dev/sdb [ 1.00 GiB] LVM physical volume 2 LVM physical volume whole disks 0 LVM physical volumes admin@i-0cd04794b59819ce5:~$ sudo vgcreate 2gdisk /dev/sdc /dev/sdb Volume group "2gdisk" successfully created admin@i-0cd04794b59819ce5:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0cd04794b59819ce5:~$ sudo !! sudo vgs VG #PV #LV #SN Attr VSize VFree 2gdisk 2 0 0 wz--n- 1.99g 1.99g admin@i-0cd04794b59819ce5:~$ sudo lvcrea
kihei/i-0cd04794b59819ce5 04:57
by SadServersdf: invalid option -- 'g' Try 'df --help' for more information. admin@i-01f89dde5a28babd0:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-01f89dde5a28babd0:~$ sudo lvcreate --name newone --size 2G fileserver Volume group "fileserver" has insufficient free space (510 extents): 512 required. admin@i-01f89dde5a28babd0:~$
kihei/i-01f89dde5a28babd0 10:03
by SadServersREV device revision VENDOR device vendor ZONED zone model DAX dax-capable device For more details see lsblk(8). admin@i-0c843db5140275929:~$ lsblk -la NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme2n1 259:1 0 1G 0 disk nvme1n1 259:2 0 1G 0 disk nvme0n1p1 259:3 0 7.9G 0 part / nvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0c843db5140275929:~$