command-line-murders/i-0f40f806e731f47c2
by SadServersMore by SadServers
Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-03eb810c59173e466:~$ vgcreate vg /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-03eb810c59173e466:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-03eb810c59173e466:~$ 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-03eb810c59173e466:~$ lvcreate -n lv -l 100%FREE vg
kihei/i-03eb810c59173e466 05:03
by SadServersadmin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ lsof +D lsof: +d not followed by a directory path lsof 4.93.2 latest revision: https://github.com/lsof-org/lsof latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/L usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]] [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information. admin@i-05ea6cc0264e6ce20:~$ lsof +D
kihei/i-05ea6cc0264e6ce20 00:25
by SadServersadmin@i-0ce0885a5e923c3fb:~$ cd /home/admin/ admin@i-0ce0885a5e923c3fb:~$ gzip datafile admin@i-0ce0885a5e923c3fb:~$ ls agent data datafile.gz kihei admin@i-0ce0885a5e923c3fb:~$ ./kihei Done. admin@i-0ce0885a5e923c3fb:~$ mount -t tmpfs -o size=2G tmpfs /tmp/kihei mount: /tmp/kihei: mount point does not exist. admin@i-0ce0885a5e923c3fb:~$ ^[[200~mkdir /tmp/kihei bash: $'\E[200~mkdir': command not found admin@i-0ce0885a5e923c3fb:~$ ~mkdir /tmp/kihei bash: ~mkdir: command not found admin@i-0ce0885a5e923c3fb:~$ ~mkdir /tmp/kihei