kihei/i-0092be62fee54d88f
by SadServersMore by SadServers
WARNING: only considering LVM devices /dev/sdc [ 1.00 GiB] LVM physical volume /dev/sdb [ 1.00 GiB] LVM physical volume 2 LVM physical volume whole disks 0 LVM physical volumes admin@i-0cd04794b59819ce5:~$ sudo vgcreate 2gdisk /dev/sdc /dev/sdb Volume group "2gdisk" successfully created admin@i-0cd04794b59819ce5:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0cd04794b59819ce5:~$ sudo !! sudo vgs VG #PV #LV #SN Attr VSize VFree 2gdisk 2 0 0 wz--n- 1.99g 1.99g admin@i-0cd04794b59819ce5:~$ sudo lvcrea
kihei/i-0cd04794b59819ce5 04:57
by SadServersWriting inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-0049035e2f3e403d7:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk └─mon_vg-mon_lv 254:0 0 2G 0 lvm nvme0n1 259:1 0 8G 0 disk ├─nvme0n1p1 259:3 0 7.9G 0 part / ├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme2n1 259:2 0 1G 0 disk └─mon_vg-mon_lv 254:0 0 2G 0 lvm admin@i-0049035e2f3e403d7:~$
kihei/i-0049035e2f3e403d7 05:25
by SadServers-rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-056d7eb6f3afcb862:~$ sudo cat webserver.py We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-056d7eb6f3afcb862:~$ locate webserver.py bash: locate: command not found admin@i-056d7eb6f3afcb862:~$ find / -nwebserver.py