Re: 3TB disc and block alignment
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.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 18 之 19 篇):