paris/i-0d4a460d5b773266b
by SadServersMore by SadServers
Device Boot Start End Sectors Size Id Type /dev/nvme1n1p1 2048 2097151 2095104 1023M 83 Linux Disk /dev/nvme2n1: 1 GiB, 1073741824 bytes, 2097152 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: dos Disk identifier: 0x2b42b575 Device Boot Start End Sectors Size Id Type /dev/nvme2n1p1 2048 2097151 2095104 1023M 83 Linux root@i-01ac70260559949ce:~# vgcreate vg /dev/nvme1
kihei/i-01ac70260559949ce 04:48
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-0da253258d3d5b5e6:~$ touch /home/admin/data/newdatafile /usr/local/sbin/
kihei/i-0da253258d3d5b5e6 01:39
by SadServersadmin@i-076cd0a7cd775af64:~$ sudo lvcreate -L%100 newdata Size requires number argument. Invalid argument for --size: %100 Error during parsing of command line. admin@i-076cd0a7cd775af64:~$ sudo lvcreate -L%100 newdataadmin@i-076cd0a7cd775afFREE -n newfile newdata Invalid argument for --extents: %100FREE Error during parsing of command line. admin@i-076cd0a7cd775af64:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-076cd0a7cd775af64:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree newdata 2 0 0 wz--n- 1.99g 1.99g admin@i-076cd0a7cd775af64:~$ sudo lvcreate -l %100FREE -n newfilnewdata
kihei/i-076cd0a7cd775af64 07:34
by SadServersnvme1n1 259:1 0 1G 0 disk nvme2n1 259:5 0 1G 0 disk root@i-043dab6b958462a19:~# pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g root@i-043dab6b958462a19:~# vgcreate /dev/sdb /dev/sdc /dev/sdb: already exists in filesystem Run `vgcreate --help' for more information. root@i-043dab6b958462a19:~# vgcreate my_vg /dev/sdb /dev/sdc Volume group "my_vg" successfully created root@i-043dab6b958462a19:~# vgs VG #PV #LV #SN Attr VSize VFree my_vg 2 0 0 wz--n- 1.99g 1.99g root@i-043dab6b958462a19:~# pvcreate -L 1,99 -n