* Can't mount removable device if device name changes.
@ 2010-04-11 1:49 cwillu
2010-04-12 0:02 ` TARUISI Hiroaki
0 siblings, 1 reply; 2+ messages in thread
From: cwillu @ 2010-04-11 1:49 UTC (permalink / raw)
To: linux-btrfs
I've got a btrfs on an sd card, which I'm using as the root fs on a
beagle. That's not the problem :)
The machine I generate my images on has an internal sd reader, and I
also have a usb card reader. After creating the fs on the internal
reader, I ended up plugging it in on the external reader.
internal: sdd
external: sdh
mount /dev/sdh2 /mnt -t btrfs
> mount: /dev/sdh2: can't read superblock
[15035.538462] device fsid 48fadf7ed76537-bb9c7266ecb8b2 devid transid
8986 /dev/sdh2
[15035.538462] open /dev/sdd2 failed
If I plug it back into the internal reader, it mounts fine on /dev/sdd2.
An strace of btrfsctl -a shows it reading /dev/sdh2, and there's no
mention of /dev/sdd:
> open("/dev/sdh2", O_RDONLY) = 4
> pread(4, "\2067kF\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2859, 65536) = 2859
The fs mounts fine on the external reader on a different machine.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can't mount removable device if device name changes.
2010-04-11 1:49 Can't mount removable device if device name changes cwillu
@ 2010-04-12 0:02 ` TARUISI Hiroaki
0 siblings, 0 replies; 2+ messages in thread
From: TARUISI Hiroaki @ 2010-04-12 0:02 UTC (permalink / raw)
To: cwillu; +Cc: linux-btrfs
Hi,
What is your kernel version?
Btrfs hols device names which construct filesystems and
updating device name(device renaming) is merged just in
last month.
Regards,
taruisi
(2010/04/11 10:49), cwillu wrote:
> I've got a btrfs on an sd card, which I'm using as the root fs on a
> beagle. That's not the problem :)
>
> The machine I generate my images on has an internal sd reader, and I
> also have a usb card reader. After creating the fs on the internal
> reader, I ended up plugging it in on the external reader.
>
> internal: sdd
> external: sdh
>
> mount /dev/sdh2 /mnt -t btrfs
>> mount: /dev/sdh2: can't read superblock
> [15035.538462] device fsid 48fadf7ed76537-bb9c7266ecb8b2 devid transid
> 8986 /dev/sdh2
> [15035.538462] open /dev/sdd2 failed
>
> If I plug it back into the internal reader, it mounts fine on /dev/sdd2.
>
> An strace of btrfsctl -a shows it reading /dev/sdh2, and there's no
> mention of /dev/sdd:
>> open("/dev/sdh2", O_RDONLY) = 4
>> pread(4, "\2067kF\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2859, 65536) = 2859
>
> The fs mounts fine on the external reader on a different machine.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
taruisi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-12 0:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-11 1:49 Can't mount removable device if device name changes cwillu
2010-04-12 0:02 ` TARUISI Hiroaki
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.