kihei/i-06aaa324a79f9607e
by SadServersMore by SadServers
root@i-0df2d9e82ec0588c0:~# vgcreate backup /dev/nvme1n1p1 /dev/nvme2n1p1 Volume group "backup" successfully created root@i-0df2d9e82ec0588c0:~# vgs VG #PV #LV #SN Attr VSize VFree backup 2 0 0 wz--n- 1.99g 1.99g root@i-0df2d9e82ec0588c0:~# df -hT Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 217M 0 217M 0% /dev tmpfs tmpfs 46M 392K 46M 1% /run /dev/nvme0n1p1 ext4 7.7G 6.1G 1.2G 84% / tmpfs tmpfs 228M 24K 228M 1% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 vfat 124M 5.9M 118M 5% /boot/efi tmpfs tmpfs 46M 0 46M 0% /run/user/0 root@i-0df2d9e82ec0588c0:~# mkfs.ext
kihei/i-0df2d9e82ec0588c0 05:06
by SadServersadmin@i-02e1f7758a02de499:~$ ^C admin@i-02e1f7758a02de499:~$ ls -la total 44 drwxr-xr-x 6 admin admin 4096 Sep 24 23:20 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 1036 Oct 20 18:12 .bash_history -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 Sep 20 15:56 .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 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-02e1f7758a02de499:~$ curl -vv "http://localhost:5000"
paris/i-02e1f7758a02de499 06:48
by SadServersWARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0bac7be7cee2fffc8:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-0bac7be7cee2fffc8:~$ sudo vgcreate vg_1 /dev/sdb /dev/sdc Volume group "vg_1" successfully created admin@i-0bac7be7cee2fffc8:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree vg_1 2 0 0 wz--n- 1.99g 1.99g admin@i-0bac7be7cee2fffc8:~$ sudo lvcreate lv_1 -l 100%vg vg_1 Volume group "lv_1" not found Cannot process volume group lv_1 admin@i-0bac7be7cee2fffc8:~$ sudo lvcreate -lv_1 -l 100%vg vg_1