Re: Does solaris require disks to be zeroed before using

From: Dave Uhring (daveuhring_at_yahoo.com)
Date: 09/24/04


Date: Fri, 24 Sep 2004 16:13:05 -0500

On Fri, 24 Sep 2004 14:10:48 -0500, David A. Lethe wrote:

> 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 ;)

It should have been quite clear that Scott was referring to reads of
filesystems.

> 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.

There is no requirement whatever for zeroing data blocks. I have
formatted drives which previously contained Tru64, various BSDs and Linux
and installed Solaris which ran with no problems at all.

Your experience with Linux is irrelevant WRT Solaris.

> 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.

If you wish to waste time and energy then help yourself. That is not
required.



Relevant Pages

  • Re: bugged sysinstall, bsdlabel, zfs, gmirror - recept for disaster :)
    ... So after a thirty minutes I had a plan, and my server had 4 disks ... gmirror - raidz environment. ... mount point for every partition in slice. ... offset to use (the end of the previous partition plus one, ...
    (freebsd-stable)
  • Disk corruption with vfat?
    ... My disk is 160GB large and I use a vfat32 partition, ... Linux and Windows on my dual boot machine. ... Before that I had 80GB disks with the same setup and I never had this problem. ...
    (comp.os.linux.misc)
  • bugged sysinstall, bsdlabel, zfs, gmirror - recept for disaster :)
    ... Yesterday I've decided that's about time to test zfs functionality on my home server PC. ... A couple of weeks ago I bought new desktop PC, so I had a bunch of PATA disks from old one ... Problem with labels created with sysinstal, is that it aks for a mount point for every partition in slice. ... So I've added gmirror to loader.conf ...
    (freebsd-stable)
  • Re: RAID & /boot
    ... First, although GRUB can't boot from a RAID partition, LILO can. ... Second, Linux does RAID on partitions, not whole disks. ... so you should probably plan to plug in an extra IDE controller card. ... Sometimes Linux tries to shuffle the /dev names for the drives when ...
    (alt.os.linux.suse)
  • SUMMARY: Re: SAN 3310 Multiple LUNs Not Visible on Solaris 9 Host
    ... My disks show up as: ... > connected on the primary controller, and currently has a single Logical ... > Partition: 0 ... > Lun: 0 ...
    (SunManagers)