How Do You Make a File System on an Existing Ubuntu/Debian Linux Server?

Problem scenario
You want to make a basic file system (e.g., ext4) on your Linux server. What should you do on your Debian/Ubuntu server?

Solution
Run these commands:

sudo fallocate -l 500M /mnt/new_thing
sudo mkfs.ext4 /mnt/new_thing

Leave a comment

Your email address will not be published. Required fields are marked *