Re: Does solaris require disks to be zeroed before using

From: Keg (rhugga_at_yahoo.com)
Date: 09/29/04


Date: 29 Sep 2004 14:40:57 -0700

Beardy <beardy@beardy.net> wrote in message news:<4155859e$0$69731$ed2619ec@ptn-nntp-reader01.plus.net>...
> Chris Newport wrote:
> > On Saturday 25 September 2004 7:17 am in comp.sys.sun.admin Beardy wrote:
> >
> >
> >>>The only case where Solaris needs a disk to be zeroed is
> >>>where an IDE disk has been installed on a system/OS version
> >>>which does not support large drives. In this case only the
> >>>boot block needs to be zeroed.
> >>>This was a common issue with the Ultra5/10 when a user installed
> >>>a large disk which was not correctly recognised.
> >>>
> >>
> >>Chris, I'm curious - didn't they just patch/upgrade the OS to support
> >>the large disk? I can't see how zeroing the boot block would help...
> >
> >
> > When you first initialise a disk, format writes a disk label to
> > cylinder zero. The size of the disk is contained in the label and
> > is believed from that point.
> >
> > This means that if you first initialise a disk with a version
> > of solaris which does not support large IDE drives the disk will
> > be recognised as being too small, even if you re-install the
> > correct version of solaris.
>
> The phrase "as being too small" fooled me for a while, but is what you
> mean "as being of an incorrect size, thus losing capacity available on
> the drive"?
>
> >
> > The only cure is to zero the disk label with dd and start again
> > using the correct solaris version.
> >
>
> If the answer to me previous question is "yes", then I understand;
> otherwise it must be Saturday.....
>
> Thanks.

It's also a good idea to do this if you move a disk that was under
veritas controll previously to another system running veritas. In the
past there have been issues with doing this.

-rhugga



Relevant Pages

  • SUMMARY: Cant Read Disk Label (Thanks Mike!)
    ... Thanks to Mike David Chanslor for helping me to fix my "Can't Read Disk ... We now stick to Seagate IDE drives ... Subject: Can't read disk label. ... I am trying to install Solaris 8 on a Sun Ultra 10 Sparc ...
    (SunManagers)
  • Re: Mounting Linux partition
    ... These labels are stored in the partition table ... I don't know what you mean by "inside the disk label". ... zfs for a file system; swap for a swap area; raid for a member ...
    (alt.os.linux.suse)
  • Re: newfs and mount vs. half-baked disks
    ... > examine to recover a crashed disk), and any overaul by GEOM would have ... > somewhere outside the superblocks. ... unllikely that it will be the disk label as FreeBSD is looking to go to ... a sector size of 16K are not unreasonable and this is sufficent ...
    (freebsd-arch)
  • Re: Path syntax in VBA
    ... the path at all -- Windows doesn't "understand" disk labels in paths ... then use the corresponding drive letter in the save path. ... >Jonathan West - Word MVP ... >> The question is can I use the disk label in the path instead of the drive ...
    (microsoft.public.word.vba.general)
  • Re: newfs and mount vs. half-baked disks
    ... > where the disk contents is disposable and you re-newfs it a lot. ... > metadata newfs does when it starts. ... > newfs should erase all the primary metadata for the old filesystem ... You cannot depend on the disk label as the disklabel is going away ...
    (freebsd-arch)