Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 19:54:24 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Peter Steele <psteele@maxiscale.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: How do I create large partitions in FreeBSD?
Message-ID:  <20091208195424.850e8363.freebsd@edvax.de>
In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D44A@MBX03.exg5.exghost.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0D44A@MBX03.exg5.exghost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Dec 2009 12:36:54 -0600, Peter Steele <psteele@maxiscale.com> wrote:
> We have 3U systems with 3Ware raid controllers configured to give
> us large 11TB logical drives. The diskinfo command shows this:
> [...]
> We want to create a BSD slice to cover the entire drive. My plan
> was to use the fdisk -I option:
> [...]
> How do we resolve this? We want a full size partition spanning
> the entire disk, and we need a scriptable solution since the
> configuration of these servers is handled through an automated
> process.

Why not directly formatting the whole device?

In the subject line, you wrote "large partition", so I assume
you won't want to boot from from the device, but use it as a
big storage area instead. Correct me if I'm wrong.

I am often using disks without slice if I don't boot from them,
but use them for storage.

	# newfs /dev/da1

would be the command to create a partition with file system
that covers the whole disk. It will be /dev/da1c (which is
/dev/da1), and you can easily mount it:

	# mount /dev/da1 /bigstorage

Of course, this solution is completely scriptable, given the
fact that you know which device to newfs.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091208195424.850e8363.freebsd>