command-line-murders/i-02e4fb69b947aceee
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-09e737df09b9a9897:~$ 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-09e737df09b9a9897:~$ l
kihei/i-09e737df09b9a9897 04:25
by SadServerswrite(2, "main.main", 9main.main) = 9 write(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0d5d23f0b5a1bb4ec:~$ strace ./kihei
kihei/i-0d5d23f0b5a1bb4ec 00:40
by SadServersVolume group "mon_vg" successfully created admin@i-01f9eac839ff463e1:~$ lvcreate -l 100%FREE -n mon_lv mon_ng WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown ver striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-01f9eac839ff463e1:~$ sudo lvcreate -l 100%FREE -n mon_lv mon_vg Logical volume "mon_lv" created. admin@i-01f9eac839ff463e1:~$ mount /home/admin/data data/ datafile admin@i-01f9eac839ff463e1:~$ mount /home/admin/data data/ datafile admin@i-01f9eac839ff463e1:~$ mount /home/admin/data