paris/i-0791d33ffe08af0fb
by SadServersMore by SadServers
admin@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 SadServersThe exit status returned by fallocate is 0 on success and 1 on failure. OPTIONS The length and offset arguments may be followed by the multiplicative su MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB, and YiB (the "i "K" has the same meaning as "KiB") or the suffixes KB (=1000), MB (=1000* GB, TB, PB, EB, ZB, and YB. The options --collapse-range, --dig-holes, --punch-hole, and --zero-rang sive. -c, --collapse-range Removes a byte range from a file, without leaving a hole. The byt lapsed starts at offset and continues for length bytes. At the co Manual page fallocate(1) line 1 (press h for help or q to quit)
kihei/i-060ebfc99f2bb2560 12:23
by SadServersdrwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-08d654c3783758f46:~$ vim webserver.py admin@i-08d654c3783758f46:~$ sudo vim 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-08d654c3783758f46:~$