Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2007 14:34:13 +0100
From:      Indigo <indigo@voda.cz>
To:        "Ivan Voras" <ivoras@fer.hr>, freebsd-fs@freebsd.org
Subject:   Re: comments on newfs raw disk ?  Safe ? (7 terabyte array)
Message-ID:  <op.tnhhbbhq5sheu4@spyro.eiecon.net>
In-Reply-To: <eqhrv8$92j$1@sea.gmane.org>
References:  <646424.65334.qm@web58613.mail.re3.yahoo.com> <eqhrv8$92j$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
does that mean that slicing and partitioning additional drives has no  =

advantages on a purely FreeBSD machine?

Vasek

On Fri, 09 Feb 2007 14:12:07 +0100, Ivan Voras <ivoras@fer.hr> wrote:

> Arone Silimantia wrote:
>
>> dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1
>> newfs -m 0 /dev/da1
>> mount /dev/da1 /mnt
>>
>> And that's that.  But it seems too good to be true!  Can someone plea=
se
>> comment on this scheme and if there are some hidden dangers or lack o=
f
>> functionality that I will regret in the future ?
>
> No dangers at the system level - you can create your file system on an=
y
> storage-like device, use it and mount it any way you want. Raw disks a=
re
> a perfectly valid target.
>
>> Will it fsck just like any other UFS2 partition I run ?  Can I run
>> quotas and snapshots and everything else on it, just like normal ?
>
> Yes.
>
>> Other than the fact that I can't boot this, is there _any downside
>> whatsoever_ to newfs'ing raw disk like this ?
>
> Only "collateral" problems because of the partition size: a regular
> (non-softupdates) fsck will take a LONG time to finish and eat a LOT o=
f
> memory while it's doing its stuff. You'll need a lot of swap space (1G=
B
> per TB? someone had empirical numbers on this, I'm sure) if you think
> you'll need to fsck it entirely. Creating snapshots will also take a
> long time on it, and you probably want to search the lists for
> recommendations about creating snapshots in a second level directory i=
n
> order not to block the root directory. Related to this is
> background-fsck which works by creating snapshots, so you'll probably
> want to disable it.
>
> In any case, try every feature you think you'll need before deploying =
it.
>
> Also, write about your experience on this list :)
>
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"





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