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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html