Re: CephFS Kernel Mount Options Without Mount Helper

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

 



(for archival purposes)

On Thu, Mar 2, 2023 at 6:04 PM Milind Changire <mchangir@xxxxxxxxxx> wrote:

> The docs for the ceph kernel module will be updated appropriately in the
> kernel documentation.
> Thanks for pointing out your pain point.
>
> --
> Milind
>
>
> On Thu, Mar 2, 2023 at 1:41 PM Shawn Weeks <sweeks@xxxxxxxxxxxxxxxxxx>
> wrote:
>
>> I’m already able to mount ceph without a helper using the built in ceph
>> kernel module support. My issue is that the documentation mixes what
>> parameters the module itself supports and what requires the helper.
>> Everything I’ve discovered so far is from reading the source code and
>> piecing things together from stack overflow and ceph forum posts. I was
>> hoping there was a better answer and I was just missing a different set of
>> documentation.
>>
>> Sent from my iPhone
>>
>> On Mar 2, 2023, at 1:48 AM, Milind Changire <mchangir@xxxxxxxxxx> wrote:
>>
>> 
>> I think the mount(8) man page section titled "EXTERNAL HELPERS" states it
>> clearly:
>> -----
>> EXTERNAL HELPERS
>>        The syntax of external mount helpers is:
>>
>>        /sbin/mount.suffix spec dir [-sfnv] [-N namespace] [-o options]
>> [-t type.subtype]
>>
>>        where the suffix is the filesystem type and the -sfnvoN options
>> have the same meaning
>>        as the normal mount options. The -t option is used for filesystems
>> with subtypes support (for
>>        example /sbin/mount.fuse -t fuse.sshfs).
>>
>>        The command mount does not pass the mount options unbindable,
>> runbindable, private, rprivate,
>>        slave, rslave, shared, rshared, auto, noauto, comment, x-*, loop,
>> offset and sizelimit to
>>        the mount.<suffix> helpers. All other options are used in a
>> comma-separated list as an argument
>>        to the -o option.
>> -----
>>
>> So, if there are mount options other than the basic ones processed by the
>> main mount program, they are passed to the mount helper presuming they are
>> of interest to the mount helper. Since the main mount program will be
>> unable to make sense of ceph mount options like "secret", "secretfile",
>> "mon_addr", "conf", "name", "ms_mode", "fs", "nofallback", etc., a mount
>> helper will be required to mount a ceph file system.
>>
>> -----
>> 1. What other filesystem types does your Linux Distro mount currently ?
>> 2. What other filesystems of your interest can your Linux Distro (Rocky
>> 8/9) mount without a mount helper ?
>>
>>
>>
>> On Thu, Mar 2, 2023 at 11:53 AM Shawn Weeks <sweeks@xxxxxxxxxxxxxxxxxx>
>> wrote:
>>
>>> Rock 8 and 9 don’t have the helper available in their repos and I have
>>> to work with what they include.
>>>
>>> Thanks
>>> Shawn
>>>
>>> Sent from my iPhone
>>>
>>> On Mar 1, 2023, at 11:41 PM, Milind Changire <mchangir@xxxxxxxxxx>
>>> wrote:
>>>
>>> 
>>> Why is it critical to mount the ceph filesystem without the ceph mount
>>> helper ?
>>>
>>>
>>> On Thu, Mar 2, 2023 at 8:42 AM Shawn Weeks <sweeks@xxxxxxxxxxxxxxxxxx>
>>> wrote:
>>>
>>>> That’s the documentation that assumes you’re going to have the helper.
>>>> It lists things like “secretfile” and “fs” that doesn’t work without the
>>>> helper. I’ve gone back several versions of that page and none of them spell
>>>> out what requires the helper and what’s supported native on the kernel.
>>>>
>>>> Thanks
>>>> Shawn
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Mar 1, 2023, at 8:53 PM, Milind Changire <mchangir@xxxxxxxxxx>
>>>> wrote:
>>>>
>>>> 
>>>> Check if this doc helps:
>>>> https://docs.ceph.com/en/quincy/cephfs/mount-using-kernel-driver/
>>>>
>>>>
>>>> On Tue, Feb 28, 2023 at 11:09 PM Shawn Weeks <sweeks@xxxxxxxxxxxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Even the documentation at
>>>>> https://www.kernel.org/doc/html/v5.14/filesystems/ceph.html#mount-options
>>>>> is incomplete and doesn’t list options like “secret” and “mds_namespace”
>>>>>
>>>>> Thanks
>>>>> Shawn
>>>>>
>>>>> > On Feb 28, 2023, at 11:03 AM, Shawn Weeks <sweeks@xxxxxxxxxxxxxxxxxx>
>>>>> wrote:
>>>>> >
>>>>> > I’m trying to find documentation for which mount options are
>>>>> supported directly by the kernel module. For example in the kernel module
>>>>> included in Rocky Linux 8 and 9 the secretfile option isn’t supported even
>>>>> though the documentation seems to imply it is. It seems like the
>>>>> documentation assumes you’ll always be using the mount.ceph helper and I’m
>>>>> trying to find out what options are supported if you don’t have mount.ceph
>>>>> helper.
>>>>> >
>>>>> > Thanks
>>>>> > Shawn
>>>>> > _______________________________________________
>>>>> > ceph-users mailing list -- ceph-users@xxxxxxx
>>>>> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
>>>>>
>>>>> _______________________________________________
>>>>> ceph-users mailing list -- ceph-users@xxxxxxx
>>>>> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>>>>>
>>>>
>>>>
>>>> --
>>>> Milind
>>>>
>>>>
>>>
>>> --
>>> Milind
>>>
>>>
>>
>> --
>> Milind
>>
>>
>
> --
> Milind
>
>

-- 
Milind
_______________________________________________
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