Re: newfs limits? 10TB filesystem max?

From: Bernd Walter <ticso_at_cicely12.cicely.de>
Date: Sun, 20 Feb 2005 01:04:19 +0100
On Sat, Feb 19, 2005 at 04:16:37PM -0600, Eric Anderson wrote:
> Wilko Bulte wrote:
> >On Fri, Feb 18, 2005 at 09:12:16AM -0600, Eric Anderson wrote..
> >
> >>Matthew Jacob wrote:
> >>
> >>>BTW- be careful with very large filesystems on FreeBSD- at some point
> >>>fsck can't check them.
> >>>
> >>>I built a sparse 5000TB filesystem which newfs'd and mounted okay, but
> >>>was not possible to check with fsck.
> >>
> >>5000TB?!?!   How did you do that? 
> >
> >
> >Note the word 'sparse' :)
> 
> 
> That doesn't explain it much.. Is there a doc on how to create these sparse 
> filesystems?

Creating sparse files, e.g. by using dd, is prety much unix basics.
And via md(4) you can get a disk type device from a file.

testdisk=/tmp/testdisk
dd if=/dev/zero bs=512 count=1 oseek=2m of=${testdisk}
mdev=`mdconfig -a -t vnode -f ${testdisk}`

I don't know if md(4) works with such large disks, but it's very likely
that is does.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd_at_bwct.de                                  info_at_bwct.de
Received on Sat Feb 19 2005 - 23:05:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC