kihei/i-03f435703b3de22f0
by SadServersMore by SadServers
admin@i-0922830d655d595af:~$ vgcreate data-vg /dev/nvme1n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0922830d655d595af:~$ sudo vgcreate data-vg /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. Volume group "data-vg" successfully created admin@i-0922830d655d595af:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0922830d655d595af:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree data-vg 1 0 0 wz--n- 1020.00m 1020.00m admin@i-0922830d655d595af:~$ sudo vgcreate data-vg /dev/nvme2n1 A volume group called data-vg already exists. admin@i-0922830d655d595af:~$ sudo vgextend data-vg /d
kihei/i-0922830d655d595af 06:01
by SadServerslevel = logging.DEBUG if not os.path.exists(logdir): os.makedirs(logdir) logfile = os.path.join(logdir, "unattended-upgrades-shutdown.log") logging.basicConfig(filename=logfile, level=level, format="%(asctime)s %(levelname)s - %(message)s") UnattendedUpgradesShutdown(options).run() if __name__ == "__main__": main() admin@i-06e18ce49b1465f2e:~$ cat
paris/i-06e18ce49b1465f2e 04:42
by SadServersgoroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0aeb40e1867803400:~$ ls agent data datafile kihei admin@i-0aeb40e1867803400:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-0aeb40e1867803400:~$ ./str