# list all fisks lsblk -f # unmount forced # you can try the lazy unmount option, which will immediately remove the filesystem from the file hierarchy and postpone the cleanup: umount --lazy /mnt # make partition fdisk /dev/sdX fdisk p # existing partitions # Press n to create a new partition. # press w to write the changes to the disk. sudo mkfs.ext4 /dev/sdXN # mount docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v /mnt/apps/docker_volumes/portainer_data:/data portainer/portainer-ce # --------------------- # disk info lsblk sudo fdisk -l sudo parted -l gnome-disks sudo umount -f /mnt umount --lazy /mnt/data ## ntfs resize: sudo ntfsfix /dev/sda2 # Shrink the NTFS Partition: sudo ntfsresize --size 100G /dev/sda2 (-f) mkdir # folder size: du -hs # find big files find / -type f -size +100M # find big files - NCurses Disk Utility - https://dev.yorhel.nl/ncdu sudo apt-get install ncdu ncdu Delete the File: Once you have highlighted the file you want to delete, press the d key. ncdu will prompt you to confirm the deletion.