Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] file system problems - what is proper maintanence?
Date: Sun, 25 Jun 2006 01:13:32
Message-Id: 5bdc1c8b0606241757r2010f8b5ma9eb8bcb314fc02c@mail.gmail.com
1 Hi all,
2 I am a guitar player. I have a hardware engineering background but
3 I am not a sys admin. I use computers as tools. Gentoo has been the
4 most stable and day to day productive tool I've ever used.
5
6 That said, I seem to have file system problems on my external 1394
7 hard drives. I do not know if this is due to a recent move to
8 2.6.17-rt1, or bad maintenance on my part, or just bad luck. I've
9 noticed over the last couple of days that when using Aqualung (a
10 non-portage music player) I was getting some strange results. Songs
11 that used to work not working, strange timing, etc. Just weird stuff.
12
13 This evening, for no good reason since I don't know what I am
14 doing, I decided to run fsck and let it look around and fix things if
15 it wanted to. I wouldn't know how to do any better. At the end of this
16 I wondered if there is really any value to a journaled file system?
17 Did it protect me? I cannot tell.
18
19 Here is how these drives are mounted:
20
21 LABEL=music /home/mark/music ext3 rw,noauto,user 0 0
22 LABEL=audio1_94b /home/mark/Audio/audio1 ext3 rw,noauto,user 0 0
23
24 Both partitions are on external 1394 drives, but not the same drives.
25
26 Following down below are the sorts of problems I found using fsck.
27 The problem is it it didn't fix most of the problems I found with the
28 failing songs. Two seem to play now but the rest do not. Did the
29 journal dot work? Did I do something wrong?
30
31 NOTE: The two Porcupine Tree tracks do not play so they seem to be damaged.
32
33 Thanks,
34 Mark
35
36
37 lightning ~ # fsck /dev/sdb1
38 fsck 1.38 (30-Jun-2005)
39 e2fsck 1.38 (30-Jun-2005)
40 audio1_94b has been mounted 57 times without being checked, check forced.
41 Pass 1: Checking inodes, blocks, and sizes
42 Pass 2: Checking directory structure
43 Pass 3: Checking directory connectivity
44 /lost+found not found. Create<y>? no
45
46 Pass 4: Checking reference counts
47 Pass 5: Checking group summary information
48
49 audio1_94b: ********** WARNING: Filesystem still has errors **********
50
51 audio1_94b: 1492/3662848 files (19.1% non-contiguous), 4014481/7325632 blocks
52 lightning ~ #
53
54
55
56
57
58 lightning ~ # fsck /dev/sdc1
59 fsck 1.38 (30-Jun-2005)
60 e2fsck 1.38 (30-Jun-2005)
61 music: recovering journal
62 music contains a file system with errors, check forced.
63 Pass 1: Checking inodes, blocks, and sizes
64 Inode 6115654 has illegal block(s). Clear<y>? yes
65
66 Illegal block #1036 (1376776629) in inode 6115654. CLEARED.
67 Illegal block #1037 (1927720517) in inode 6115654. CLEARED.
68 Illegal block #1038 (2407185755) in inode 6115654. CLEARED.
69 Illegal block #1039 (3472556839) in inode 6115654. CLEARED.
70 Illegal block #1040 (2208668609) in inode 6115654. CLEARED.
71 Illegal block #1041 (3293443330) in inode 6115654. CLEARED.
72 Illegal block #1042 (375135243) in inode 6115654. CLEARED.
73 Illegal block #1043 (1249063009) in inode 6115654. CLEARED.
74 Illegal block #1044 (1201632328) in inode 6115654. CLEARED.
75 Illegal block #1045 (2618458457) in inode 6115654. CLEARED.
76 Illegal block #1046 (3116863600) in inode 6115654. CLEARED.
77 Too many illegal blocks in inode 6115654.
78 Clear inode<y>? yes
79
80 Error reading block 12279239 (Attempt to read block from filesystem
81 resulted in short read) while reading indirect blocks of inode
82 6115655. Ignore error<y>? yes
83
84 Force rewrite<y>? yes
85
86 Inode 6115655 has illegal block(s). Clear<y>? yes
87
88 Illegal block #1036 (937597786) in inode 6115655. CLEARED.
89 Illegal block #1037 (2426970144) in inode 6115655. CLEARED.
90 Illegal block #1038 (2863076451) in inode 6115655. CLEARED.
91 Illegal block #1039 (2251569750) in inode 6115655. CLEARED.
92 Illegal block #1040 (1393869746) in inode 6115655. CLEARED.
93 Illegal block #1041 (382868669) in inode 6115655. CLEARED.
94 Illegal block #1042 (1149983442) in inode 6115655. CLEARED.
95 Illegal block #1043 (4028337212) in inode 6115655. CLEARED.
96 Illegal block #1044 (1162660121) in inode 6115655. CLEARED.
97 Illegal block #1045 (1576522261) in inode 6115655. CLEARED.
98 Illegal block #1046 (2289199545) in inode 6115655. CLEARED.
99 Too many illegal blocks in inode 6115655.
100 Clear inode<y>? yes
101
102 Restarting e2fsck from the beginning...
103 music contains a file system with errors, check forced.
104 Pass 1: Checking inodes, blocks, and sizes
105 Error reading block 1531447 (Attempt to read block from filesystem
106 resulted in short read) while reading indirect blocks of inode 719553.
107 Ignore error<y>? yes
108
109 Force rewrite<y>? yes
110
111 Inode 719553, i_blocks is 16144, should be 8304. Fix<y>? yes
112
113
114 Running additional passes to resolve blocks claimed by more than one inode...
115 Pass 1B: Rescanning for multiply-claimed blocks
116 Multiply-claimed block(s) in inode 719554: 1532443
117 Pass 1C: Scanning directories for inodes with multiply-claimed blocks.
118 Pass 1D: Reconciling multiply-claimed blocks
119 (There are 1 inodes containing multiply-claimed blocks.)
120
121 File /Christmas CDs/Star Bright (Vanessa Williams)/11 - Go Tell It On
122 The Mountain.ogg (inode #719554, mod time Fri Jan 28 14:51:35 2005)
123 has 1 multiply-claimed block(s), shared with 0 file(s):
124 Multiply-claimed blocks already reassigned or cloned.
125
126 Pass 2: Checking directory structure
127 Entry '09 - Every Home Is Wired.ogg' in /Porcupine Tree/Signify
128 (6115649) has deleted/unused inode 6115654. Clear<y>? yes
129
130 Entry '02 - Signify.ogg' in /Porcupine Tree/Signify (6115649) has
131 deleted/unused inode 6115655. Clear<y>? yes
132
133 Pass 3: Checking directory connectivity
134 Pass 4: Checking reference counts
135 Pass 5: Checking group summary information
136 Block bitmap differences: -(1531448--1532427) -1532441 -(12277546--12280396)
137 Fix<y>? yes
138
139 Free blocks count wrong for group #46 (0, counted=981).
140 Fix<y>? yes
141
142 Free blocks count wrong for group #374 (2884, counted=5735).
143 Fix<y>? yes
144
145 Free blocks count wrong (2464583, counted=2468415).
146 Fix<y>? yes
147
148 Inode bitmap differences: -(6115654--6115655)
149 Fix<y>? yes
150
151 Free inodes count wrong for group #374 (16328, counted=16330).
152 Fix<y>? yes
153
154 Free inodes count wrong (7317173, counted=7317175).
155 Fix<y>? yes
156
157
158 music: ***** FILE SYSTEM WAS MODIFIED *****
159 music: 8521/7325696 files (15.2% non-contiguous), 12182857/14651272 blocks
160 lightning ~ #
161 --
162 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] file system problems - what is proper maintanence? Benno Schulenberg <benno.schulenberg@×××××.com>
Re: [gentoo-user] file system problems - what is proper maintanence? "Bo Ørsted Andresen" <bo.andresen@××××.dk>
Re: [gentoo-user] file system problems - what is proper maintanence? Richard Fish <bigfish@××××××××××.org>