%EB%A5%BC%20%EC%95%88%EC%A0%84%ED%95%98%EA%B2%8C%20%EC%82%AD%EC%A0%9C%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
전송하기 전에RAID 1의 Western My Cloud Mirror 6TB NAS 스토리지(2x 3TB) 한 고객(판매)에서 다른 고객(구매)으로데이터를 닦아, 시스템 기능을 그대로 유지합니다.
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
그래서 내 질문은 다음과 같습니다.
/dev/sda
드라이브 에 저장된 데이터를 지우려면/dev/sdb
파쇄하면 충분합니까dev/md1
?- 을(를) 적용한 후
shred
dev/md1 RAID를 만드는 "볼륨"을 다시 포맷해야 합니까? 각 드라이브의 데이터 영역이 RAW로 표시되므로 그렇게 생각하지 않지만 드라이브를 지우기 전에 확인하고 싶습니다. - 1번과 2번에서 언급한 데이터를 삭제한 후에는40초 재설정WD My Cloud Mirror를 공장 상태로 복원하고 새 사용자가 이전 사용자의 데이터에 액세스하는 것을 방지하는 것으로 충분합니까?
데이터가 클라우드의 일부 원격 계정과 동기화된 경우 구매자가 실수로 거기에 있는 판매자의 파일에 액세스하는 일이 없도록 하고 싶습니다.
감사해요.
답변1
한 번의 패스로 사용하면
shred
충분합니다.파쇄 -v -n 1 /dev/sda
shred
포맷 및 파티션 테이블을 포함한 모든 데이터가 제거되므로 다시 포맷할 필요가 없습니다 .umount /dev/sda1
또는 를 사용하여 드라이브 파티션을 마운트 해제할 수 있습니다umount /dev/sdb1
. 에서도 제거합니다/etc/fstab
.