Gentoo Archives: gentoo-user

From: Alarig Le Lay <alarig@××××××××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] UFS write support
Date: Sun, 18 Dec 2016 18:39:51
Message-Id: 20161218183936.uii4xpyittrsgcag@kaiminus
In Reply to: Re: [gentoo-user] UFS write support by Alarig Le Lay
1 On Sun Dec 18 19:35:43 2016, Alarig Le Lay wrote:
2 > On Sun Dec 18 18:23:22 2016, Mick wrote:
3 > > Another thing to try is unmount it, run fsck and then remount it as rw. A
4 > > dirty unmount can cause this problem.
5 >
6 > It was dirty unmounted. This a flash card that is a / for a router at
7 > home. Its power supply suddenly stopped to work today.
8 > I will try this, thanks :)
9
10 Well done, an fsck fixed the problem :)
11
12 airmure # umount /dev/sdg2
13 airmure # fsck.ufs /dev/sdg2
14 ** /dev/sdg2
15 ** Last Mounted on /
16 ** Phase 1 - Check Blocks and Sizes
17 ** Phase 2 - Check Pathnames
18 ** Phase 3 - Check Connectivity
19 ** Phase 4 - Check Reference Counts
20 ** Phase 5 - Check Cyl groups
21 FREE BLK COUNT(S) WRONG IN SUPERBLK
22 SALVAGE? [yn] y
23 SALVAGE? [yn] y
24
25 SUMMARY INFORMATION BAD
26 SALVAGE? [yn] y
27
28 BLK(S) MISSING IN BIT MAPS
29 SALVAGE? [yn] y
30
31 17039 files, 176220 used, 1617195 free (371 frags, 202103 blocks, 0.0%
32 fragmentation)
33
34 ***** FILE SYSTEM MARKED CLEAN *****
35
36 ***** FILE SYSTEM WAS MODIFIED *****
37 airmure # mount -t ufs -o ufstype=ufs2,rw /dev/sdg2 /mnt/drscott
38 airmure # mount | grep drscott
39 /dev/sdg2 on /mnt/drscott type ufs
40 (rw,relatime,ufstype=ufs2,onerror=lock)
41
42 --
43 alarig

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] UFS write support Mick <michaelkintzios@×××××.com>