paris/i-061b26af1597c9557
by SadServersMore by SadServers
nvme1n1 259:4 0 1G 0 disk nvme2n1 259:5 0 1G 0 disk admin@i-0c9b4f9b00dfdb4e5:~$ sudo mount /dev/vg/lv /home/admin/data , chown -R amount: bad usage Try 'mount --help' for more information. admin@i-0c9b4f9b00dfdb4e5:~$ sudo mount /dev/vg/lv /home/admin/data mount: /home/admin/data: special device /dev/vg/lv does not exist. admin@i-0c9b4f9b00dfdb4e5:~$ vgcreate vg /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0c9b4f9b00dfdb4e5:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-0c9b4f9b00dfdb4e5:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-0c9b4f9b00dfdb4e5:~$ sudo
kihei/i-0c9b4f9b00dfdb4e5 01:20
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-0282bc52555020bf6:~$
kihei/i-0282bc52555020bf6 00:22
by SadServersPhysical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-07f4849a9d187ab57:~$ sudo vgcreate data_volume_group /dev/nvme1n1 /dev/ne2n1 Volume group "data_volume_group" successfully created admin@i-07f4849a9d187ab57:~$ sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk ├─nvme0n1p1 259:2 0 7.9G 0 part / ├─nvme0n1p14 259:3 0 3M 0 part └─nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-07f4849a9d187ab57:~$ sudo lvcreate -l 100%FREE -n data_logical_group datv
kihei/i-07f4849a9d187ab57 02:32
by SadServerswrite(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-0815e829d95ab34ca:~$ ./kihei -v 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-0815e829d95ab34ca:~$