Category Archives: Proxmox

Proxmox – check defragmentation on disk

you can use e4defrag tool :

Posted in Proxmox | Leave a comment

Proxmox – move the docker storage folder to another disk

Edit : /lib/systemd/system/docker.service after: check that it stopped : if stopped, than: rsync -aqxP /var/lib/docker/ /mnt/pve/VMspaceSDD/dockerd check it started & that is running in the new location:

Posted in Proxmox | Leave a comment

Proxmox – how to resize /dev/mapper/pve-root

If you have enough space on disk. You can run the bellow command with required size. lvresize –size 5G –resizefs /dev/mapper/pve-root

Posted in Proxmox | Leave a comment

Proxmox – Move Swap Partition from USB Boot Disk to another disk

First remove swap & partion swapoff /dev/pve/swap lvchange -a n /dev/pve/swap lvremove /dev/pve/swap Make swap file on another disk: dd if=/dev/zero of=/pathondisk/swapfile bs=1024 count=2000000 chown root:root /pathondisk/swapfile chmod 0600 /pathondisk/swapfile mkswap /pathondisk/swapfile swapon /pathondisk/swapfile To activate /pathondisk/swapfile after Linux system … Continue reading

Posted in Proxmox | Leave a comment