Re: Patch change for CephFS subvolume

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

 



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.strnad@xxxxxxxxx>:

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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

--
Michal Strnad
Oddeleni datovych ulozist
CESNET z.s.p.o.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux