paris/i-007c10c3a2a32db9b
by SadServersMore by SadServers
Volume group "vg" successfully created admin@i-0f9027f0b6fdf5892:~$ 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 version). striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-0f9027f0b6fdf5892:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv
kihei/i-0f9027f0b6fdf5892 00:44
by SadServers-rw------- 1 admin admin 978 Mar 4 03:42 .viminfo drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 3 root root 16384 Jan 1 1970 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0a9241b92a4b01021:~$ cat /etc/fs cat: /etc/fs: No such file or directory admin@i-0a9241b92a4b01021:~$ cat /etc/fstab # /etc/fstab: static file system information UUID=811e12d8-f542-4650-9330-8d96633bd90c / ext4 rw,discard,errors=remount-ro,x-UUID=8690-F844 /boot/efi vfat defaultsrelatime,auto,uid=1000,gid=1000,umask=000 admin@i-0a9241b92a4b01021:~$ vim /etc/fstab admin@i-0a9241b92a4b01021:~$ sudo !! sudo vim /etc/fstab admin@i-0a9241b92a4b01021:~$ sudo systemctl r
kihei/i-0a9241b92a4b01021 12:34
by SadServersadmin@i-0fb37f0ce1aec9594:~$ ls agent data datafile kihei admin@i-0fb37f0ce1aec9594:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0fb37f0ce1aec9594:~$ cp kihei /mnt cp: cannot create regular file '/mnt/kihei': Permission denied admin@i-0fb37f0ce1aec9594:~$ sudo mkdir /mnt/kihei admin@i-0fb37f0ce1aec9594:~$ sudo chown admin:admin /mnt/kihei/ admin@i-0fb37f0ce1aec9594:~$ cp kihei /