kihei/i-09443b662404c8afe
by SadServersMore by SadServers
Disk identifier: 0xb43838c3 Device Boot Start End Sectors Size Id Type /dev/nvme2n1p1 2048 2097151 2095104 1023M 8e Linux LVM admin@i-0e9eb0be2a0842a52:~$ pvcreate /dev/nvme1n1p1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0e9eb0be2a0842a52:~$ sudo pvcreate /dev/nvme1n1p1 /dev/nvme2n1p1 Physical volume "/dev/nvme1n1p1" successfully created. Physical volume "/dev/nvme2n1p1" successfully created. admin@i-0e9eb0be2a0842a52:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb1 lvm2 --- 1023.00m 1023.00m /dev/sdc1 lvm2 --- 1023.00m 1023.00m admin@i-0e9eb0be2a0842a52:~$ vgcreate
kihei/i-0e9eb0be2a0842a52 03:39
by SadServersrm: cannot remove 'datafile': Permission denied admin@i-0726590fe1fcdef99:/mnt/new_partition$ sudo srm datafile sudo: srm: command not found admin@i-0726590fe1fcdef99:/mnt/new_partition$ sudo rm datafile admin@i-0726590fe1fcdef99:/mnt/new_partition$ ls lost+found admin@i-0726590fe1fcdef99:/mnt/new_partition$ cd / admin@i-0726590fe1fcdef99:/$ ls bin dev home lib32 libx32 media opt root sbin sys usr boot etc lib lib64 lost+found mnt proc run srv tmp var admin@i-0726590fe1fcdef99:/$ cd home/admin/ admin@i-0726590fe1fcdef99:~$ ls agent data datafile kihei admin@i-0726590fe1fcdef99:~$ ln -s /mnt/new_partition/ test admin@i-0726590fe1fcdef99:~$ ls
kihei/i-0726590fe1fcdef99 06:04
by SadServers--help Show this help -H --halt Halt the machine -P --poweroff Power-off the machine -r --reboot Reboot the machine -h Equivalent to --poweroff, overridden by --halt -k Don't halt/power-off/reboot, just send warnings --no-wall Don't send wall message before halt/power-off/reboot -c Cancel a pending shutdown See the shutdown(8) man page for details. admin@i-01318c13a92295c75:/etc/systemd/system$ sudo shutdown -^C admin@i-01318c13a92295c75:/etc/systemd/system$ cd admin@i-01318c13a92295c75:~$ ls a.py agent admin@i-01318c13a92295c75:~$