When getting rid of a hard drive, is it better to write it full of zeroes or random data?
- User
When getting rid of a hard drive, is it better to write it full of zeroes or random data?
- Assistant
When disposing of a hard drive, the goal is to prevent any future recovery of the stored data. Both writing it full of zeroes (zero-filling) and writing random data over the drive are common methods employed to achieve data sanitization, but they have their distinct advantages based on the context and the level of security required.
- User
How to write a disk full of zeroes in linux usig dd?
- Assistant
To write a disk full of zeroes in Linux using the
ddcommand, you must have root or sudo privileges because writing directly to a disk can cause irreparable data loss if done incorrectly. Always double-check the target disk identifier to ensure you're not overwriting the wrong drive. - User
At 133MB/s how long does it take to write 2TB?
- Assistant
To calculate the time required to write 2TB of data at a speed of 133MB/s, you can use the formula:
[ \text{Time} = \frac{\text{Data Size}}{\text{Speed}} ]
First, convert 2TB (Terabytes) to MB (Megabytes) to match the units of the speed. Note that in computing, 1TB = 1,024GB, and 1GB = 1,024MB.
[ 2 , \text{TB} = 2 \times 1,024 , \text{GB} = 2 \times 1,024 \times 1,024 , \text{MB} ] [ 2 , \text{TB} = 2,097,152 , \text{MB} ]
Now, use the formula for time with the data size in MB and the speed in MB/s:
[ \text{Time} = \frac{2,097,152 , \text{MB}}{133 , \text{MB/s}} ]
[ \text{Time} = 15,772.63 , \text{seconds} ]
To convert the time to a more understandable format, divide by 60 (since 1 minute = 60 seconds) and then divide again by 60 for hours:
[ \text{Time in hours} = \frac{15,772.63}{60 \times 60} \approx 4.38 , \text{hours} ]
So, it would take approximately 4.38 hours to write 2TB of data at a speed of 133MB/s.