All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Helmut Hullen" <Hullen@t-online.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: scrub: Inappropriate ioctl for device
Date: 01 Nov 2011 22:10:00 +0100	[thread overview]
Message-ID: <Bx1GE1Pi1uB@helmut.hullen.de> (raw)
In-Reply-To: <20111101200832.GA552@zambezi.lan>

Hallo, Ilya,

Du meintest am 01.11.11:

>> 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).

That command has run, without any error.

There seems to be another problem.

>> 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.

"df" tells that the bundle of disks is mounted - there too seems to be  
another problem.

But

   btrfs scrub start -r /path/to/mountpoint

works - is there a mistake in the description of the command?

In about 16 hours I'll know more ...

Viele Gruesse!
Helmut

  reply	other threads:[~2011-11-01 21:10 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
2011-11-01 21:10   ` Helmut Hullen [this message]
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=Bx1GE1Pi1uB@helmut.hullen.de \
    --to=hullen@t-online.de \
    --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 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.