From owner-freebsd-questions@FreeBSD.ORG Thu Aug 18 15:36:34 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A435B16A41F for ; Thu, 18 Aug 2005 15:36:34 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F9EF43D45 for ; Thu, 18 Aug 2005 15:36:34 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so283299nzd for ; Thu, 18 Aug 2005 08:36:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p1z50ACMCzAd93y9aBbyDMZCi75Dz79NS9dbuV0agPZQe+jyQ/cGLYPHs4bBetHgov13aAidIKV5RWEYr7LF9EZQySGhVsJT5nrl2mOiitfnzl5QpvswX9ZjhCsekq7RC+lq6QQpf/BAnu+mQNFIcqCgJW1G7ZgLk8EuXdFa4K8= Received: by 10.36.221.9 with SMTP id t9mr1000020nzg; Thu, 18 Aug 2005 08:36:33 -0700 (PDT) Received: by 10.36.221.21 with HTTP; Thu, 18 Aug 2005 08:36:33 -0700 (PDT) Message-ID: <54db439905081808364e298956@mail.gmail.com> Date: Thu, 18 Aug 2005 11:36:33 -0400 From: Bob Johnson To: Chris Knipe In-Reply-To: <053201c5a3f9$5546ba90$0a02a8c0@MEGADROID> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <053201c5a3f9$5546ba90$0a02a8c0@MEGADROID> Cc: questions@freebsd.org Subject: Re: large file support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 15:36:34 -0000 On 8/18/05, Chris Knipe wrote: > Hi, >=20 > Uhm, quite urgent, but does BSD support < 4GB files on i386? Yes. It also supports > 4 GB files. >=20 > We have a 4.3GB MySQL Table (i.e. one file), mysql reads from it, server > halts, we tried to cp / mv it, server halts...=20 >=20 > For a test, I did a quick dd to generate a 6.4GB file, server halted....= =20 >=20 I have been using dd to generate 64 GB files to test RAID configurations with no problems. It should support files up to at least 2 TB, maybe more. > What's the solution here???? =20 Hard to say without more details. Did you get any error message at all, or did it just freeze? Does anything show in /var/log/messages? What filesystem are you using (the default, which is UFS2, or did you set up something else)? How big is disk partition you are building the files on? I.E. what does "df" say? Running out of disk space can cause strange problems. Is softupdates enabled on the file system? "tunefs -p /var" or whatever the filesystem is will tell you. If softupdates runs out of memory or disk space, strange things happen. If you run "top" while generating the 6.4 GB test file, does it show a lot of swap being used? - Bob