From: Ilya Dryomov <idryomov@gmail.com>
To: helmut@hullen.de
Cc: linux-btrfs@vger.kernel.org
Subject: Re: scrub: Inappropriate ioctl for device
Date: Tue, 1 Nov 2011 22:08:32 +0200 [thread overview]
Message-ID: <20111101200832.GA552@zambezi.lan> (raw)
In-Reply-To: <Bx1FpyLi1uB@helmut.hullen.de>
On Tue, Nov 01, 2011 at 08:36:00PM +0100, Helmut Hullen wrote:
> Hallo,
>
> I'm just playing with "btrfs scrub".
>
> Kernel 3.1 (self made)
> btrfs integration-20111030 (Hugo Mills)
>
> I have a bundle of 3 2-TByte-disks (data raid0, metadata raid1).
>
> Since some (few) weeks one of the disks makes errors (I've reported the
> problems in this mailing list).
>
> The bundle uses the devices /dev/sdb1, /dev/sdc1 and /dev/sdg1, "btrfs
> filesystem show" shows these informations.
>
> Mounting doesn't work immediately; most times I have to run the "mount"
> command three times - strange.
To be able to run mount only once you have to run 'btrfs dev scan' on
startup (after each reboot or just before mounting). If that's not an
option you can use -o devices mount option.
>
> When I run
>
> btrfs scrub start -r /dev/sdb1
>
> (or another of the three disks) then I only get the error message
>
> ERROR: getting dev info for scrub failed: Inappropriate ioctl for
> device
Scrubber runs on a mounted filesystem.
Thanks,
Ilya
next prev parent reply other threads:[~2011-11-01 20:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-01 19:36 scrub: Inappropriate ioctl for device Helmut Hullen
2011-11-01 20:08 ` Ilya Dryomov [this message]
2011-11-01 21:10 ` Helmut Hullen
2011-11-02 12:55 ` David Sterba
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=20111101200832.GA552@zambezi.lan \
--to=idryomov@gmail.com \
--cc=helmut@hullen.de \
--cc=linux-btrfs@vger.kernel.org \
/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