From owner-freebsd-current@FreeBSD.ORG Sun Feb 20 00:41:05 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C639216A4CE for ; Sun, 20 Feb 2005 00:41:05 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A8AD43D48 for ; Sun, 20 Feb 2005 00:41:04 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j1K0eqbp033241; Sat, 19 Feb 2005 18:40:52 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <4217DC90.5090202@centtech.com> Date: Sat, 19 Feb 2005 18:40:48 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ticso@cicely.de References: <20050216224825.39102.qmail@web26807.mail.ukl.yahoo.com> <4213D046.4080001@centtech.com> <7579f7fb05021715344d661662@mail.gmail.com> <421605D0.80302@centtech.com> <20050218172831.GA9944@freebie.xs4all.nl> <4217BAC5.10504@centtech.com> <20050220000418.GU14312@cicely12.cicely.de> In-Reply-To: <20050220000418.GU14312@cicely12.cicely.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/712/Sat Feb 19 16:53:42 2005 on mh1.centtech.com X-Virus-Status: Clean cc: Wilko Bulte cc: FreeBSD Current cc: Matthew Jacob Subject: Re: newfs limits? 10TB filesystem max? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 00:41:05 -0000 Bernd Walter wrote: > 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. Sorry - I understand how to make a file with dd, but 5000TB filesystem means to me someone has 5PB of space to put the filesystem on.. I had not heard anyone call a file a 'sparse file' with regards to dd before this, and the man page info for dd and sparse isn't all that telling. > 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. I see that running the command gives a 1GB file, that takes very little disk space. I must have missed this option in the dd man pages, or never looked for it. Thanks for the command line Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology I have seen the future and it is just like the present, only longer. ------------------------------------------------------------------------