Not really sure what you want, but for simplicity, just move folder to following structure:
/volumes/[Sub Volume Group Name]/[Sub Volume Name] ceph will recognize it (no extend attr needed), if you use subvolumegroup name difference than "_nogroup", you must provide it in all subvolume command [--group_name <subvol_group_name>] regards, Anh Phan On Wed, Aug 23, 2023 at 6:51 PM Eugen Block <ebl...@nde.ag> wrote: > Hi, > > I started a new thread [2] to not hijack yours. > > [2] > > https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/CTD5WHDATBGAYA33MBKQMX4FKFFYIASN/ > > Zitat von Michal Strnad <michal.str...@cesnet.cz>: > > > Hi Eugen, > > > > thank you for the message. I've already tried the process of > > changing the classic directory to a subvolume, but it also didn't > > appear in the list of set subvolumes. Perhaps it's no longer > > supported? > > > > Michal > > > > > > On 8/22/23 12:56, Eugen Block wrote: > >> Hi, > >> > >> I don't know if there's a way to change the path (I assume not > >> except creating a new path and copy the data), but you could set up > >> a directory the "old school" way (mount the root filesystem, create > >> your subdirectory tree) and then convert the directory into a > >> subvolume by setting the subvolume xattr (according to [1]): > >> > >> # setfattr -n ceph.dir.subvolume -v 1 my/favorite/dir/is/now/a/subvol1 > >> > >> But I'm not sure if that works as expected, I tried with Pacific > >> and Reef but the directory doesn't turn up in 'ceph fs subvolume ls > >> <cephfs>'. Shouldn't it? Or am I misunderstanding hwo it works? > >> > >> [1] https://www.spinics.net/lists/ceph-users/msg72341.html > >> > >> > >> Zitat von Michal Strnad <michal.str...@cesnet.cz>: > >> > >>> Hi! > >>> > >>> I'm trying to figure out how to specify the path for a CephFS > >>> subvolume, as it's intended to represent a user's home directory. > >>> By default, it's located at /volumes/_nogroup/$NAME/$UUID. Is it > >>> possible to change this path somehow, or is using symbolic links > >>> the only option? > >>> > >>> Thank you > >>> Michal Strnad > >> > >> > >> _______________________________________________ > >> ceph-users mailing list -- ceph-users@ceph.io > >> To unsubscribe send an email to ceph-users-le...@ceph.io > > > > -- > > Michal Strnad > > Oddeleni datovych ulozist > > CESNET z.s.p.o. > > > _______________________________________________ > ceph-users mailing list -- ceph-users@ceph.io > To unsubscribe send an email to ceph-users-le...@ceph.io > _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io