public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: Rupa Schomaker <rupa@rupa.com>
Cc: David Chinner <dgc@sgi.com>, xfs@oss.sgi.com
Subject: Re: XFS repair on / in a hosted environment
Date: Fri, 20 Jul 2007 10:36:58 +1000	[thread overview]
Message-ID: <20070720003658.GZ31489@sgi.com> (raw)
In-Reply-To: <469F906A.6030509@rupa.com>

On Thu, Jul 19, 2007 at 09:25:14AM -0700, Rupa Schomaker wrote:
> On 7/19/2007 6:09 AM, Rupa Schomaker wrote:
> > 
> > On 7/18/2007 7:34 PM, David Chinner wrote:
> >> On Wed, Jul 18, 2007 at 12:24:59PM -0700, Rupa Schomaker wrote:
> >>> I have a virtual server hosted in a XEN environment.  Kernel is
> >>> 2.6.16.13-XenU and I can't change it. :( Host provider is not responsive
> >>> to getting us a newer kernel.
> >>>
> >>> Anyway, during my nightly rsync backup, I started seeing the following:
> >> .....
> >>
> >> what does /proc/mounts tell you (rather than /etc/mtab)?
> >>
> >> If /proc/mounts says ro, then try upgrading your xfsprogs package.
> >> and then retrying the repair....
> > 
> > /proc/mounts shows ro.
> 
> I built the latest xfsprogs from cvs.  Still no go.  This is perhaps
> something strange with the Xen environment?

The above /etc/mtab vs /proc/mounts problem was the reason I mentioned
you should get a recent xfsprogs - we changed it to look at /proc/mounts
rather than /etc/mtab for this reason....

> mount and /proc/mounts don't agree.  Thre is no /dev/root.  I tried the
> mount -o remount,ro on both / and /dev/sda1.  No good, only /dev/root is
> being changed to ro.
> 
> <boggle>
> 
> Ok, created a /dev/root.

That sounds like an init script or initrd setup problem....

> xfs_repair works as expected.  Now to figure
> out what got dumped into lost+found.

Oh, good to know you made it past the first (high) hurdle.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

      reply	other threads:[~2007-07-20  0:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-18 19:24 XFS repair on / in a hosted environment Rupa Schomaker
2007-07-19  2:34 ` David Chinner
2007-07-19 13:09   ` Rupa Schomaker
2007-07-19 16:25     ` Rupa Schomaker
2007-07-20  0:36       ` David Chinner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070720003658.GZ31489@sgi.com \
    --to=dgc@sgi.com \
    --cc=rupa@rupa.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox