On Sat 2017-09-16 (10:10), Goffredo Baroncelli wrote: > On 09/15/2017 06:37 PM, Ulli Horlacher wrote:
> > I have my btrfs filesystem mounted with option user_subvol_rm_allowed > > You should change the "ro" property to false before deleting it > > btrfs property set /test/tux/zz/.snapshot/2017-09-15_1824.test ro false Still one problem is left: How can I test a subvolume for the mount option user_subvol_rm_allowed? df only works for the root subvolume: root@xerus:/test/tux# df -T . Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/sdd4 btrfs 54524928 103372 52326324 1% /test root@xerus:/test/tux# df -T zz Filesystem Type 1K-blocks Used Available Use% Mounted on - - 54524928 103372 52326324 1% /test/tux/zz root@xerus:/test/tux# mount | grep /test /dev/sdd4 on /test type btrfs (rw,relatime,space_cache,user_subvol_rm_allowed,subvolid=5,subvol=/) How do I know the btrfs filesystem for a given subvolume? Do I really have to manually test the diretory path upwards? -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlac...@tik.uni-stuttgart.de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<ce51b681-b86a-242a-1ac1-106454c32...@libero.it> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html