Bug 16259

Summary: Uses in-kernel uuid translation: open /dev/sdd failed
Product: File System Reporter: Bastian Blank (waldi)
Component: btrfsAssignee: fs_btrfs (fs_btrfs)
Status: RESOLVED OBSOLETE    
Severity: high CC: josef
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.32 Subsystem:
Regression: No Bisected commit-id:

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.