kihei/i-0b5d09343092a9fdd
by SadServersMore by SadServers
drwxr-xr-x 7 admin admin 4096 Jan 2 19:50 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 17 17:15 .ansible -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Jan 2 19:50 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Sep 17 17:28 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0a4d866735d737133:~$ sudo vgcreate newdata /dev/sdb /dev/sdc Volume group "newdata" successfully created admin@i-0a4d866735d737133:~$ sudo lvcreate -l 100%FREE -n newfile newdata
kihei/i-0a4d866735d737133 01:58
by SadServersadmin@i-0d3a11c0c70c20cf9:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 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:1 0 1G 0 disk nvme1n1 259:5 0 1G 0 disk admin@i-0d3a11c0c70c20cf9:~$ vgcreate dd /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-0d3a11c0c70c20cf9:~$ sudo vgcreate dd /dev/nvme1n1 /dev/nvme2n1 Volume group "dd" successfully created admin@i-0d3a11c0c70c20cf9:~$ sudo lvcreate ap
kihei/i-0d3a11c0c70c20cf9 05:22
by SadServersDevice 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. 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 admin@i-08a1a2ca8738718de:~$