Bug 16259 - Uses in-kernel uuid translation: open /dev/sdd failed
Summary: Uses in-kernel uuid translation: open /dev/sdd failed
Status: RESOLVED OBSOLETE
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 high
Assignee: fs_btrfs@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-20 15:17 UTC by Bastian Blank
Modified: 2013-04-30 15:59 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.32
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Bastian Blank 2010-06-20 15:17:55 UTC
The btrfs module uses a in-kernel uuid to device translation. As the device names are not nearly static during the runtime of the kernel, the leads to a DoS, where a filesystem is not longer mountable.

[272268.496957] device fsid 6746742515f05f59-7702ee31ff5c53ac devid 1 transid 130 /dev/sde
[272268.497019] open /dev/sdd failed

# file -s /dev/sde
/dev/sde: BTRFS Filesystem sectorsize 4096, nodesize 4096, leafsize 4096)
# file -s /dev/sdd
/dev/sdd: x86 boot sector; partition 1: ID=0x83, starthead 1, startsector 63, 625137282 sectors, extended partition table (last)\011, code offset 0x0

Such translations belongs to userspace, in the form of a mount helper for multi-device support.
Comment 1 Josef Bacik 2013-04-30 15:59:19 UTC
Closing, if this is still affecting you on a newer kernel please reopen.

Note You need to log in before you can comment on or make changes to this bug.