command-line-murders/i-0fbf9fef374cde433
by SadServersMore by SadServers
Creating file /home/admin/data/newdatafile with size 1.5GB... panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0a6102f0ed8b5aed8:~$ 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-0a6102f0ed8b5aed8:~$
kihei/i-0a6102f0ed8b5aed8 00:38
by SadServersCan't parse size argument. Invalid argument for --size: 100% Error during parsing of command line. admin@i-0999a44d263ea34e9:~$ sudo lvcreate -L 2G -n lv_linear LVM Volume group "LVM" has insufficient free space (510 extents): 512 required. admin@i-0999a44d263ea34e9:~$ sudo lvcreate -L 1.8G -n lv_linear LVM Rounding up size to full physical extent 1.80 GiB Logical volume "lv_linear" created. admin@i-0999a44d263ea34e9:~$ lvs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0999a44d263ea34e9:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Con lv_linear LVM -wi-a----- 1.80g admin@i-0999a44d263ea34e9:~$ mkdir /mnt/
kihei/i-0999a44d263ea34e9 07:01
by SadServers/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-0060b83afc3498208:~$ sudo pvcreate /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. admin@i-0060b83afc3498208:~$ sudo vgcreate /dev/nvme1n1 No command with matching syntax recognised. Run 'vgcreate --help' for more in Correct command syntax is: vgcreate VG_new PV ... admin@i-0060b83afc3498208:~$ sudo vgcreate /dev/nvme1n1 /dev/nvme2n1 /dev/nvme1n1: already exists in filesystem Run `vgcreate --help' for more information. admin@i-0060b83afc3498208:~$ pvcreate /dev/