Disk Secure Erase Procedure
Hi all,
I would like to secure erase multiple disks on a Solaris10 system (parallel deletion processes).
The following script works. However, I would like to write the date in the logfle before and after the deletion process.
The date, which will be written in the logfile before starting the cleaning process, makes no difficulty.
But how can I write the date in the log file when the delete process is finished?
----------------------------------------------------
#!/bin/bash
for x in {1..7}
do
mkdir -p secure_erase_log
for dsk in `ls /dev/dsk/c0t[234]d0s2 | sed -e 's/\/dev\/dsk\///'` ;
I would like to secure erase multiple disks on a Solaris10 system (parallel deletion processes).
The following script works. However, I would like to write the date in the logfle before and after the deletion process.
The date, which will be written in the logfile before starting the cleaning process, makes no difficulty.
But how can I write the date in the log file when the delete process is finished?
----------------------------------------------------
#!/bin/bash
for x in {1..7}
do
mkdir -p secure_erase_log
for dsk in `ls /dev/dsk/c0t[234]d0s2 | sed -e 's/\/dev\/dsk\///'` ;
1