As my personal website at box.buoyantair.co
grows, I am trying to keep up with the amount of data that is being uploaded by me or the applications that generate the data (TTRSS for example). This is the process I use to resize my filesystem once I upgrade the volume size in Hetzner. I hope you like this little code snippet!
- use
df -aTh
to list all the mounted file systems, and find the filesystem you want to resize.
df -aTh
- Unmount the filesystem you want to resize.
sudo umount /dev/sdb
- Run
e2fschk
to check the filesystem.
sudo e2fsck -f /dev/sdb
- Run
resize2fs
to resize the filesystem.
sudo resize2fs /dev/sdb
- Mount the filesystem again.
sudo mount /dev/sdb /mnt/
- Verify that the filesystem is resized.
df -aTh
స్పందించండి
వ్యాఖ్యానించడానికి మీరు తప్పనిసరిగా ప్రవేశించి ఉండాలి.