ts-7000
[Top] [All Lists]

[ts-7000] Better ways to handle mounting /var on SD card?

To:
Subject: [ts-7000] Better ways to handle mounting /var on SD card?
From: Clark Dunson <>
Date: Fri, 22 Nov 2013 09:41:12 -0800


Hi everybody;

We use a TS-7260 with 2.6.21, SDBoot, read-only root, and read-write /var.  We have about 160 earthquake sites throughout the world and remotely administer them from our central offices.  We've been having kernels remount /var as read-only more frequently these days, and are looking for a better way to handle it, so ask the experts!  Thank you.

Here is our fstab:

/dev/tssdcarda5          /      jfs    defaults,noatime,ro,errors=remount-ro      0     1
none             /proc         proc    defaults                 0    0
#none            /dev/pts      devpts    defaults        0   0
#none            /dev/shm      tmpfs     defaults        0   0
tmpfs           /tmp          tmpfs     defaults       0   0
/dev/tssdcarda6 /var         jfs      defaults,noatime        0   2 
/var/local/srv  /srv         none bind 0 0

and our df -h:

Filesystem            Size  Used Avail Use% Mounted on
rootfs               1020M  342M  678M  34% /
/dev/root             1.5M  1.1M  451K  71% /initrd
none                   31M     0   31M   0% /initrd/dev
none                   31M     0   31M   0% /initrd/dev/shm
/dev/tssdcarda5      1020M  342M  678M  34% /
tmpfs                  31M     0   31M   0% /lib/init/rw
/dev/tssdcarda5      1020M  342M  678M  34% /dev/.static/dev
tmpfs                  10M   40K   10M   1% /dev
tmpfs                  31M  8.0K   31M   1% /dev/shm
tmpfs                  31M     0   31M   0% /tmp
/dev/tssdcarda6       816M   58M  759M   8% /var
/dev/tssdcarda6       816M   58M  759M   8% /srv
/dev/sda1              15G  1.9G   14G  13% /var/local/pending
/dev/ram1             3.9M  418K  3.5M  11% /var/local/ramdisk


I have tried to find fault with these SD cards, they are shipped back to me and pass fsck.  They also weather dd filling it with zeros, tests, etc. quite well.  None seem failed, and we don't really know of a good next option.


Should we:

A: Add a cronjob to detect ro condtition, fsck, and remount?

B: Change fstab somehow, perhaps by adding: errors=remount-ro or something?

AGAIN:  Thank you!

Clark


__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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