From owner-freebsd-fs@FreeBSD.ORG Fri May 20 03:17:23 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41877106564A for ; Fri, 20 May 2011 03:17:23 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [64.81.247.49]) by mx1.freebsd.org (Postfix) with ESMTP id 1C3778FC16 for ; Fri, 20 May 2011 03:17:23 +0000 (UTC) Received: from chez.mckusick.com (localhost [127.0.0.1]) by chez.mckusick.com (8.14.3/8.14.3) with ESMTP id p4K3G6EU039569; Thu, 19 May 2011 20:16:06 -0700 (PDT) (envelope-from mckusick@chez.mckusick.com) Message-Id: <201105200316.p4K3G6EU039569@chez.mckusick.com> To: lev@freebsd.org In-reply-to: <1606289061.20110519211755@serebryakov.spb.ru> Date: Thu, 19 May 2011 20:16:06 -0700 From: Kirk McKusick X-Spam-Status: No, score=1.3 required=5.0 tests=MISSING_MID,PLING_QUERY, UNPARSEABLE_RELAY autolearn=no version=3.2.5 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on chez.mckusick.com Cc: freebsd-fs@freebsd.org Subject: Re: Snapshots fail on large FFS2 volumes regulary -- how to backup /usr/home?! X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2011 03:17:23 -0000 > Date: Thu, 19 May 2011 21:17:55 +0400 > From: Lev Serebryakov > To: freebsd-fs@freebsd.org > > Hello, Freebsd-fs. > > I have /usr/home partition on my new server which is 400GiB (only > 17GiB is used). It is UFS2, SoftUpdates are enabled. > > I want to backup it on live system, but 4 times out of 5 I got > (after 10-12 minutes of wait! Oh my, 10 minutes to create snapshot!): > > mksnap_ffs: Cannot create snapshot /usr/home/.snap/dump_snapshot: Resource temporarily unavailable > dump: Cannot create /usr/home/.snap/dump_snapshot: No such file or directory > > It is FreeBSD 8.2-STABLE/amd64, 8GiB of memory. > > I've never encounter such problem on previous server, which has > about 80GiB (with 20GiB used). > > -- > // Black Lion AKA Lev Serebryakov > > _______________________________________________ > 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" Given the size of your storage, you should consider using ZFS which is better able to handle such large systems better. My second suggestion is that you try building UFS2 with 32K blocks and 4K fragments. That will reduce the number of resources needed to take the snapshot. Kirk McKusick