ubuntu 擦除磁盘
The process of securely overwriting a large disk is a lengthy one; can the process be expedited?
安全覆盖大磁盘的过程是一个漫长的过程。 可以加快过程吗?
Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.
今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。
问题 (The Question)
SuperUser reader John wants to know if there is anyway to speed up the disk wipe he’s performing:
超级用户阅读器John想要知道是否仍然可以加快他正在执行的磁盘擦除的速度:
I’ve tried with Disk Utility.app and diskutil at the commandline to zero out a 3TB external USB hard drive, and both work at about 1%/1hr. In Disk Utility.app I am using the 1-pass mode, and with diskutil I am using 1-pass, random.
我已经在命令行中尝试使用Disk Utility.app和diskutil将3TB外部USB硬盘驱动器清零,并且两者都以大约1%/ 1hr的速度工作。 在Disk Utility.app中,我正在使用1-pass模式,而在diskutil中,我正在使用1-pass,随机模式。
I’m on Mavericks/10.9.
我在小牛/10.9。
Is there anyway to for John to speed the process up?
无论如何,John可以加快这个过程吗?
答案 (The Answer)
SuperUser contributor Hennes writes:
超级用户贡献者Hennes写道:
3TB is a lot of data and USB is both relative slow and has a lot of overhead.
3TB的数据很多,USB相对较慢,并且开销很大。
Assuming you have USB 2 and a reasonably good performance of 30-35MB/sec. (this is about the max write speed for USB 2)
假设您具有USB 2,并且具有30-35MB /秒的合理良好性能。 (这是关于USB 2的最大写入速度)
30 MB / sec 100 MB per 3 seconds 2000 MB per 60 seconds 2GB per min 120GB per hour, or 25 hours for 3 TB.
30 MB / sec 100 MB per 3 seconds 2000 MB per 60 seconds 2GB per min 120GB per hour, or 25 hours for 3 TB.
That is a long time. And speeds can differ somewhat. In your case it seems four times as slow. Decidedly not fast, but well within reasonably speeds. Especially if there are other USB devices busy on the same USB controller.
好久不见 速度可能有所不同。 在您的情况下,速度似乎慢了四倍。 决定不是很快,但是在合理的速度之内。 尤其是在同一USB控制器上有其他USB设备忙碌的情况下。
There are at least three ways to deal with this:
至少有三种方法可以解决此问题:
- Wait a long time. 等一下
- Use a faster bus to the disk (e.g. an eSATA enclosure. Or mount the disk internally) 使用更快的总线连接到磁盘(例如eSATA机箱。或在内部安装磁盘)
Do not send any data to the drive to wipe it. Instead tell the drive to wipe itself. Useful for this: DBAN and secure erase.
Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.
有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程 。
翻译自: https://www.howtogeek.com/175442/how-can-i-speed-up-a-secure-disk-wipe/
ubuntu 擦除磁盘