1 |
Pandu Poluan <pandu@××××××.info> [13-09-03 17:16]: |
2 |
> On Sep 3, 2013 10:51 AM, "William Kenworthy" <billk@×××××××××.au> wrote: |
3 |
> > |
4 |
> > On 03/09/13 11:26, meino.cramer@×××.de wrote: |
5 |
> > > William Kenworthy <billk@×××××××××.au> [13-09-03 05:08]: |
6 |
> |
7 |
> --snip-- |
8 |
> |
9 |
> > >> Have you run out of inodes? - ext 4 has had very mixed success for me |
10 |
> on |
11 |
> > >> solid state. Running out of inodes is a real problem for gentoo on |
12 |
> > >> smaller SD cards with standard settings. |
13 |
> > >> |
14 |
> > >> BillK |
15 |
> > >> |
16 |
> > >> |
17 |
> > >> |
18 |
> > > Does this error message from fsck indicate that? I am really bad in |
19 |
> > > guessing what fsck tries to cry at me ... ;) |
20 |
> > > |
21 |
> > > |
22 |
> > >>> solfire:/root>fsck.ext4 -f -p /dev/sdb2 |
23 |
> > >>> rootfs: Inodes that were part of a corrupted orphan linked list |
24 |
> found. |
25 |
> > >>> |
26 |
> > >>> rootfs: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. |
27 |
> > >>> (i.e., without -a or -p options) |
28 |
> > >>> [1] 18644 exit 4 fsck.ext4 -f -p /dev/sdb2 |
29 |
> > >>> |
30 |
> > >>> |
31 |
> > > Is there any way to correct the settings from the default values to |
32 |
> > > more advances ones, which respect the sdcard size of 16GB *without* |
33 |
> > > blanking it...a "correction on the fly" so to say??? |
34 |
> > > |
35 |
> > > And if not: Is there a way to backup the sdcard and playback the files |
36 |
> > > after reformatting it by preserving all three time stamps of the |
37 |
> > > files (atime is deactivated via fstab though) ? |
38 |
> > > |
39 |
> > > Best regards, |
40 |
> > > mcc |
41 |
> > > |
42 |
> > > |
43 |
> > > |
44 |
> > > |
45 |
> > > |
46 |
> > df -i - if you get 100% iUSE or near to it thats your problem ... I have |
47 |
> > seen that error message you give as a result of running out of inodes |
48 |
> > corrupting the FS. |
49 |
> > |
50 |
> > No, your only way out is to copy (I use rync) the files off, recreate |
51 |
> > the fs with max inodes ("man mke2fs") and rsync the files back. Once an |
52 |
> > ext* fs has been created with a certain number of inodes its fixed until |
53 |
> > you re-format. |
54 |
> > |
55 |
> > I get it happening regularly on 4G cards when I forget and just emerge a |
56 |
> > couple of packages without cleaning up in between packages. On 16G |
57 |
> > cards, its compiling something like glibc or gcc that uses huge numbers |
58 |
> > of inodes at times. On a single 32G card I have, the standard settings |
59 |
> > have been fine ... so far :) |
60 |
> > |
61 |
> > Billk |
62 |
> > |
63 |
> > |
64 |
> |
65 |
> While you're considering of formatting the flash disk, consider also |
66 |
> whether ext3/4 is suitable. |
67 |
> |
68 |
> When I first use Gentoo, I got bitten by inode exhaustion several times, so |
69 |
> I used an inode-less fs (reiserfs, to be precise). |
70 |
> |
71 |
> I have no idea if reiserfs is suitable for a flash disk, though. |
72 |
> |
73 |
> Rgds, |
74 |
> -- |
75 |
|
76 |
Hi Pandu, |
77 |
|
78 |
ext3/4 is what is recommended by www.beagleboard.org/Robert |
79 |
Nelson/Angstrom Linux...but I have to confess that took this |
80 |
as simply "given". |
81 |
|
82 |
The other thing is: With sdcards one have to keep an eye on |
83 |
what part of the sdcard is written how often repeatedly, since |
84 |
sdcards tends to wear out. |
85 |
|
86 |
I read somewhere on the internet (dont remember where...sorry) that |
87 |
Samsung has offered code to the Linux kernel, which implements a |
88 |
special FS especially suitable and made for sdcards. |
89 |
|
90 |
But I dont know its name and whether it is already available in |
91 |
the kernel sources... |
92 |
|
93 |
Best regards, |
94 |
mcc |