Selective disk sanitization consists of physically obliterating data in specified files or volumes while preserving all other data located on the affected aggregate for continued user access. Because a file can be stored on multiple disks, there are three parts to the process.
To selectively sanitize data contained in an aggregate, you must carry out three general tasks:
- Delete the files, directories or volumes that contain the data you want to sanitize from the aggregate that contains them.
- Migrate the data that you want to preserve to a new set of disks in a destination aggregate on the same storage system.
You can migrate data using the ndmpcopy command or qtree SnapMirror.
- Destroy the original aggregate and sanitize all the disks that were RAID group members in that aggregate.