kihei/i-02092f036fead2d0b
by SadServersMore by SadServers
sudo: a password is required admin@i-02a189271ae7f8c79:~$ ls -lah total 44K drwxr-xr-x 6 admin admin 4.0K Sep 24 23:20 . drwxr-xr-x 3 root root 4.0K Sep 17 16:44 .. drwx------ 3 admin admin 4.0K Sep 20 15:52 .ansible -rw------- 1 admin admin 268 Jan 7 12:26 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3.5K Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4.0K Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-02a189271ae7f8c79:~$
paris/i-02a189271ae7f8c79 01:32
by SadServersroot@i-0fa3039d5518baf3c:/home/admin# pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-0fa3039d5518baf3c:/home/admin# vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created root@i-0fa3039d5518baf3c:/home/admin#
kihei/i-0fa3039d5518baf3c 00:27
by SadServersadmin@i-06fbb5fbb32cbcef9:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-06fbb5fbb32cbcef9:~$ sudo vgs admin@i-06fbb5fbb32cbcef9:~$ sudo vgs admin@i-06fbb5fbb32cbcef9:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-06fbb5fbb32cbcef9:~$ vgcreate LVMvgTEST /dev/sdb /dev/sdc WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-06fbb5fbb32cbcef9:~$ sudo vgcreate LVMvgTEST /dev/sdb /dev/sdc Volume group "LVMvgTEST" successfully created admin@i-06fbb5fbb32cbcef9:~$ lvs
kihei/i-06fbb5fbb32cbcef9 03:14
by SadServers16K drwx------ 2 root root 16K Sep 28 2021 lost+found 4.0K drwxr-xr-x 2 root root 4.0K Sep 28 2021 media 4.0K drwxr-xr-x 2 root root 4.0K Sep 28 2021 mnt 4.0K drwxr-xr-x 2 root root 4.0K Sep 28 2021 opt 0 dr-xr-xr-x 132 root root 0 Dec 29 10:32 proc 4.0K drwx------ 4 root root 4.0K Dec 29 10:33 root 0 drwxr-xr-x 23 root root 700 Dec 29 10:34 run 0 lrwxrwxrwx 1 root root 8 Sep 28 2021 sbin -> usr/sbin 4.0K drwxr-xr-x 2 root root 4.0K Sep 28 2021 srv 0 dr-xr-xr-x 13 root root 0 Dec 29 10:32 sys 4.0K drwxrwxrwt 9 root root 4.0K Dec 29 10:33 tmp 4.0K drwxr-xr-x 14 root root 4.0K Sep 28 2021 usr 4.0K drwxr-xr-x 11 root root 4.0K Sep 28 2021 var admin@i-048d1249f70749b97:/$ cd .. admin@i-048d1249f70749b97:/$ ls --help | grep size