Disk sanitization is the process of physically obliterating data by means of overwrite patterns on filer or NearStore appliance disks in a manner that precludes recovery of that data by any known recovery methods. The Data ONTAP disk sanitize feature enables you to carry out disk sanitization by using three successive byte overwrite patterns per cycle and a default six cycles per operation, in compliance with United States Department of Defense and Department of Energy security requirements.
You might choose to sanitize filer or NearStore appliance disks for the following reasons:
The section covers the following topics:
The disk sanitization operations described in this section are subject to the following limitations:
The disk sanitization feature for Data ONTAP 6.5 requires installation of a license. Once installed, the license enables the disk sanitize command and limited SnapMirror replication abilities that facilitate selective sanitization operations.
Caution
Once installed on a NetApp appliance, the license for disk sanitization is permanent.
To install the disk sanitization license, complete the following step:
| 1 |
license add sanitize_code sanitize_code is the disk sanitization license code that Network Appliance provides. |
You can sanitize any disk that has "spare" status. This includes disks that exist on the filer or NearStore appliance as spare disks after the volume that they belong to has been destroyed and disks that were removed from the spare disk pool by the disk remove command but have been returned to spare status after an appliance reboot.
To sanitize a disk or a set of disks on a filer or NearStore appliance, complete the following steps:
| 1 | To print a listing of all disks assigned to RAID groups, failed, or existing as spares, enter the following command. sysconfig -r Do this to verify that the disk or disks that you want to sanitize do not belong to any existing RAID group in any existing volume. |
| 2 | Enter the following command to physically sanitize the specified disk or disks of all existing data. disk sanitize start [-p pattern1 [-p pattern2] In the preceeding example, pattern specifies a cycle of one to three user-defined hex byte overwrite patterns that can be applied in succession to the disks being sanitized. The default hex pattern specification is -p 0x55 -p 0xAA -p 0x36. -c cycle_count specifies the number of cycles for applying the specified overwrite patterns. The default value is 6 cycles. The maximum value is 7 cycles. disk_list specifies a space-separated list of spare disks to be sanitized. ExampleThe following command applies the default three disk sanitization overwrite patterns for the default six cycles (for a total of 18 overwrites) to the specified disks, 7.6, 7.7, and 7.8. disk sanitize start 7.6 7.7 7.8 ResultThe specified disks are sanitized, put into the pool of broken disks, and marked as "sanitized." A list of all the sanitized disks is stored in the filer or NearStore appliance's /etc directory. VerificationTo check the status of the disk sanitization process, enter the following command: disk sanitize status [disk_list] Note Caution |
| 3 | To release sanitized disks from the pool of broken disks for reuse as spare disks, enter the following command: disk sanitize release disk_list Caution VerificationTo list all disks on the filer or NearStore appliance and verify the release of the sanitized disks into the pool of spares, enter sysconfig -r. |
After you invoke the disk sanitize start command, Data ONTAP begins the sanitization process on each of the specified drives. The process consists of a disk format operation, followed by the specified overwrite patterns repeated for the specified number of cycles.
Note
The formatting phase of the disk sanitization process is skipped on Advanced Technology Attachment (ATA) drives.
The time to complete the sanitization process for each drive varies with the size of the drive, the number of patterns specified, and the number of cycles specified.
For example, the following command invokes 1 format overwrite pass and 18 pattern overwrite passes of disk 7.3.
disk sanitize start -p 0x55 -p 0xAA -p 0x37 -c 6 7.3
If the sanitization process is interrupted by power failure, filer panic, or a user-invoked disk sanitize abort command, the disk sanitize command must be re-invoked and the process repeated from the beginning.
If the formatting phase of disk sanitization is interrupted, the Data ONTAP attempts to reformat any drives that were corrupted by an interruption of the formatting. After a system reboot and once every hour Data ONTAP checks for any sanitization target disk that did not complete the formatting phase of its sanitization. If such a disk is found, Data ONTAP attempts to reformat that disk and writes a message to the console informing the user that a corrupted disk has been found and will be reformatted. After the disk is reformatted, it is returned to the hot spare pool. The user can then rerun the disk sanitize command on that disk.
You can use the disk sanitize abort command to stop an ongoing sanitization process on one or more specified disks. If you use the disk sanitize abort command, the specified disk or disks are returned to "spare" state and the "sanitized" label is removed.
Selective data sanitization consists of physically obliterating data in specified files or directories while preserving all other active file data located on the affected volume for continued user access.
Because data for any one file on a filer or NearStore appliance is physically stored on any number of data disks in the volume containing that data, and because the physical location of data within a volume can change, sanitization of selected data, such as files or directories, requires that you sanitize every disk in the volume where it is located (after first migrating the volume data that you do not want to sanitize to disks on another volume). To selectively sanitize data contained in a volume, you must carry out three general tasks.
Successful completion of this process requires the following conditions:
Because sanitization of any unit of data in a volume still requires you to carry out data migration and disk sanitization processes on that entire volume, Network Appliance recommends that you use small volumes to store data that will require sanitization. Use of small volumes for storage of data requiring sanitization minimizes the time, disk space, and bandwidth that sanitization of that data will require.
Absolute sanitization of data means physical sanitization of all instances of volumes containing sensitive data; it is therefore advisable to maintain your sensitive data in volumes that are not regularly backed up to volumes that also back up large amounts of nonsensitive data.
To carry out selective sanitization of data within a volume, complete the following steps:
:| 1 | From a Windows or UNIX client, delete from the original volume, the directories or files whose data you want to selectively sanitize from the active file system. Use the appropriate Windows or UNIX command, such as: rm -rf /nixdir/nixfile.doc |
| 2 | Through the filer CLI, in the original volume, enter one of the following command forms to delete all volume snapshots containing the files or directories that you just deleted. |
| 3 | Enter the following command to determine the size of the volume from which you deleted file, directory, or snapshot data: vol status vol_name -b Examplevol status nixsrcvol -b Calculate the volume size in bytes by multiplying the bytes per block (block size) by the blocks per volume (volume size). |
| 4 | Enter the following command to create a volume to which you will migrate undeleted data. This volume must be of equal or greater storage capacity than the volume from which you just deleted file, directory, or snapshot data: vol create dest_vol disklist Examplevol create nixdestvol 8@72G Note |
| 5 | Enter the following command to put the volume that you just created in restricted state: vol restrict dest_vol Restricted state is a requirement of the SnapMirror destination volume. Examplevol restrict nixdestvol |
| 6 | Enter the following command to establish a SnapMirror source/destination relationship between the volume whose data you want to sanitize and the volume to which you will migrate the data that you want to preserve: snapmirror initialize -S src_vol dest_vol dest_vol is the destination volume. Caution Examplesnapmirror initialize -S nixsrcvol nixdestvol VerificationTo confirm that the SnapMirror relationship is established enter the following command: snapmirror status dest_vol |
| 7 | Enter the following command to migrate all the undeleted data from the source volume to the destination volume: snapmirror migrate src_vol dest_vol Examplesnapmirror migrate nixsrcvol nixdestvol ResultsThe snapmirror migrate command transfers all content--including the contained qtrees, directories, files, and all NFS filehandles--from the source volume to the destination volume. The process does the following:
|
| 8 | Record the disks currently in the source volume. (After that volume is destroyed, you will sanitize these disks.) To list the disks in the source volume, enter the following command syntax: vol status src_vol -r Examplevol status nixsrcvol -r The disks that you are going to sanitize are listed in the Device column of the vol status -r output. |
| 9 | Enter the following command to take the source volume offline: vol offline src_vol Examplevol offline nixsrcvol |
| 10 | Enter the following command to destroy the source volume: vol destroy src_vol Examplevol destroy nixsrcvol |
| 11 | Enter the following command to rename the destination volume, giving it the name of the source volume that you just destroyed: vol rename dest_vol src_vol Examplevol rename nixdestvol nixsrcvol |
| 12 | Reestablish your CIFS or NFS services:
ResultUsers who were accessing files in the original volume will access those files in the renamed destination volume with no remapping of their connections required. |
| 13 | Use the disk sanitize command to sanitize the disks that used to belong to the source volume. Follow the procedure described in Sanitizing disks. |
The disk sanitization process outputs two types of log files.
The /etc/sanitized_disks file contains the serial numbers of all drives that have been successfully sanitized. For every invocation of the disk sanitize start command, the serial numbers of the newly sanitized disks are appended to the file.
A read of the /etc/sanitized_disks file shows output similar to the following:
admin1> rdfile /etc/sanitized_disks
Tue Jun 24 02:54:11 Disk 8a.44 [S/N 3FP0RFAZ00002218446B] sanitized.
Tue Jun 24 02:54:15 Disk 8a.43 [S/N 3FP20XX400007313LSA8] sanitized.
Tue Jun 24 02:54:20 Disk 8a.45 [S/N 3FP0RJMR0000221844GP] sanitized.
Tue Jun 24 03:22:41 Disk 8a.32 [S/N 43208987] sanitized.
A progress file is created for each drive sanitized and the results are consolidated to the /etc/sanitization.log file every 15 minutes during the sanitization operation. Entries in the log resemble the following:
Tue Jun 24 02:40:10 Disk sanitization initiated on drive 8a.43 [S/N 3FP20XX400007313LSA8]
Tue Jun 24 02:40:10 Disk sanitization initiated on drive 8a.44 [S/N 3FP0RFAZ00002218446B]
Tue Jun 24 02:40:10 Disk sanitization initiated on drive 8a.45 [S/N 3FP0RJMR0000221844GP]
Tue Jun 24 02:53:55 Disk 8a.44 [S/N 3FP0RFAZ00002218446B] format completed in 00:13:45.
Tue Jun 24 02:53:59 Disk 8a.43 [S/N 3FP20XX400007313LSA8] format completed in 00:13:49.
Tue Jun 24 02:54:04 Disk 8a.45 [S/N 3FP0RJMR0000221844GP] format completed in 00:13:54.
Tue Jun 24 02:54:11 Disk 8a.44 [S/N 3FP0RFAZ00002218446B] cycle 1 pattern write of 0x47 completed in 00:00:16.
Tue Jun 24 02:54:11 Disk sanitization on drive 8a.44 [S/N 3FP0RFAZ00002218446B] completed.
Tue Jun 24 02:54:15 Disk 8a.43 [S/N 3FP20XX400007313LSA8] cycle 1 pattern write of 0x47 completed in 00:00:16.
Tue Jun 24 02:54:15 Disk sanitization on drive 8a.43 [S/N 3FP20XX400007313LSA8] completed.
Tue Jun 24 02:54:20 Disk 8a.45 [S/N 3FP0RJMR0000221844GP] cycle 1 pattern write of 0x47 completed in 00:00:16.
Tue Jun 24 02:54:20 Disk sanitization on drive 8a.45 [S/N 3FP0RJMR0000221844GP] completed.
Tue Jun 24 02:58:42 Disk sanitization initiated on drive 8a.43 [S/N 3FP20XX400007313LSA8]
Tue Jun 24 03:00:09 Disk sanitization initiated on drive 8a.32 [S/N 43208987]
Tue Jun 24 03:11:25 Disk 8a.32 [S/N 43208987] cycle 1 pattern write of 0x47 completed in 00:11:16.
Tue Jun 24 03:12:32 Disk 8a.43 [S/N 3FP20XX400007313LSA8] sanitization aborted by user.
Tue Jun 24 03:22:41 Disk 8a.32 [S/N 43208987] cycle 2 pattern write of 0x47 completed in 00:11:16.
Tue Jun 24 03:22:41 Disk sanitization on drive 8a.32 [S/N 43208987] completed.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00472
File: disks10.htm
Last updated: 11/17/03 16:57:35