You are not logged in.
I got given - as in free - three 300GB external drives which a business had used for back-ups. People give me stuff versus recycling. It appears they're encrypted with some program with an ntfs partition on them. I did promise to "wipe" the drives clean, and I want to always keep my promises. I may turn them into back-up drives myself, or if other hardware comes my way, make them into bootable USBs. Not sure yet. At the playing stage.
Noting that I have no need to ever read them from Windows. Which of the Linux file systems is the one to choose. Probably doesn't actually matter, but as noted: I'm playing. Nothing like free stuff. Any ideas?
Last edited by trilobite (2021-01-29 19:19:36)
{Linux-using people I haven't met are friends yet to be made.}
Offline
I'm assuming these are electromagnetic SATA type drives given the capacity, would be nice if they were SSD though.
I was looking into this topic recently as I have a SD card slot on my thinkpad and my internal ssd drive is only 128GB so threw a 260GB microSD in. Turns out for that microSD exfat was the best choice even on a linux machine - better write times than ext3, and ext4 is not good for SD cards as it's a journalling system, so lots of rewrites. SD cards are great for storage, not so great for frequent file rewrites and deletions apparently.
Ended up following this guide to get the right windows style partition tables/formatting/block size etc. https://matthew.komputerwiz.net/2015/12 … drive.html
Anyhoo if your disks are SATA, I'd go with ext4 as a journalling file system as you don't need them accessible to windows.
Others may have more informed opinions about other file systems :-)
Last edited by phuturism (2021-01-29 19:53:49)
Offline
For simple backup drives I'd recommend XFS v5 (with checksumming enabled, see https://wiki.archlinux.org/index.php/XFS#Checksumming).
If you wish to encrypt the drives, I'd recommend XFSv5 on a LUKS2 cryptodisk.
If you wish to have multiple partitions, I'd recommend using LVM with logical volumes to absolve yourself from messing with physical disk partitions.
Personally, I use luks + lvm + xfs on all my separate external disks because I prefer encryption.
Using LVM has a serious advantage when you decommission a disk and want to move all data to a new disk: you just plug both disks in, create both of them as LVM physical volumes, and then use pvmove to move the data to the new disk's volume. On-line, without unmounting anything (I use this strategy to migrate my main Linux install to new computers.)
Music makes us braver
Offline
Personally, I use luks + lvm + xfs on all my separate external disks because I prefer encryption.
Using LVM has a serious advantage when you decommission a disk and want to move all data to a new disk: you just plug both disks in, create both of them as LVM physical volumes, and then use pvmove to move the data to the new disk's volume. On-line, without unmounting anything
(I use this strategy to migrate my main Linux install to new computers.)
Bookmarked.
Offline
For simple backup drives I'd recommend XFS v5 (with checksumming enabled, see https://wiki.archlinux.org/index.php/XFS#Checksumming).
If you wish to encrypt the drives, I'd recommend XFSv5 on a LUKS2 cryptodisk.
If you wish to have multiple partitions, I'd recommend using LVM with logical volumes to absolve yourself from messing with physical disk partitions.
Personally, I use luks + lvm + xfs on all my separate external disks because I prefer encryption.
Using LVM has a serious advantage when you decommission a disk and want to move all data to a new disk: you just plug both disks in, create both of them as LVM physical volumes, and then use pvmove to move the data to the new disk's volume. On-line, without unmounting anything
(I use this strategy to migrate my main Linux install to new computers.)
Now that's a great topic for a thread right there and a how-to!
Real Men Use Linux
Offline
Thank-you very much @twoion and @phuturism!
{Linux-using people I haven't met are friends yet to be made.}
Offline
Thank-you very much @twoion and @phuturism!
No problem, I think twoion had the better answer :-)
Offline
Using LVM has a serious advantage when you decommission a disk and want to move all data to a new disk: you just plug both disks in, create both of them as LVM physical volumes, and then use pvmove to move the data to the new disk's volume.
Thanks! This is a task that surely everyone has from time to time. I had no idea it could be so easy. (Last time, I think I used fsarchiver.)
A simple how-to would be nice to have, though, especially for the situation of moving the current operating system from a failing drive to a new one...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline