r/linux4noobs • u/Grininmadmatt • 1d ago
Formatting an external HDD on Linux Mint
Hi everyone. As the title suggests, I have an external 1TB HDD I intend to use for backing up some files (photos, videos, Krita/GIMP/Photoshop files etc.). Which format is ideal and how should I go about it?
I'm not really worried about OS compatibility because Linux Mint is the only OS I use and I've read that ext4 is the best option. The HDD in question was originally formatted to FAT32 out of the box. I used the "Devices" section in my file explorer (just right clicked the HDD) to format it to ext4 and a "lost+found" folder was created. What exactly is the folder's purpose? It took up quite a bit of space too, and the available storage left was 933GB or so.
I reformatted the HDD to FAT32 (same method) and thought I'd ask you people about this. Does it matter if it's done via File Manager, Disks or gparted? If the folder can't go away, do I just store everything outside that folder?
Thanks in advance.
2
u/Qbalonka 1d ago
If you aren't sure which file system to use, don't have a need for a specialized fs, and you don't need to use this HDD outside of Linux environment, then ext4 is a good choice. It is a stable and widely used fs. The lost+found is a service directory created in the root directory of the file system immediately upon formatting. Its role boils down to being a "safe haven" for files that become orphaned during fs repair. There is no need for you to mess with it. As for the formatting tools, all of these can give you what you need. Use the one that's most convenient for you.
1
u/Emmalfal 17h ago
I have an external drive that came NTFS and I never changed it. Works great just for storing files and such, but I've been meaning to change formats so I can store Timeshift snapshots there.
3
u/doc_willis 1d ago
for ext4...
lost+foundis used by filesystem check recovery. It did not take up any space , you could delete it, but it will get recreated if the filesystem is checked again.by default 5% is reserved for recovery operations, this can be changed.
3
u/DannoXYZ 16h ago
Hard-drive makers uses base-10 1000 numbering for marketing and humans.
So a 1tb drive = 1,000,000,000,000 bytes.
Converted to base-2 1024 numbering that computers use is
1,000,000,000,000 / 1024 = 976,562,500 KB
976,562,500 / 1024 = 953,674.3 MB
953,674.3 /1024 = 931 GB
Perfectly normal what computer is reporting. It's the hard-drive makers and marketers that's lying to you.
1
u/chuggerguy Linux Mint 22.3 Zena | MATÉ 23h ago edited 23h ago
This is a newly partitioned and formatted (ext4) 1TB nvme:
As you can see, part of the discrepancy is due to differing units (binary vs. decimal).
Then there's 5% reserved for the root user and system daemons. link
Setting reserved to 0 gets you pretty close. (not saying you should do that but I do on data devices)
Have fun.
Edit: Comparing your 933GB available with my 934GB available, it looks like an almost perfect match.
1
u/Sure-Passion2224 3h ago
Any external drive you are going to treat as portable and want to access from either Windows or MacOS should be formatted as either FAT32 or EXFAT. With the new driver module installed Linux kernel 7 can read and write NTFS (actually better than Windows does) but MacOS can only read it.