On Sun Dec 18 19:35:43 2016, Alarig Le Lay wrote: > On Sun Dec 18 18:23:22 2016, Mick wrote: > > Another thing to try is unmount it, run fsck and then remount it as rw. A > > dirty unmount can cause this problem. > > It was dirty unmounted. This a flash card that is a / for a router at > home. Its power supply suddenly stopped to work today. > I will try this, thanks :)
Well done, an fsck fixed the problem :) airmure # umount /dev/sdg2 airmure # fsck.ufs /dev/sdg2 ** /dev/sdg2 ** 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 FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? [yn] y SALVAGE? [yn] y SUMMARY INFORMATION BAD SALVAGE? [yn] y BLK(S) MISSING IN BIT MAPS SALVAGE? [yn] y 17039 files, 176220 used, 1617195 free (371 frags, 202103 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ***** FILE SYSTEM WAS MODIFIED ***** airmure # mount -t ufs -o ufstype=ufs2,rw /dev/sdg2 /mnt/drscott airmure # mount | grep drscott /dev/sdg2 on /mnt/drscott type ufs (rw,relatime,ufstype=ufs2,onerror=lock) -- alarig
signature.asc
Description: PGP signature