Skip to contentSkip to conversation

looking for non existent devices

DISCUSSION Helmut Hullen 2 participants 5 messages Mar 17, 2012 – Mar 21, 2012 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 17 lines · Helmut Hullen

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

Quoted 7 lines

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

#2 lore raw

Hallo, Ilya,

Du meintest am 21.03.12:

Quoted 8 lines
Quoted 8 lines

When I run

btrfs filesystem label

or

btrfs scrub status /dev/sdxn

Quoted 7 lines
Quoted 5 lines

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

#3 lore raw
Quoted 14 lines · Helmut Hullen

Hallo, Ilya,

Du meintest am 21.03.12:

Quoted 10 lines
Quoted 10 lines

When I run

btrfs filesystem label

or

btrfs scrub status /dev/sdxn

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

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

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

#4 lore raw

Hallo, Ilya,

Du meintest am 21.03.12:

Quoted 10 lines
Quoted 4 lines
Quoted 1 line

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