From: Eric Sandeen <sandeen@sandeen.net>
To: Emmanuel Florac <eflorac@intellique.com>
Cc: xfs@oss.sgi.com
Subject: Re: can't mount XFS from a read-only device
Date: Fri, 09 Oct 2009 13:59:13 -0500 [thread overview]
Message-ID: <4ACF8801.7070009@sandeen.net> (raw)
In-Reply-To: <20091009170937.3938ff7b@harpe.intellique.com>
Emmanuel Florac wrote:
> Hello all,
>
> I'm using a RAID enclosure that provides read-only snapshots. It works
> perfectly fine using JFS.
> But with XFS, I keep trying and it keeps failing :
>
> XFS mounting filesystem sdb
>
> Ending clean XFS mount for filesystem: sdb
>
> sd 11:0:0:1: [sdc] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE,SUGGEST_OK
>
> sd 11:0:0:1: [sdc] Sense Key : Data Protect [current]
>
> sd 11:0:0:1: [sdc] Add. Sense: Write protected
> end_request: I/O error, dev sdc, sector 0
> Filesystem "sdc": Disabling barriers, trial barrier write failed
> XFS mounting filesystem sdc
>
> sd 11:0:0:1: [sdc] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE,SUGGEST_OK
>
> sd 11:0:0:1: [sdc] Sense Key : Data Protect [current]
>
> sd 11:0:0:1: [sdc] Add. Sense: Write protected
> end_request: I/O error, dev sdc, sector 1953792056
> xfs_force_shutdown(sdc,0x1) called from line 420 of file
> fs/xfs/xfs_rw.c. Return address = 0xffffffff80381f89
>
> Filesystem "sdc": I/O Error Detected. Shutting down filesystem: sdc
>
> Please umount the filesystem, and rectify the problem(s)
>
> I/O error in filesystem ("sdc") meta-data dev sdc block
> 0x74748038 ("xlog_bwrite") error 5 buf count 262144
>
> XFS: failed to locate log tail
> XFS: log mount/recovery failed: error 5
> XFS: log mount failed
>
> I don't really grasp what's wrong...
>
try mount -o norecovery (and maybe -o nobarrier)
-Eric
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-10-09 18:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-09 15:09 can't mount XFS from a read-only device Emmanuel Florac
2009-10-09 18:59 ` Eric Sandeen [this message]
2009-10-09 19:21 ` Emmanuel Florac
2009-10-09 19:28 ` Eric Sandeen
2009-10-09 19:50 ` Emmanuel Florac
[not found] ` <20091009174351.GB13572@dora.cern.ch>
2009-10-09 19:19 ` Emmanuel Florac
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=4ACF8801.7070009@sandeen.net \
--to=sandeen@sandeen.net \
--cc=eflorac@intellique.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.