Does solaris require disks to be zeroed before using

From: David A.Lethe (davidATsantools.com)
Date: 09/23/04


Date: Wed, 22 Sep 2004 22:10:22 -0500

This is causing some issues at our company, and we can't get any
definitive answers. Is there any requirement, or even best-practices
policies that SCSI and/or fibre channel disk drives need to have all
zeros written to them before partitioning and building a file system
on them?

The problem is that our disk exercising/test suites finish by leaving
the patterns on the disks. The more experienced sysadmins feel it is
a good idea to zero all blocks on the disk before using them. Others
feel as long as the pattern doesn't look like a partition that could
confuse fdisk, then repartitioning and building the filesystem is
enough. (Remember, disks just passed extended read/write tests, so no
benefit to the disk in terms of defect detection and bad sector
remapping. Also the disks could be physical drives or LUNs on a RAID)

Does anybody know if there will be issues down the road if we don't
write zeros to all blocks as final part of disk test before we start
using them?

I'm posting in Solaris group, but would be interested in knowing if
any O/S's really cared one way or another.

David



Relevant Pages

  • Re: [PATCH] adding two new options to cp
    ... existing holes", which is not the same thing. ... am copying directories, I'll still have to resort to some ... I want zeros on the disk in the destination ...
    (freebsd-hackers)
  • Re: Does solaris require disks to be zeroed before using
    ... >> zeros written to them before partitioning and building a file system ... >> a good idea to zero all blocks on the disk before using them. ...
    (comp.sys.sun.admin)
  • Re: Starting again...(partitioning...)
    ... erasing past history is simply a matter of writing zeros over the entire disk before installing the operating system from installation media. ... the "past history" remains available for those who get the actual HDD; only physical destruction of the HDD would make that data unrecoverable... ...
    (microsoft.public.windows.vista.general)
  • Re: copying a disk image to restore on linux
    ... to zero out all of the unused space first, so it will compress better. ... the disk is full, then delete the file. ... should have highly compressable zeros in it. ...
    (Security-Basics)
  • Re: blanking DVD+RW
    ... Simply using dvd+rw-format doesn't erase all of the previous contents of the ... whereas overwriting with zeros as you've done will obscure the old data ... disk which has been written full of zeros. ... forensics technology probably could read a zeroed DVD, ...
    (freebsd-questions)