On Wed, Apr 3, 2013 at 11:43 PM, gregrwm <tclug1 at whitleymott.net> wrote:

> i routinely specify errors=remount-ro for all mountpoints in fstab.  well
> i'm guessing it must've finally actually just happened.  i got a few rsync
> command errors like
>
> rsync: mkstemp "/vp/201/var/nagios/spool/checkresults/.checkzXAdNO.u4thPb"
> failed: Read-only file system (30)
> rsync: mkstemp "/vp/201/var/nagios/spool/checkresults/.checkzfSgt2.TEekFF"
> failed: Read-only file system (30)
> rsync: mkstemp "/vp/201/var/run/.utmp.rddpv9" failed: Read-only file
> system (30)
>
> so i check /proc/mounts and whaddyaknow it's mysteriously become
> readonly.  but i'm very surprised to find nothing unusual in
> /var/log/messages.  and /proc/mdstat is all UU's.
>
> i was just about to migrate containers onto this box.  it was fine last
> week.  well heck, better run some tests instead i guess.  but what?  if it
> wasn't raid1/lvm, i'd run fsck -c, but as it is raid1/lvm, what should i
> bang on it with?
>
> fsck is a filesystem check, so it'll still work to check the filesystem no
matter how many layers are under it. You can do a read test with dd
if=/dev/sda of=/dev/zero and see if that fails. Unfortunately to do a write
test you need to find something that won't loose the good data you have
there.



-- 
http://mtu.net/~jpschewe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20130405/cf9b61cc/attachment-0001.html>