paris/i-048defd814f7a6edd
by SadServersMore by SadServers
/dev/nvme0n1p15 130M 6.2M 124M 5% /boot/efi admin@i-009350819f2d6345b:~$ pvcreate /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-009350819f2d6345b:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-009350819f2d6345b:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-009350819f2d6345b:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-009350819f2d6345b:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-009350819f2d6345b:~$ mkfs.ext4 /dev/vg/lv
kihei/i-009350819f2d6345b 04:19
by SadServersudev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-051941ba15b672aa1:~$ du -shx 5.1G . admin@i-051941ba15b672aa1:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Oct 22 10:34 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-051941ba15b672aa1:~$
kihei/i-051941ba15b672aa1 00:53
by SadServersadmin@i-06e3508dbb92a146f:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-06e3508dbb92a146f:~$ sudo mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 522240 4k blocks and 130560 inodes Filesystem UUID: a5fe2a18-cddd-4655-8847-89dc10aad8ef Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-06e3508dbb92a146f:~$ ls