Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2011 01:10:12 -0800
From:      perryh@pluto.rain.com
To:        petefrench@ingresso.co.uk, lists@c0mplx.org
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 3TB disc and block alignment
Message-ID:  <4d64cef4.8Viwa9MksENBCcLO%perryh@pluto.rain.com>
In-Reply-To: <E1Prruj-000D2F-ML@dilbert.ticketswitch.com>
References:  <E1Prruj-000D2F-ML@dilbert.ticketswitch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Pete French <petefrench@ingresso.co.uk> wrote:

> > Why may it hurt ? How may it hurt ? Which sector is written to
> > by this 'gpart' command ?
> >
> > As far as I understand, GPT writes some stuff at the beginning
> > and the end of the harddisk.
>
> Yup, this is true.
>
> > How/why will the newfs overwrite those parts ?
>
> Because you are also giving it the whole hard disc to write to,
> instead of a partition within the hard disc, so you will end up
> scribbling on what you wrote with the gpart command.

Certainly the _correct_ thing to do is to create a partition, and
newfs that.  However, it's not entirely clear why the OP is not
getting by with this mistake, because newfs (for a UFS filesystem)
doesn't write anything ahead of the superblock -- unless asked to
install bootblocks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d64cef4.8Viwa9MksENBCcLO%perryh>