| To: | Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Mount probing not silent. Internal error xfs_sb_read_verify at line 726 |
| From: | Karel Zak <kzak@xxxxxxxxxx> |
| Date: | Thu, 9 May 2013 09:29:55 +0200 |
| Cc: | Dave Chinner <david@xxxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxxx>, xfs@xxxxxxxxxxx, util-linux@xxxxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20130507052430.GA508@x4> |
| References: | <5187E290.8090109@xxxxxxxxxxx> <20130506183020.GA513@x4> <51880121.8000001@xxxxxxxxxxx> <20130506192629.GA503@x4> <5188074F.2090500@xxxxxxxxxxx> <20130506195521.GB503@x4> <51881750.3090309@xxxxxxxxxxx> <51882537.6070904@xxxxxxxxxxx> <20130507002314.GM19978@dastard> <20130507052430.GA508@x4> |
| User-agent: | Mutt/1.5.21 (2012-12-30) |
On Tue, May 07, 2013 at 07:24:30AM +0200, Markus Trippelsdorf wrote:
> On 2013.05.07 at 10:23 +1000, Dave Chinner wrote:
> > On Mon, May 06, 2013 at 04:48:39PM -0500, Eric Sandeen wrote:
> > I think that mount needs fixing, not XFS. mount needs to be doing
> > silent mounts when doing this brute forcing, not noisy, explicit
> > mounts that we expect to throw errors if there is a problem.
Good idea. Fixed.
> > BTW, strace indicates that MS_SILENT is not being used during brute
> > force mounts:
> >
> > # strace -vx mount /dev/vdb /mnt/scratch/ 2>&1 |grep ^mount
> > mount("/dev/vdb", "/mnt/scratch/", "reiserfs", MS_MGC_VAL, NULL) = -1
> > EINVAL (Invalid argument)
> > mount("/dev/vdb", "/mnt/scratch/", "ext3", MS_MGC_VAL, NULL) = -1 EINVAL
> > (Invalid argument)
> > mount("/dev/vdb", "/mnt/scratch/", "ext2", MS_MGC_VAL, NULL) = -1 EINVAL
> > (Invalid argument)
> > mount("/dev/vdb", "/mnt/scratch/", "ext4", MS_MGC_VAL, NULL) = -1 EINVAL
> > (Invalid argument)
> > ....
> >
> > So this really looks like a bug in mount, not the filesystem handling
> > of slient mounts...
>
> So, lets CC util-linux...
Thanks.
Karel
--
Karel Zak <kzak@xxxxxxxxxx>
http://karelzak.blogspot.com
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Rambling noise #1: generic/230 can trigger kernel debug lock detector, Dave Chinner |
|---|---|
| Next by Date: | Re: [PATCH TARBALL, DEV ONLY] xfsprogs: metadata CRC support V2, Rich Johnston |
| Previous by Thread: | Re: Mount probing not silent. Internal error xfs_sb_read_verify at line 726, Markus Trippelsdorf |
| Next by Thread: | Re: Internal error xfs_sb_read_verify at line 726, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |