Re: Can't mount subvolume with ro option

2014-06-29 Thread Qu Wenruo
Original Message Subject: Re: Can't mount subvolume with ro option From: Sébastien ROHAUT sebastien.roh...@free.fr To: Chris Murphy li...@colorremedies.com Date: 2014年06月28日 19:02 Le 28/06/2014 00:12, Chris Murphy a écrit : On Jun 27, 2014, at 4:08 PM, Chris Murphy li

Re: Can't mount subvolume with ro option

2014-06-29 Thread Qu Wenruo
Original Message Subject: Re: Can't mount subvolume with ro option From: Qu Wenruo quwen...@cn.fujitsu.com To: Sébastien ROHAUT sebastien.roh...@free.fr, Chris Murphy li...@colorremedies.com Date: 2014年06月30日 10:19 Original Message Subject: Re: Can't mount

Re: Can't mount subvolume with ro option

2014-06-29 Thread Chris Murphy
On Jun 29, 2014, at 8:57 PM, Qu Wenruo quwen...@cn.fujitsu.com 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

Re: Can't mount subvolume with ro option

2014-06-28 Thread Sébastien ROHAUT
Le 28/06/2014 00:12, Chris Murphy a écrit : On Jun 27, 2014, at 4:08 PM, Chris Murphy li...@colorremedies.com wrote: On Jun 27, 2014, at 2:07 PM, Sébastien ROHAUT sebastien.roh...@free.fr wrote: Hi, In the wiki, it's said we can mount subvolumes with different mount options. nosuid, nodev,

Re: Can't mount subvolume with ro option

2014-06-27 Thread Chris Murphy
On Jun 27, 2014, at 2:07 PM, Sébastien ROHAUT sebastien.roh...@free.fr wrote: Hi, In the wiki, it's said we can mount subvolumes with different mount options. nosuid, nodev, rw and ro are listed, as valid generic mount options. This might require 3.15. I don't recall it working with early

Re: Can't mount subvolume with ro option

2014-06-27 Thread Chris Murphy
On Jun 27, 2014, at 4:08 PM, Chris Murphy li...@colorremedies.com wrote: On Jun 27, 2014, at 2:07 PM, Sébastien ROHAUT sebastien.roh...@free.fr wrote: Hi, In the wiki, it's said we can mount subvolumes with different mount options. nosuid, nodev, rw and ro are listed, as valid