On Jun 29, 2014, at 8:57 PM, Qu Wenruo <[email protected]> wrote:
>> 
> Finally find the stable method to reproduce the problem on 3.16-rc2,
> the point is if we mount subvol,ro first, then you can't mount the hole 
> device:
> 
> # mkfs.btrfs  -f /dev/sda6
> # mount /dev/sda6  /mnt/btrfs/
> # btrfs sub create /mnt/btrfs/subv
> Create subvolume '/mnt/btrfs/subv'
> # umount /mnt/btrfs
> # mount -o subvol=subv,ro /dev/sda6  /mnt/other/
> # LANG=C mount /dev/sda6  /mnt/btrfs/
> mount: /dev/sda6 is already mounted or /mnt/btrfs busy
>       /dev/sda6 is already mounted on /mnt/other

Similar problem: if you mount subvol,rw and then subvol,ro it succeeds, but 
then mount another subvol,rw it fails.


Chris Murphy--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to