command-line-murders/i-081b6125d56dd8ff6
by SadServersMore by SadServers
Physical volume "/dev/nvme2n1" successfully created. admin@i-0006ce2ef3a195375:~$ sudo pv pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvsadmin@i-0006ce2ef3a195375:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-0006ce2ef3a195375:~$ sudo vgcreatevg /dev/nvme1n1 /dev/nvme2n1 sudo: vgcreatevg: command not found admin@i-0006ce2ef3a195375:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-0006ce2ef3a195375:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree vg 2 0 0 wz--n- 1.99g 1.99g admin@i-0006ce2ef3a195375:~$ sudo lvcreate -n lv
kihei/i-0006ce2ef3a195375 02:26
by SadServersdrwxr-xr-x 2 admin root 4.0K Feb 9 15:03 data admin@i-01fc9903332152909:~$ admin@i-01fc9903332152909:~$ admin@i-01fc9903332152909:~$ more data *** data: directory *** admin@i-01fc9903332152909:~$ admin@i-01fc9903332152909:~$ admin@i-01fc9903332152909:~$ admin@i-01fc9903332152909:~$ admin@i-01fc9903332152909:~$ sudo chown admin:admin data admin@i-01fc9903332152909:~$ admin@i-01fc9903332152909:~$ admin@i-01fc9903332152909:~$
kihei/i-01fc9903332152909 01:34
by SadServersadmin@i-04a6cc5c484ecf4e5:~$ cd /home/admin/ admin@i-04a6cc5c484ecf4e5:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-04a6cc5c484ecf4e5:~$ strace ./kihei &> output.txt admin@i-04a6cc5c484ecf4e5:~$ vi output.txt admin@i-04a6cc5c484ecf4e5:~$ tail -n 10 o
kihei/i-04a6cc5c484ecf4e5 01:54
by SadServersDisk /dev/nvme0n1: 8 GiB, 8589934592 bytes, 16777216 sectors Disk model: Amazon Elastic Block Store Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 411E8940-1FEF-5347-B8D7-BE9578B62DC7 Device Start End Sectors Size Type /dev/nvme0n1p1 262144 16777182 16515039 7.9G Linux filesystem /dev/nvme0n1p14 2048 8191 6144 3M BIOS boot /dev/nvme0n1p15 8192 262143 253952 124M EFI System Partition table entries are not in disk order. root@i-06e0efaa114330701:~# m