Re: Does solaris require disks to be zeroed before using

From: CJT (abujlehc_at_prodigy.net)
Date: 09/24/04

  • Next message: David A.Lethe: "Re: Does solaris require disks to be zeroed before using"
    Date: Fri, 24 Sep 2004 21:52:59 GMT
    
    

    Beardy wrote:
    > David A.Lethe wrote:
    >
    >> On 23 Sep 2004 22:31:46 GMT, Scott Howard <scott@hunterlink.net.au>
    >> wrote:
    >>
    >>
    >>> David A.Lethe <davidATsantools.com> wrote:
    >>>
    >>>> 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?
    >>>
    >>>
    >>> In a word, no.
    >>>
    >>> Solaris will never attempt to read a block of data which it hasn't
    >>> previously written something to.
    >>>
    >>> Scott
    >>
    >>
    >>
    >> Not true, and this explains the whole point of the question.
    >> Example .. .when you run the format command. Obviously it doesn't
    >> write before reading, or every time you ran it, it would blow the
    >> partitions away ;)
    >
    >
    > OK format will check for the existence of a valid label on the disk
    > first, and if not present, allow you to label the disk at that point.
    > This is an exception, and I think the OP was referring to whether data
    > blocks on disk should be zeroed, which they need not be; except in the
    > unusual case that Casper referred to.
    >
    >> This brings up the reason for the question to begin with. The test
    >> suites don't wipe the disks clean, and we had what might have been a
    >> zillion-to-one shot where fdisk (on LINUX) exited with an invalid
    >> partition error when the sysadmin tried to partition things.
    >
    >
    > Your case is not relevant to the OP's question. The fact that the test
    > suites may leave patterns on the disk is still not a problem. A random
    > pattern and a regular pattern are identical if Solaris doesn't know they
    > are there.
    >
    >> After I figured out problem wasn't hardware related, and using dd to
    >> blow the first few MB of the disk away, we have to deal with problem
    >> prevention ... do we adjust testing utilties to insure that all or
    >> part of the disk is zeroed before we let people use the disks.
    >
    >
    > Do what you feel is correct on Linux. This is not relevant to the OP's
    > question, and to the correct answers that have been provided to him.
    >

    Who's the OP, if not David?

    -- 
    The e-mail address in our reply-to line is reversed in an attempt to
    minimize spam.  Our true address is of the form che...@prodigy.net.
    

  • Next message: David A.Lethe: "Re: Does solaris require disks to be zeroed before using"

    Relevant Pages

    • Re: Hoxs64 v1.0.4.0 released
      ... > Awesome work, David. ... >> 1) Disk file support is expanded to include Vincent Joguin's FDI ... Standard track layout D64 files will save as normal. ...
      (comp.emulators.cbm)
    • Re: Who can provide me some help on how to eliminate delay and speed up the setup process.
      ... David wrote: ... >>it is hard for me to find out the exact places causing such delay. ... If it is just a startup problem, I would first look at the ... the disk reads with a disk re-org. ...
      (comp.programming)
    • SUMMARY: T64U read/write performance/tuning
      ... Thanks to David Knight and Martin Rønde ... Martin noted that we may well be saturating the disks no matter which node they're on, so moving a disk to the other node may not prove useful. ... IDX is a registered trademark of IDX Investment Corporation. ...
      (Tru64-UNIX-Managers)
    • Re: OT: W/XP PC HD Crashed
      ... David J Dachtera wrote: ... There are data recovery services but they charge high! ... If you are using a PCI bus disk controller, reseat the PCI card as well. ...
      (comp.os.vms)
    • Re: Using cipher.exe to wipe a disk
      ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > Thanks David. ... >>> work with semi-sensitive client data. ... >>> could use my new WinXP Pro system to wipe the old disk. ...
      (microsoft.public.windowsxp.security_admin)