Thread (7 messages) 7 messages, 3 authors, 2014-09-02

Re: [PATCH 2/2] btrfs-progs: canonicalize dm device name before update kernel

From: Eryu Guan <hidden>
Date: 2014-09-02 12:22:57

On Tue, Sep 02, 2014 at 01:32:34PM +0200, David Sterba wrote:
On Thu, Aug 14, 2014 at 07:40:20PM +0800, Eryu Guan wrote:
quoted
[root@hp-dl388eg8-01 btrfs-progs]# btrfs fi show
Label: none  uuid: 1aba7da5-ce2b-4af0-a716-db732abc60b2
        Total devices 1 FS bytes used 384.00KiB
        devid    1 size 15.00GiB used 2.04GiB path /dev/mapper/rhel_hp--dl388eg8--01-testlv1

Label: none  uuid: 26ff4f12-f6d9-4cbc-aae2-57febeefde37
        Total devices 2 FS bytes used 112.00KiB
        devid    1 size 15.00GiB used 2.03GiB path /dev/mapper/rhel_hp--dl388eg8--01-testlv2
        devid    2 size 15.00GiB used 2.01GiB path /dev/mapper/rhel_hp--dl388eg8--01-testlv3

Btrfs v3.14.2
The commit b276e4bc50b6ca99056a45315ea859c68d58fc1b
"canonicalize pathnames for device commands" supposedly fixes the same
problem, added in 3.16. Can you please test that it works in your case
as well? Thanks.
Yes, confirmed v3.16 fixes the issue, the device name didn't change
after btrfsck and btrfs device scan -d

Thanks,
Eryu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help