Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 11:03:54 -0700
From:      patrick <gibblertron@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: 6.0 and fsck_snapshot
Message-ID:  <b043a4850604201103j5e8a6d12t435125426f03d563@mail.gmail.com>
In-Reply-To: <b043a4850604191456x65a0fd4h30474273c5e65950@mail.gmail.com>
References:  <b043a4850604191256w6c3b6d77g5256c4f77d5d6945@mail.gmail.com> <b043a4850604191456x65a0fd4h30474273c5e65950@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <gibblertron@gmail.com> 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 <gibblertron@gmail.com> 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
> >
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b043a4850604201103j5e8a6d12t435125426f03d563>