Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2007 14:49:59 -0400 (CLT)
From:      "Daniel Molina Wegener" <dmw@unete.cl>
To:        "Ross Penner" <ross.penner@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: File System errors
Message-ID:  <40751.64.117.137.69.1179254999.squirrel@webmail.ifxnw.cl>
In-Reply-To: <f80199c40705151115m6b070d06t1a7eed370e039119@mail.gmail.com>
References:  <f80199c40705151115m6b070d06t1a7eed370e039119@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

El Mar, 15 de Mayo de 2007, 14:15, Ross Penner escribió:
> I recently had my system freeze so I had to manually restart it. I was
> worried that there would be some problems with the filesystem so I
> looked into the matter and discovered the utility fsck. I ran this as
> root and I got the following:
>
> rosbot# fsck
> ** /dev/ar0s1a (NO WRITE)
> ** Last Mounted on /
> ** Root file system
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 1549 files, 27349 used, 226466 free (650 frags, 28227 blocks, 0.3%
> fragmentation)
> ** /dev/ar0s1e (NO WRITE)
> ** Last Mounted on /tmp
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 39 files, 2445 used, 251370 free (50 frags, 31415 blocks, 0.0% fragmentation)
> ** /dev/ar0s1f (NO WRITE)
> ** Last Mounted on /usr
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> FREE BLK COUNT(S) WRONG IN SUPERBLK
> SALVAGE? no
>
> 292882 files, 98192697 used, 135895442 free (39610 frags, 16981979
> blocks, 0.0% fragmentation)
> ** /dev/ar0s1d (NO WRITE)
> ** Last Mounted on /var
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> UNREF FILE I=117781  OWNER=root MODE=140666
> SIZE=0 MTIME=May 15 09:56 2007
> CLEAR? no
>
> UNREF FILE I=141337  OWNER=teamspeak MODE=100600
> SIZE=2048 MTIME=May 15 09:56 2007
> CLEAR? no
>
> ** Phase 5 - Check Cyl groups
> FREE BLK COUNT(S) WRONG IN SUPERBLK
> SALVAGE? no
>
> SUMMARY INFORMATION BAD
> SALVAGE? no
>
> 18514 files, 70825 used, 905728 free (6688 frags, 112380 blocks, 0.7%
> fragmentation)
>
>
> It seems to my unexperienced eye that their are problems in some of
> the filesystems, but they arn't being resolved. I tried running fsck
> -y  and nothing changed. What am I doing wrong? How can I resolve
> these issues? Thanks for any help you can offer.
> [SNIP]
>

Hello,

   Try booting in single user mode, then running fsck again with -y parameter --
seems to
need unmounted devices.

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User        | Standards Rocks!





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