command-line-murders/i-0aecd8e997591131c
by SadServersMore by SadServers
nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0df4f112bd047117f:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0df4f112bd047117f:~$ vgcreate vg /dev/nvme1n1 /dev/nvme2n1, lvcreate -n WARNING: Running as a non-root user. Functionality may be unavailable. vgcreate: invalid option -- 'n' Error during parsing of command line. admin@i-0df4f112bd047117f:~$ sudo !! sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1, lvcreate -n lv -l 100%FREE vg vgcreate: invalid option -- 'n' Error during parsing of command line. admin@i-0df4f112bd047117f:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-0df4f112bd047117f:~$ sudo
kihei/i-0df4f112bd047117f 03:26
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