A btrfsck or btrfs device scan -d operation could change the device
name of other mounted btrfs in kernel, if the other btrfs is on lvm
device.
Assume that we have two btrfs filesystems, kernel is 3.16.0-rc4+
[root@hp-dl388eg8-01 btrfs-progs]# btrfs fi show
Label: none uuid: 1aba7da5-ce2b-4af0-a
Eryu,
btrfs dev scan -d option is there for legacy reasons. The new method
is using libblkid to find btrfs devs.
David/Zach, is it time to remove -d option ? or mention deprecated.
But your test case show problem using btrfsck as well. thats nice!
The fix for this is in the kernel, whi
On Fri, Aug 15, 2014 at 09:50:34AM +0800, Anand Jain wrote:
>
> Eryu,
>
> btrfs dev scan -d option is there for legacy reasons. The new method
> is using libblkid to find btrfs devs.
>
>David/Zach, is it time to remove -d option ? or mention deprecated.
>
>
> But your test case show pro
On 15/08/2014 12:30, Eryu Guan wrote:
On Fri, Aug 15, 2014 at 09:50:34AM +0800, Anand Jain wrote:
Eryu,
btrfs dev scan -d option is there for legacy reasons. The new method
is using libblkid to find btrfs devs.
David/Zach, is it time to remove -d option ? or mention deprecated.
On Thu, Aug 14, 2014 at 07:40:20PM +0800, Eryu Guan wrote:
> [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
> devid1 size 15.00GiB used 2.04GiB path
> /dev/mapper/rhel_hp--dl38
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:
> > [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
> >