Hey Don;
We run Read-Only debian (http://wiki.debian.org/ReadonlyRoot) out of
jfs, and use /etc/fstab to control this. We mount "/" as read-only,
and "/var" as read/write. I found that forcing an fsck at every boot
causes automatic journal recovery for our "/var" partition and is a
must. Now I have yanked the power a ton of times and she always
comes back up (so far :).
- Clark
On Sep 1, 2011, at 3:33 PM, Don Tucker wrote:
> This does not appear to have been a problem for anyone, but if it
> becomes a problem for someone in the future, this is what I believe
> is happening. I think that jfs mounts the root file system as read
> only in the event that it detects the file system as bad. I'm not
> sure what the normal behavior for a rootfs with jfs is, because
> there is no entry in /etc/fstab for "/" on my board. My proposed
> solution is to attempt to touch a file in /etc/rc.local, and if
> there is a failure (e.g. "touch: cannot touch 'testfile': Read-only
> file system"), then reboot forcing fsck (i.e. "shutdown -rF now").
>
> Don
>
> On 8/29/2011 5:23 PM, Don Tucker wrote:
>>
>> I've noticed that sometimes my TS-7260, booting to an SD card with
>> a Debian file system, will sometimes return errors during file
>> writes, reporting that the file system is read-only. I think this
>> might happen if the the system hasn't been properly shutdown, but
>> I haven't been able to consistently reproduce the behavior. Can
>> anyone explain a possible reason for why I'm seeing this?
>>
>> Thanks in advance,
>> Don
>>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|