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
A Technical I.T./DevOps Blog
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