From owner-freebsd-questions@FreeBSD.ORG Fri Jun 23 09:26:08 2006 Return-Path: X-Original-To: freebsd-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 8E84016A47E for ; Fri, 23 Jun 2006 09:26:08 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE87543D48 for ; Fri, 23 Jun 2006 09:26:06 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k5N9Q5EY010644; Fri, 23 Jun 2006 12:26:05 +0300 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Fri, 23 Jun 2006 12:22:07 +0300 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606231222.07599.nvass@teledomenet.gr> Cc: Jon Falconer Subject: Re: problem creating filesystem snapshot 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: Fri, 23 Jun 2006 09:26:08 -0000 On Thursday 22 June 2006 21:04, Jon Falconer wrote: > Greetings, > > I needed to dump the partitions on a running FreeBSD 6.1R system so I > could duplicate them on a test server. The server is a Dell 2850 with the > PERC 4e/Di RAID controller with 5 x 73GB disk array. So I thought I would > try using the snapshot feature. I used the mksnap_ffs to create a snapshot > of a 20GB partition. The command completed in about 15 - 20 seconds. I was > then able to run dump against the new snap file and all seemed ok. I then > tried the same thing on a 225GB partition. The mksnap_ffs command took > over 30 minutes to complete. But every access to that partition after that > just hung. I wanted to see the size of the snap file so I typed ls -l > /home/.snap (where I had told mksnap_ffs to put the snap file) and it > hung. Same thing from several logins. I figured I would have to reset the > box so I typed sync, and that hung. All the time, access to other > partitions was just fine (/, /usr, /var). > > All partitions (except /) were created with soft update enables (default > when installing.) > > The questions. Is there anything magic about the /xxx/.snap directory in > each partition? When I created the snap file for the 20GB partition, I did > not put it inside the /xxx/.snap directory, and it worked fine. No, there is no magic in .snap directories. You can create a snapshot anywhere you want. You can find all snapshots in a UFS with the snapinfo(8) utility. > Is there > some partition size restrictions? Can't answer this question, but there are a few commits after 6.1-RELEASE so you can try updating to 6.1-STABLE and see what's going on. Also, why don't you ask freebsd-fs@?