[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-29 Thread Ken Dreyer
On Thu, Sep 29, 2022 at 7:52 AM Dominique Ramaekers
 wrote:
> Is it possible these pulls aren’t jet included in Quincy Stable?
>
> I can't find a notice in my syslog about the mount syntax I use being 
> deprecated.

Those PRs are in Quincy. However, there are no syslog warnings about
deprecating the old v1 syntax today. Given that v2 support requires a
new-enough kernel + Quincy Ceph client, it will be years before the
majority of users have transitioned over to the new syntax.

That said, it would be a good idea eventually to introduce a warning
to users that they should switch their configurations, maybe in Ceph's
Reef or S release. You could file that idea as an RFE in
tracker.ceph.com.

- Ken

___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-29 Thread Dominique Ramaekers

Thanks Ken for the info.

Is it possible these pulls aren’t jet included in Quincy Stable? 

I can't find a notice in my syslog about the mount syntax I use being 
deprecated.



> -Oorspronkelijk bericht-
> Van: Ken Dreyer 
> Verzonden: woensdag 28 september 2022 16:50
> Aan: Sagittarius-A Black Hole 
> CC: Dominique Ramaekers ; ceph-
> us...@ceph.io
> Onderwerp: Re: [ceph-users] Re: Fstab entry for mounting specific ceph fs?
> 

...

> 
> We removed mds_namespace from the documentation in
> https://github.com/ceph/ceph/pull/33491 because it's deprecated.
> 
> There is a completely new v2 syntax now,
> https://github.com/ceph/ceph/pull/41334

___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-28 Thread Ken Dreyer
On Sun, Sep 25, 2022 at 11:24 PM Sagittarius-A Black Hole
 wrote:
>
> No, I actually included the ceph fstype, just not in my example (the
> initial post), but the key is really mds_namespace for specifying the
> filesystem, this should be included in the documentation.

We removed mds_namespace from the documentation in
https://github.com/ceph/ceph/pull/33491 because it's deprecated.

There is a completely new v2 syntax now, https://github.com/ceph/ceph/pull/41334

___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-25 Thread Sagittarius-A Black Hole
No, I actually included the ceph fstype, just not in my example (the
initial post), but the key is really mds_namespace for specifying the
filesystem, this should be included in the documentation.

Thanks

Daniel

On Sun, 25 Sept 2022 at 02:13, Dominique Ramaekers
 wrote:
>
> Hi Daniel,
>
> I also needed to add the mds_namespace in my definition...
>
> ?? But, did you also forget to specify the fs-type = "ceph" ??
>
> This is my entry in fstab: 10.3.1.23:6789,10.3.1.26:6789,10.3.1.28:6789:/  
> /srv/poolVMScephname=admin,mds_namespace=poolVMS,noatime,_netdev  
>   0   0
>
> Greetings,
>
> Dominique.
>
> > > On Fri, Sep 23, 2022 at 6:41 PM Sagittarius-A Black Hole
> >  wrote:
> > >>
> > >> Hi,
> > >>
> > >> The below fstab entry works, so that is a given.
> > >> But how do I specify which Ceph filesystem I want to mount in this fstab
> > format?
> > >>
> > >> 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
> > >> name=james_user, secretfile=/etc/ceph/secret.key
> > >>
> > >> I have tried different ways, but always get the error "source mount
> > >> path was not specified"
> > >> I can't find many examples of fstab ceph mounts unfortunately.
> > >>
> > >> Thanks,
> > >>
> > >> Daniel
> > >> ___
> > >> ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an
> > >> email to ceph-users-le...@ceph.io
> > >
> > > --
> > >
> > > Respectfully,
> > >
> > > Wes Dillingham
> > > w...@wesdillingham.com
> > > LinkedIn
> >
> >
> >
> > --
> > Por sperto kaj lerno ne sufiĉas eterno.
> > ___
> > ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email
> > to ceph-users-le...@ceph.io



-- 
Por sperto kaj lerno ne sufiĉas eterno.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-25 Thread Dominique Ramaekers
Hi Daniel,

I also needed to add the mds_namespace in my definition...

?? But, did you also forget to specify the fs-type = "ceph" ??

This is my entry in fstab: 10.3.1.23:6789,10.3.1.26:6789,10.3.1.28:6789:/  
/srv/poolVMScephname=admin,mds_namespace=poolVMS,noatime,_netdev
0   0

Greetings,

Dominique.

> > On Fri, Sep 23, 2022 at 6:41 PM Sagittarius-A Black Hole
>  wrote:
> >>
> >> Hi,
> >>
> >> The below fstab entry works, so that is a given.
> >> But how do I specify which Ceph filesystem I want to mount in this fstab
> format?
> >>
> >> 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
> >> name=james_user, secretfile=/etc/ceph/secret.key
> >>
> >> I have tried different ways, but always get the error "source mount
> >> path was not specified"
> >> I can't find many examples of fstab ceph mounts unfortunately.
> >>
> >> Thanks,
> >>
> >> Daniel
> >> ___
> >> ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an
> >> email to ceph-users-le...@ceph.io
> >
> > --
> >
> > Respectfully,
> >
> > Wes Dillingham
> > w...@wesdillingham.com
> > LinkedIn
> 
> 
> 
> --
> Por sperto kaj lerno ne sufiĉas eterno.
> ___
> 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


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-23 Thread Sagittarius-A Black Hole
Ah, I found it: mds_namespace IS in this case the name of the filesystem
Why not call it filesystem name instead of namespace, a term that is
as far as I could find, not defined in Ceph.

Thanks,

Daniel

On Fri, 23 Sept 2022 at 17:09, Sagittarius-A Black Hole
 wrote:
>
> Hi,
>
> thanks for the suggestion of the namespace. I'm trying to find any
> documentation over it, how do you set a name space for a filesystem /
> pool?
>
> Thanks,
>
> Daniel
>
> On Fri, 23 Sept 2022 at 16:01, Wesley Dillingham  
> wrote:
> >
> > Try adding mds_namespace option like so:
> >
> > 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
> > name=james_user,secretfile=/etc/ceph/secret.key,mds_namespace=myfs
> >
> > On Fri, Sep 23, 2022 at 6:41 PM Sagittarius-A Black Hole 
> >  wrote:
> >>
> >> Hi,
> >>
> >> The below fstab entry works, so that is a given.
> >> But how do I specify which Ceph filesystem I want to mount in this fstab 
> >> format?
> >>
> >> 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
> >> name=james_user, secretfile=/etc/ceph/secret.key
> >>
> >> I have tried different ways, but always get the error "source mount
> >> path was not specified"
> >> I can't find many examples of fstab ceph mounts unfortunately.
> >>
> >> Thanks,
> >>
> >> Daniel
> >> ___
> >> ceph-users mailing list -- ceph-users@ceph.io
> >> To unsubscribe send an email to ceph-users-le...@ceph.io
> >
> > --
> >
> > Respectfully,
> >
> > Wes Dillingham
> > w...@wesdillingham.com
> > LinkedIn
>
>
>
> --
> Por sperto kaj lerno ne sufiĉas eterno.



-- 
Por sperto kaj lerno ne sufiĉas eterno.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-23 Thread Sagittarius-A Black Hole
Hi,

thanks for the suggestion of the namespace. I'm trying to find any
documentation over it, how do you set a name space for a filesystem /
pool?

Thanks,

Daniel

On Fri, 23 Sept 2022 at 16:01, Wesley Dillingham  wrote:
>
> Try adding mds_namespace option like so:
>
> 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
> name=james_user,secretfile=/etc/ceph/secret.key,mds_namespace=myfs
>
> On Fri, Sep 23, 2022 at 6:41 PM Sagittarius-A Black Hole 
>  wrote:
>>
>> Hi,
>>
>> The below fstab entry works, so that is a given.
>> But how do I specify which Ceph filesystem I want to mount in this fstab 
>> format?
>>
>> 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
>> name=james_user, secretfile=/etc/ceph/secret.key
>>
>> I have tried different ways, but always get the error "source mount
>> path was not specified"
>> I can't find many examples of fstab ceph mounts unfortunately.
>>
>> Thanks,
>>
>> Daniel
>> ___
>> ceph-users mailing list -- ceph-users@ceph.io
>> To unsubscribe send an email to ceph-users-le...@ceph.io
>
> --
>
> Respectfully,
>
> Wes Dillingham
> w...@wesdillingham.com
> LinkedIn



-- 
Por sperto kaj lerno ne sufiĉas eterno.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-23 Thread Sagittarius-A Black Hole
This is what I tried, following the link:

{name}@.{fs_name}=/ {mount}/{mountpoint} ceph
[mon_addr={ipaddress},secret=secretkey|secretfile=/path/to/secretfile

does not work, it reports: source mount path was not specified, unable
to parse mount source:-22

why is mount and mountpoint specified like this, this is just one
mount point, like /media/ceph_fs

Thanks,

Daniel

On Fri, 23 Sept 2022 at 16:16, Ramana Krisna Venkatesh Raja
 wrote:
>
> On Fri, Sep 23, 2022 at 6:41 PM Sagittarius-A Black Hole
>  wrote:
> >
> > Hi,
> >
> > The below fstab entry works, so that is a given.
> > But how do I specify which Ceph filesystem I want to mount in this fstab 
> > format?
> >
> > 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
> > name=james_user, secretfile=/etc/ceph/secret.key
> >
> > I have tried different ways, but always get the error "source mount
> > path was not specified"
> > I can't find many examples of fstab ceph mounts unfortunately.
> >
>
> https://docs.ceph.com/en/quincy/cephfs/mount-using-kernel-driver/#persistent-mounts
>
>
> > Thanks,
> >
> > Daniel
> > ___
> > ceph-users mailing list -- ceph-users@ceph.io
> > To unsubscribe send an email to ceph-users-le...@ceph.io
> >
>


-- 
Por sperto kaj lerno ne sufiĉas eterno.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-23 Thread Ramana Krisna Venkatesh Raja
On Fri, Sep 23, 2022 at 6:41 PM Sagittarius-A Black Hole
 wrote:
>
> Hi,
>
> The below fstab entry works, so that is a given.
> But how do I specify which Ceph filesystem I want to mount in this fstab 
> format?
>
> 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
> name=james_user, secretfile=/etc/ceph/secret.key
>
> I have tried different ways, but always get the error "source mount
> path was not specified"
> I can't find many examples of fstab ceph mounts unfortunately.
>

https://docs.ceph.com/en/quincy/cephfs/mount-using-kernel-driver/#persistent-mounts


> Thanks,
>
> Daniel
> ___
> 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


[ceph-users] Re: Fstab entry for mounting specific ceph fs?

2022-09-23 Thread Wesley Dillingham
Try adding mds_namespace option like so:

192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
name=james_user,secretfile=/etc/ceph/secret.key,mds_namespace=myfs

On Fri, Sep 23, 2022 at 6:41 PM Sagittarius-A Black Hole <
nigrat...@gmail.com> wrote:

> Hi,
>
> The below fstab entry works, so that is a given.
> But how do I specify which Ceph filesystem I want to mount in this fstab
> format?
>
> 192.168.1.11,192.168.1.12,192.168.1.13:/ /media/ceph_fs/
> name=james_user, secretfile=/etc/ceph/secret.key
>
> I have tried different ways, but always get the error "source mount
> path was not specified"
> I can't find many examples of fstab ceph mounts unfortunately.
>
> Thanks,
>
> Daniel
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>
-- 

Respectfully,

*Wes Dillingham*
w...@wesdillingham.com
LinkedIn 
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io