command-line-murders/i-0b71b15f924b1422a
by SadServersMore by SadServers
Physical 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 SadServersDevice 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 SadServersThe exit status returned by fallocate is 0 on success and 1 on failure. OPTIONS The length and offset arguments may be followed by the multiplicative su MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB, and YiB (the "i "K" has the same meaning as "KiB") or the suffixes KB (=1000), MB (=1000* GB, TB, PB, EB, ZB, and YB. The options --collapse-range, --dig-holes, --punch-hole, and --zero-rang sive. -c, --collapse-range Removes a byte range from a file, without leaving a hole. The byt lapsed starts at offset and continues for length bytes. At the co Manual page fallocate(1) line 1 (press h for help or q to quit)