From owner-freebsd-questions@FreeBSD.ORG Thu Apr 20 18:46:20 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 5701C16A400 for ; Thu, 20 Apr 2006 18:46:20 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86C5443D46 for ; Thu, 20 Apr 2006 18:46:19 +0000 (GMT) (envelope-from gibblertron@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so224035nfc for ; Thu, 20 Apr 2006 11:46:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V5JqnG7M9AiqPNMyFkp++0Z8beVffU2BGnmzTIC5N3jhtnRXM1jPosEghqZBNPeJWSqf9zR3kYbifH3813AzU1odJ0Z1MbOl9DuOJCh2wujabnRQ2mTxb/4t1G6ohd8BIg0LxEYR4RhW7KEW2L1TAcEgxBCxKZLXeJRMMZKFQIA= Received: by 10.49.87.2 with SMTP id p2mr643223nfl; Thu, 20 Apr 2006 11:03:54 -0700 (PDT) Received: by 10.48.238.12 with HTTP; Thu, 20 Apr 2006 11:03:54 -0700 (PDT) Message-ID: Date: Thu, 20 Apr 2006 11:03:54 -0700 From: patrick To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Subject: Re: 6.0 and fsck_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: Thu, 20 Apr 2006 18:46:20 -0000 Does anyone have any knowledge about this fsck_snapshot file? I've Googled it, but haven't found anything useful. I'm somewhat concerned that FreeBSD/fsck could destroy the entire contents of a drive like this. Patrick On 4/19/06, patrick wrote: > I used smartctl (part of /usr/ports/sysutils/smartmontools) to run a > diagnostic on the disk, and while it does acknowledge an error, it > seems to think the drive is okay. However, given that all of my files > are still missing, I'm still a bit skeptical. > > Error 1 occurred at disk power-on lifetime: 2920 hours (121 days + 16 hou= rs) > When the command that caused the error occurred, the device was > active or idle. > > After command completion occurred, registers were: > ER ST SC SN CL CH DH > -- -- -- -- -- -- -- > 84 51 0f b0 bc 5d 4f Error: ICRC, ABRT 15 sectors at LBA =3D > 0x0f5dbcb0 =3D 257801392 > > Commands leading to the command that caused the error were: > CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name > -- -- -- -- -- -- -- -- ---------------- -------------------- > c8 00 20 9f bc 5d 4f 00 00:02:34.209 READ DMA > c8 00 20 7f fe 57 4f 00 00:02:34.202 READ DMA > c8 00 20 5f 40 52 4f 00 00:02:34.191 READ DMA > c8 00 20 3f 82 4c 4f 00 00:02:30.735 READ DMA > c8 00 20 1f c4 46 4f 00 00:02:34.965 READ DMA > > SMART Self-test log structure revision number 1 > Num Test_Description Status Remaining > LifeTime(hours) LBA_of_first_error > # 1 Extended offline Completed without error 00% 3300 = - > > > > On 4/19/06, patrick wrote: > > I rebooted out FreeBSD 6.0 server today. I noticed that it froze > > during the shutdown, so I had to do a hard reset. After it reboot, I > > did an ls on one of our filesystems (250GB SATA drive). Instead of all > > of the files that would normally be there, all there was was a .snap > > folder. When I did an ls in there, the process hung. I rebooted once > > again, and I can get into the .snap folder just fine. Except that all > > of my files are still missing, and instead it appears I have one big > > fsck_snapshot file. > > > > Is there any way I can recover from this and restore my files? Looking > > through my logs, I see a couple errors just before I did the initial > > reboot: > > > > Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=3D114688= , > > length=3D16384)]error =3D 6 > > Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=3D114688= , > > length=3D16384)]error =3D 6 > > > > Any help would be greatly appreciated. > > > > Thanks, > > > > Patrick > > >