Re: btrfs listing is wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Murawski posted on Thu, 11 Sep 2014 10:45:58 -0400 as excerpted:

> Label: 'Root'  uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa
>          Total devices 2 FS bytes used 7.46GiB
>          devid    1 size 9.31GiB used 8.06GiB path /dev/sdh6
>          devid    3 size 9.31GiB used 8.06GiB path
> /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa
> 
> # ls -al /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa
> lrwxrwxrwx 1 root root 10 Sep 11 10:43
> /dev/disk/by-uuid/d71404d4-468e-47d5-8f06-3b65fa7776aa -> ../../sdh6
> 
> devid 3 should really  be showing /dev/sde6

I believe that's an instance of a known bug (or depending on how you look 
at it possibly two) with a recently posted patch, but I doubt it has made 
it to mainline just yet.

What they're going to do is resolve to the canonical paths.  They don't 
do that at this point, and the paths can change, sometimes showing the 
wrong one for certain devices.

I'm not sure the fix will make it into this kernel cycle, however.  It 
should make it into 3.18 in any case, and will likely be stable-backported 
after that.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux