command-line-murders/i-01286e07ebe12b514
by SadServersMore by SadServers
/dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-08bd99f18d65bb727:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme0n1p1 259:1 0 7.9G 0 part / nvme0n1p14 259:2 0 3M 0 part nvme0n1p15 259:3 0 124M 0 part /boot/efi nvme1n1 259:4 0 1G 0 disk nvme2n1 259:5 0 1G 0 disk admin@i-08bd99f18d65bb727:~$ 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-08bd99f18d65bb727:~$ sud opvcreate /dev/nvme1n1 /dev/nvme2n1 bash: sud: command not found admin@i-08bd99f18d65bb727:~$ sudpvcreate /dev/nvme1n1 /dev/nvme2n1
kihei/i-08bd99f18d65bb727 01:11
by SadServerstotal 5245100 drwxr-xr-x 7 admin admin 4096 Dec 3 23:31 . 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 Dec 3 23:28 .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 Dec 3 23:32 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 -rw-r--r-- 1 admin admin 20374 Dec 3 23:32 strace.log admin@i-02e79ae25a2e64021:~$ sudo chown
kihei/i-02e79ae25a2e64021 08:06
by SadServersnvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0c90bbae859c0f897:~$ lvcreate -n lv -l 100%FREE vg WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown ver striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-0c90bbae859c0f897:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-0c90bbae859c0f897:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-0c90bbae859c0f897:~$