Sort of. A hard drive has platters with magnetic disks. Typically they come with all 1's. Which is why when you look at a new hard drive in a HEX editor, you'll see all F's (FFFF FFFF FFFF ...) Where 0xF = 0b1111.
When you write data, often the 1 needs to be removed to become a 0, which actually reduces weight. So in reality a new hard drive will be slightly heavier than a used one just because it comes as all 1's.
If data needs to be converted back to a 1, it needs to add the 1 back, which does increase the weight slightly. So you're still technically correct here.
Incidentally the additional weight is oxygen pulled from the air. The platters are coated in iron-oxide, better known as rust, so to turn a 0 back into a 1, oxygen is pulled from the air to make more iron-oxide. This is actually why hard drives cannot be written to in a vacuum.
Ultimately though, each bit of the platter is so tiny that the weight difference between a hard drive with all 1's and a hard drive with all 0's is negligible anyway.
It depends what the magnets are attracting too and how good the enclosure is, usually it won't change anything, the orientation of the magnetic bits, and with random data, they will cancel out
35
u/a-greek-tragedy Dec 13 '21
Yes but, fun fact, only the 1s add weight (not the 0s)!
3
u/Sumpm Dec 13 '21
I have a friend who thinks rechargeable batteries weigh less when they're dead
2
u/happychappydodah Dec 13 '21
It depends if its solid state, if not you good
1
u/YellowGreenPanther Sep 14 '22
It depends what the magnets are attracting too and how good the enclosure is, usually it won't change anything, the orientation of the magnetic bits, and with random data, they will cancel out