From owner-freebsd-questions@FreeBSD.ORG Tue Sep 10 20:38:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 06B63D59 for ; Tue, 10 Sep 2013 20:38:52 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from nm24-vm9.bullet.mail.ird.yahoo.com (nm24-vm9.bullet.mail.ird.yahoo.com [212.82.109.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 48E5B29E2 for ; Tue, 10 Sep 2013 20:38:50 +0000 (UTC) Received: from [77.238.189.231] by nm24.bullet.mail.ird.yahoo.com with NNFMP; 10 Sep 2013 20:38:49 -0000 Received: from [46.228.39.95] by tm12.bullet.mail.ird.yahoo.com with NNFMP; 10 Sep 2013 20:38:49 -0000 Received: from [127.0.0.1] by smtp132.mail.ir2.yahoo.com with NNFMP; 10 Sep 2013 20:38:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1378845529; bh=JcjVALLqzG6nAg8HFdy7H3Nsq8ICQG9InUCghqUeXW8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:References:From:Content-Type:X-Mailer:In-Reply-To:Message-Id:Date:To:Content-Transfer-Encoding:Mime-Version; b=3mEtbHTICfym3ZZJiFA9mD11l2Z8HY3u6LK/w6+HKJwyCwzEIF0PaxpayeKtQFlQx6NEx5fbqwcDpLYW8lhIffdb+RyxAzvMScFGhZq9MdVusMHkQYH2bIoj3d+1KvX1k5SNBRaBz+UITIL6uqj3CqCeE3UjXA/4JVwbH/VQvxA= X-Yahoo-Newman-Id: 187016.79611.bm@smtp132.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: owlyyOAVM1mIhAumVUgbNYEy_Dy1ezKRVaPYM6pSLY_uVVJ Tzdmt3xbxIgNA.DCnSbtnkVgir3mkSrA6DKJikZJKGyPojtuknLmDBHUF7iK v0_2IHZ0G2KlJoyQvpdl1qqZ4byJ41DmVAEgagLgCcRKS1KlXBQXwEte59S7 Vbw7YyypEvZbL63YV_PFGW3qzZymI.S_9Azc8wwbKF7Omg7286tMSN5bD6Mh pGuRKvAVhM1ExaUOwvFOWkQ7ljKuDSdPJYOdVlsgn0THhq8CiVbhPZxXQUVf _U2HycqsScX1zcXmMtPWf.9hwD0F9096h2iwTByLAZUBQrc9Ni3q25Il9DV9 8sgB_7exoWfxgtuL7HTFAng4KWInkXPTz4vYoRsR89VXsZLGthy.YnMPq_j8 JfbOlEf3L9YRbIp.rzLlQoxcy7Wz.hzF0Y9OqH5RgIl8t2xfiAHe.sA2aEL. zf852AaFz5O3J6i.hjJh2g5jjyCerlbDTQmLsILuWnxjE23JYSauHbJwyPaR g.bp07QrZeg-- X-Yahoo-SMTP: QwgFOT2swBC9RbEk7L61j8D8oTJpwuBOkZBcLzY- X-Rocket-Received: from [192.168.1.10] (laszlo_danielisz@80.98.102.209 with ) by smtp132.mail.ir2.yahoo.com with SMTP; 10 Sep 2013 20:38:49 +0000 UTC Subject: Re: ufs recovery References: <58B8F61A39614B629030FE4BE8DDF33B@yahoo.com> <20130908220352.GA43450@slackbox.erewhon.net> <20130908223653.GA74606@neutralgood.org> From: Laszlo Danielisz Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10B329) In-Reply-To: <20130908223653.GA74606@neutralgood.org> Message-Id: <85C3595F-D698-4C57-A433-597CB02A3CF7@yahoo.com> Date: Tue, 10 Sep 2013 22:38:46 +0200 To: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2013 20:38:52 -0000 Dear All, It looks like I'm able to recover all of the deleted files. I'm using UFS Explorer Professional Recovery, I'm working on it for more tha= n 30 hours, its a long time but it works! Yaaay! Laci Sent from my mobile.=20 On 2013.09.09., at 0:36, kpneal@pobox.com wrote: > On Mon, Sep 09, 2013 at 12:03:52AM +0200, Roland Smith wrote: >> On Sun, Sep 08, 2013 at 10:46:35AM +0200, Laszlo Danielisz wrote: >>> Hi, >>>=20 >>> By mistake I forgot to edit my crontab on my FreeBSD 8.3 after I took ou= t >>> one of the hard drives. I had a little rsync script which I used to >>> synchronise a directory between those two hard drives, because one of th= e >>> hard drives were not present anymore and rsync had the --delete paramete= r I >>> end up deleting the whole directory, of course with precious information= s. >>=20 >> Ouch. I have a similar procedure going. But I put it in a shell-script th= at >> mounts the destination _and_ checks if the destination is properly mounte= d _before_ >> starting the rsync. I would suggest you do something similar in the futur= e. >>=20 >> Just to be clear, was the information deleted from _both_ harddisks? >=20 > How about using UFS labels and putting the label device into the fstab > instead of the raw block device? Then if the situation happens again > the changed block device names will not matter. >=20 > I believe "tunefs -L" will do the trick. > --=20 > "A method for inducing cats to exercise consists of directing a beam of > invisible light produced by a hand-held laser apparatus onto the floor ...= > in the vicinity of the cat, then moving the laser ... in an irregular way > fascinating to cats,..." -- US patent 5443036, "Method of exercising a cat= "