ts-7000
[Top] [All Lists]

Re: [ts-7000] read-only file system

To:
Subject: Re: [ts-7000] read-only file system
From: Clark Dunson <>
Date: Thu, 1 Sep 2011 16:56:12 -0700
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU