Re: Can't mount subvolume with ro option

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

 



On Jun 29, 2014, at 8:57 PM, Qu Wenruo <quwenruo@xxxxxxxxxxxxxx> 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 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