linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* looking for non existent devices
@ 2012-03-17  9:32 Helmut Hullen
  2012-03-21 18:12 ` Ilya Dryomov
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut Hullen @ 2012-03-17  9:32 UTC (permalink / raw)
  To: linux-btrfs

Hallo, linux-btrfs,

some commands still look for non existent devices.

I don't use "udev".
When I run

        btrfs filesystem show

only the existent devices are shown - fine.

When I run

        btrfs filesystem label

or

        btrfs scrub status /dev/sdxn

then I get a lot of error messages with (p.e.)

  failed to read /dev/hda6: No such device or address
  failed to read /dev/sdm7: No such device or address
  failed to read /dev/sr3: No such device or address

Kernel 3.2.9

Viele Gruesse!
Helmut

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: looking for non existent devices
  2012-03-17  9:32 looking for non existent devices Helmut Hullen
@ 2012-03-21 18:12 ` Ilya Dryomov
  2012-03-21 18:24   ` Helmut Hullen
  0 siblings, 1 reply; 5+ messages in thread
From: Ilya Dryomov @ 2012-03-21 18:12 UTC (permalink / raw)
  To: helmut; +Cc: linux-btrfs

On Sat, Mar 17, 2012 at 10:32:00AM +0100, Helmut Hullen wrote:
> Hallo, linux-btrfs,
> 
> some commands still look for non existent devices.
> 
> I don't use "udev".
> When I run
> 
>         btrfs filesystem show
> 
> only the existent devices are shown - fine.
> 
> When I run
> 
>         btrfs filesystem label
> 
> or
> 
>         btrfs scrub status /dev/sdxn
> 
> then I get a lot of error messages with (p.e.)
> 
>   failed to read /dev/hda6: No such device or address
>   failed to read /dev/sdm7: No such device or address
>   failed to read /dev/sr3: No such device or address

Hi Helmut,

I think this has been fixed in recent btrfs-progs, commit 32eff711.
Could test with that commit present please ?  (You can get it from
dangerdonteveruse branch of Chris' btrfs-progs repo [1], the 'danger'
tag is irrelevant as long as you don't try to run fsck from that branch)

[1] git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git

Thanks,

		Ilya

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: looking for non existent devices
  2012-03-21 18:12 ` Ilya Dryomov
@ 2012-03-21 18:24   ` Helmut Hullen
  2012-03-21 18:52     ` Ilya Dryomov
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut Hullen @ 2012-03-21 18:24 UTC (permalink / raw)
  To: linux-btrfs

Hallo, Ilya,

Du meintest am 21.03.12:

>> When I run
>>
>>         btrfs filesystem label
>>
>> or
>>
>>         btrfs scrub status /dev/sdxn
>>
>> then I get a lot of error messages with (p.e.)
>>
>>   failed to read /dev/hda6: No such device or address
>>   failed to read /dev/sdm7: No such device or address
>>   failed to read /dev/sr3: No such device or address

> I think this has been fixed in recent btrfs-progs, commit 32eff711.

It is fixed in some (or many) places, it is not fixed everywhere. I had  
used kernel 3.2.9

Viele Gruesse!
Helmut

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: looking for non existent devices
  2012-03-21 18:24   ` Helmut Hullen
@ 2012-03-21 18:52     ` Ilya Dryomov
  2012-03-21 19:26       ` Helmut Hullen
  0 siblings, 1 reply; 5+ messages in thread
From: Ilya Dryomov @ 2012-03-21 18:52 UTC (permalink / raw)
  To: helmut; +Cc: linux-btrfs

On Wed, Mar 21, 2012 at 07:24:00PM +0100, Helmut Hullen wrote:
> Hallo, Ilya,
> 
> Du meintest am 21.03.12:
> 
> >> When I run
> >>
> >>         btrfs filesystem label
> >>
> >> or
> >>
> >>         btrfs scrub status /dev/sdxn
> >>
> >> then I get a lot of error messages with (p.e.)
> >>
> >>   failed to read /dev/hda6: No such device or address
> >>   failed to read /dev/sdm7: No such device or address
> >>   failed to read /dev/sr3: No such device or address
> 
> > I think this has been fixed in recent btrfs-progs, commit 32eff711.
> 
> It is fixed in some (or many) places, it is not fixed everywhere. I had  
> used kernel 3.2.9

32eff711 is supposed to fix it in more places, filesystem label and
scrub status included.  This is purely a userspace issue, commit and
repo I pointed you to are for btrfs-progs, not the kernel.  You are
probably on branch master, it doesn't have that commit yet, only
dangerdonteveruse branch does.

Thanks,

		Ilya

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: looking for non existent devices
  2012-03-21 18:52     ` Ilya Dryomov
@ 2012-03-21 19:26       ` Helmut Hullen
  0 siblings, 0 replies; 5+ messages in thread
From: Helmut Hullen @ 2012-03-21 19:26 UTC (permalink / raw)
  To: linux-btrfs

Hallo, Ilya,

Du meintest am 21.03.12:

>>> I think this has been fixed in recent btrfs-progs, commit 32eff711.

>> It is fixed in some (or many) places, it is not fixed everywhere. I
>> had used kernel 3.2.9

> 32eff711 is supposed to fix it in more places, filesystem label and
> scrub status included.  This is purely a userspace issue, commit and
> repo I pointed you to are for btrfs-progs, not the kernel.  You are
> probably on branch master, it doesn't have that commit yet, only
> dangerdonteveruse branch does.

Ok - I'll take a try. But it's not urgent ...

Viele Gruesse!
Helmut

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-21 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-17  9:32 looking for non existent devices Helmut Hullen
2012-03-21 18:12 ` Ilya Dryomov
2012-03-21 18:24   ` Helmut Hullen
2012-03-21 18:52     ` Ilya Dryomov
2012-03-21 19:26       ` Helmut Hullen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).