Hello Forum. I find myself the owner of this wonderful thing here:
Yep, 520byte sector size. Suddenly I face dilemma. What should I do with it? Quick googling around shows the entire interwebs and their dog trying to hivemind how to reformat this and that drive pulled out of a server from 520 byte sector size to 512. First, I've no idea what those sectors even mean. Or alignment or whatever. Until this moment I've been blissfully unaware (or blatantly ignored their mention in manpages) of all this nonsense: there is a drive, it has size, we put a filesystem on it - the end.
All the stories about getting those to 512 bytes I've seen reek of cargoculting and magic - some bizarre voodoo practices with little understanding behind them.
Do I even need to bother?
Should I just try to `gpart` this thing, `newfs` it and leave those poor fat sectors alone?
Will my FreeBSD-here-machine put anathema on my arse if I try anything but 512byte sectorsize?
Are there any big wins to be had here?
If so then how do I go about doing that on FreeBSD?
Also be nice to maybe make sense of all this block, sector, etc nonsense. Any pointers there?
Thanks
Code:
$ sudo diskinfo -v da7
da7
520 # sectorsize
1600321314800 # mediasize in bytes (1.5T)
3077540990 # mediasize in sectors
4160 # stripesize
0 # stripeoffset
191568 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
HITACHI HUSMM141CLAR1600 # Disk descr.
0SYBE15A # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
Not_Zoned # Zone Mode
All the stories about getting those to 512 bytes I've seen reek of cargoculting and magic - some bizarre voodoo practices with little understanding behind them.
Do I even need to bother?
Should I just try to `gpart` this thing, `newfs` it and leave those poor fat sectors alone?
Will my FreeBSD-here-machine put anathema on my arse if I try anything but 512byte sectorsize?
Are there any big wins to be had here?
If so then how do I go about doing that on FreeBSD?
Also be nice to maybe make sense of all this block, sector, etc nonsense. Any pointers there?
Thanks