SU+J all files lost after a reboot?

Attila Nagy bra at fsn.hu
Wed Jul 17 10:30:44 UTC 2013


On 07/17/13 12:03, Attila Nagy wrote:
> Hi,
>
> SU+J file systems formatted with r248885. The file systems were in 
> active use for some months, they were 70% full.
> Today, I rebooted the OS (clean shutdown, there were no crashes) with 
> r251643 just to see this:
> /dev/da0p2                                923G     32M    923G 0%    /fs
>
> All files lost after a reboot???
>
> But a quick find on the file system showed the files are(?) there, I 
> can even read them (at least the ones I've tried so far).
> Starting an fsck gives:
> # fsck /fs
> ** /dev/da0p2
>
> USE JOURNAL? [yn] y
>
> ** SU+J Recovering /dev/da0p2
> Journal timestamp does not match fs mount time
> ** Skipping journal, falling through to full fsck
>
> ** Last Mounted on
> ** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
SUMMARY BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? [yn] y

6768204 files, 84410191 used, 36633989 free (27013 frags, 4575872 
blocks, 0.0% fragmentation)

***** FILE SYSTEM IS CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****
# mount /fs
# df -h /fs
Filesystem                                Size    Used   Avail Capacity  
Mounted on
/dev/da0p2                                923G    644G    279G 70%    /fs

Scary.


More information about the freebsd-fs mailing list