6.0 and fsck_snapshot

patrick gibblertron at gmail.com
Wed Apr 19 22:02:45 UTC 2006


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 hours)
  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 =
0x0f5dbcb0 = 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 at 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=114688,
> length=16384)]error = 6
> Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=114688,
> length=16384)]error = 6
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Patrick
>


More information about the freebsd-questions mailing list