From owner-freebsd-questions Thu Mar 20 15:56: 6 2003 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 2E01837B401 for ; Thu, 20 Mar 2003 15:56:04 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 515D143FB1 for ; Thu, 20 Mar 2003 15:56:02 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 4721151A6B; Fri, 21 Mar 2003 10:26:00 +1030 (CST) Date: Fri, 21 Mar 2003 10:26:00 +1030 From: Greg 'groggy' Lehey To: Alexander Haderer Cc: Maarten de Vries , Dirk-Willem van Gulik , freebsd-questions@FreeBSD.ORG Subject: Re: Three Terabyte Message-ID: <20030320235600.GG60356@wantadilla.lemis.com> References: <20030320111436.N74106-100000@foem.leiden.webweaving.org> <20030320111436.N74106-100000@foem.leiden.webweaving.org> <5.2.0.9.1.20030320125711.019eb9c8@postamt1.charite.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nhYGnrYv1PEJ5gA2" Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20030320125711.019eb9c8@postamt1.charite.de> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --nhYGnrYv1PEJ5gA2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 20 March 2003 at 13:13:18 +0100, Alexander Haderer wrote: > At 12:53 20.03.2003 +0100, Maarten de Vries wrote: >> On Thu, 20 Mar 2003, Dirk-Willem van Gulik wrote: >> >>> Depends on what access patterns you have; is it mostly dormant >>> archiving; or lots of access, concurrent, sequential ? How safe does the >>> data need to be; and against what (hardware failure, accidental rm -rf). >> >> This would be for backup. Data on about 50 webservers would be backed up >> to it on a nightly basis. So performance wouldn't be important. > > Sure? Consider this: > > a. > Filling 3TB with 1 Mbyte/s lasts more than 800 hours or 33 days. I do a nightly backup to disk. It's compressed (gzip), which is the bottleneck. I get this sort of performance: dump -2uf - /home | gzip > /dump/wantadilla/2/home.gz ... DUMP: DUMP: 1254971 tape blocks DUMP: finished in 217 seconds, throughput 5783 KBytes/sec DUMP: level 2 dump on Thu Mar 20 21:01:31 2003 You don't normally fill up a backup disk at once, so this would be perfectly adequate. I'd expect a system of the kind that Maarten's talking about to be able to transfer at least 40 MB/s sequential at the disk. That would mean he could backup over 1 TB in an 8 hour period. > b. > Using ssh + dump/cpio/tar needs CPU power for encryption, especially when > multiple clients safe their data at the same time. You can share the compression across multiple machines. That's what was happening in the example above. > c. > When using FreeBSD 4.X a fsck after a hard reboot will block the server. > fsck'ing a full 3TB filesystem may need a long time. Its better to use > several smaller file systems. You don't have to fsck at boot time, not even in Release 4. > d. > Wrong parameters for newfs may slowdown large filesystems and waste lots of > space. Before using large filesystems read the manpage of newfs, especially > the topics about options -b -f -i Correct. Check the -m option (free space %) as well. There's no reason to waste 8% of the space. Greg -- See complete headers for address and phone numbers --nhYGnrYv1PEJ5gA2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+elUQIubykFB6QiMRAlSdAJ9wog/xYhiKwgZDacrlAATv3jojmQCgo9al 6/uoxD3AjsoCyHGeOiY0SAc= =M7MP -----END PGP SIGNATURE----- --nhYGnrYv1PEJ5gA2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message