如何安全擦除 Western Digital My Cloud Mirror(Gen 2)?

如何安全擦除 Western Digital My Cloud Mirror(Gen 2)?

在发送Western My Cloud Mirror 6TB NAS 存储(RAID 1)(2x 3 TB)从一个客户(销售)转移到另一个客户(购买),我需要清除数据,同时保留完整的系统功能。

在 NAS 中,驱动器处于 RAID 1 中。我将它们从外壳中取出并使用 SATA 将它们连接起来。

在 Linux Parted Magic 发行版中列出驱动器fdisk -l会得到以下输出。包含数据的卷显然是dev/md1

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/md0: 2147 MB, 2147418112 bytes
2 heads, 4 sectors/track, 524272 cylinders, total 4194176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/md1: 2996.3 GB, 2996296343552 bytes
2 heads, 4 sectors/track, 731517662 cylinders, total 5852141296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

所以,我的问题是:

  1. /dev/sda要擦除存储在驱动器上的数据/dev/sdb,粉碎就足够了吗dev/md1
  2. 应用后shred,我是否必须重新格式化“卷”以制作 dev/md1 RAID?我不这么认为,因为每个驱动器上的数据区域都显示为 RAW,但我想在擦除驱动器之前确定一下。
  3. 在第 1 点和第 2 点提到的数据删除之后,40秒重置足以将 WD My Cloud Mirror 恢复到出厂状态并阻止新用户访问以前用户的数据吗?

如果数据与云中的某个远程帐户同步,我想确保买家不会意外访问卖家在那里的文件。

谢谢。

答案1

  1. shred一次使用就足够了

    撕碎-v-n 1 /dev/sda

  2. 无需重新格式化,因为shred将删除所有数据,包括其格式和分区表。

  3. umount /dev/sda1您可以通过或卸载驱动器分区umount /dev/sdb1。也可以从 中删除它/etc/fstab

相关内容