Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2007 18:01:37 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-fs@freebsd.org
Subject:   Re: Filesystems larger than 2TB?
Message-ID:  <f4h799$r6j$1@sea.gmane.org>
In-Reply-To: <cone.1181484821.884802.9541.1000@zoraida.natserv.net>
References:  <cone.1181435058.668170.9868.1000@zoraida.natserv.net>	<f4gttm$t35$2@sea.gmane.org> <cone.1181484821.884802.9541.1000@zoraida.natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5A4A22D384CFC68AB191E63D
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Francisco Reyes wrote:
> Ivan Voras writes:
>=20
>> 1. don't use partitions/slices at all and create the file system on th=
e
>> raw device (i.e. newfs /dev/da0)
>=20
> But how would one do this on a new machine?
> i.e. If I am setting up a new machine with a 6.2 Stable CD.. isn't the
> install program  basically sysinstall?

If you have a single storage device (RAID array?) on which you want to
install FreeBSD, which is larger than 2 GB, and you want to use up all
the space in it, you cannot do it using sysinstall because sysinstall
only knows about MSDOS partitions and BSD partitions ("bsdlabels"). In
fact, since you can only boot from raw drives, MSDOS and BSD partitions,
your only option is not to use any partitioning, make one huge file
system directly on the device and install FreeBSD manually on it, but
this course of action is absurd.

> Do I setup my smaller partitions such as /, /usr, /var, /tmp and leave
> the end blank and then use "newfs -s /dev/da0s1<letter> ?
> Or perhaps creating a second slice for the remaining space over 2TB?
> Any man pages or URLs you know off that I can read?

No, if you use *any* partitioning scheme except GPT you're limited to 2
TB "total" usable space covered by the partitions. And you can't use GPT.=
=2E.

> So far the only thing I found was the "-s" parameter to newfs.

It doesn't apply to your case.

The only reasonable (well, as far as circumstances permit) thing you can
do is get a smaller drive into the machine, install and partition it
"normally" using sysinstall, MSDOS and BSD partitions, boot from it, and
then use GPT to partition the big device, mount it, etc.

>> 2. use GPT partitions.
>=20
> What is the drawback of using that approach?

You can't boot from it, it's not supported by sysinstall.

This might change in 7.0, but there are no enthusiastic volunteers to do
the work as of yet so don't count on it :(


--------------enig5A4A22D384CFC68AB191E63D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbCBnldnAQVacBcgRAlpJAKDVYmj5rQ39zbQLTvTBSXy1vO5S7wCgxKAB
BhF/VWZ0PJov72v2BG+i/dU=
=nZSN
-----END PGP SIGNATURE-----

--------------enig5A4A22D384CFC68AB191E63D--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f4h799$r6j$1>