1 |
On Sunday 18 Dec 2016 19:39:36 Alarig Le Lay wrote: |
2 |
> On Sun Dec 18 19:35:43 2016, Alarig Le Lay wrote: |
3 |
> > On Sun Dec 18 18:23:22 2016, Mick wrote: |
4 |
> > > Another thing to try is unmount it, run fsck and then remount it as rw. |
5 |
> > > A |
6 |
> > > dirty unmount can cause this problem. |
7 |
> > |
8 |
> > It was dirty unmounted. This a flash card that is a / for a router at |
9 |
> > home. Its power supply suddenly stopped to work today. |
10 |
> > I will try this, thanks :) |
11 |
> |
12 |
> Well done, an fsck fixed the problem :) |
13 |
> |
14 |
> airmure # umount /dev/sdg2 |
15 |
> airmure # fsck.ufs /dev/sdg2 |
16 |
> ** /dev/sdg2 |
17 |
> ** Last Mounted on / |
18 |
> ** Phase 1 - Check Blocks and Sizes |
19 |
> ** Phase 2 - Check Pathnames |
20 |
> ** Phase 3 - Check Connectivity |
21 |
> ** Phase 4 - Check Reference Counts |
22 |
> ** Phase 5 - Check Cyl groups |
23 |
> FREE BLK COUNT(S) WRONG IN SUPERBLK |
24 |
> SALVAGE? [yn] y |
25 |
> SALVAGE? [yn] y |
26 |
> |
27 |
> SUMMARY INFORMATION BAD |
28 |
> SALVAGE? [yn] y |
29 |
> |
30 |
> BLK(S) MISSING IN BIT MAPS |
31 |
> SALVAGE? [yn] y |
32 |
> |
33 |
> 17039 files, 176220 used, 1617195 free (371 frags, 202103 blocks, 0.0% |
34 |
> fragmentation) |
35 |
> |
36 |
> ***** FILE SYSTEM MARKED CLEAN ***** |
37 |
> |
38 |
> ***** FILE SYSTEM WAS MODIFIED ***** |
39 |
> airmure # mount -t ufs -o ufstype=ufs2,rw /dev/sdg2 /mnt/drscott |
40 |
> airmure # mount | grep drscott |
41 |
> /dev/sdg2 on /mnt/drscott type ufs |
42 |
> (rw,relatime,ufstype=ufs2,onerror=lock) |
43 |
|
44 |
|
45 |
Glad you sorted this out. I've been bitten by this problem once or twice. It |
46 |
is a right pain when you are running an OS upgrade and haven't checked first if |
47 |
your fs is *still* mounted as rw. The solution is to get a UPS for this |
48 |
device. Hmm ... one more thing to go on Santa's list. ;-) |
49 |
|
50 |
-- |
51 |
Regards, |
52 |
Mick |