Re: NFS cluster

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

 



On Thursday, December 12, 2024 9:02:25 AM EST Rok Jaklič wrote:
> Hi,
> 
> I am trying to create nfs cluster with following command:
> ceph nfs cluster create cephnfs
> 
> But I get an error like:
> Error EPERM: osd pool create failed: 'pgp_num' must be greater than 0 and
> lower or equal than 'pg_num', which in this case is 1 retval: -34
> 
> Any ideas why?
> 
> I also tried adding placement number at the end like:
> ceph nfs cluster create cephnfs 128
> 
> ... but I get the same error.
> 
> Ceph version quincy: v17.2.8
> 
> Kind regards,
> Rok
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx

The nfs subsystem uses a special rados pool named '.nfs' to store 
configuration.   You're seeing the system attempt to automatically create this 
pool for you and fail. You can not specify a rados placement number on the 
`ceph nfs` commands, it simply won't understand that.

You may want to try creating the pool yourself and seeing if you get the same 
error or not. The commands that it runs are equivalent to:

  ceph osd pool create '.nfs' --yes_i_really_mean_it
  ceph osd pool application enable '.nfs'  nfs

If the pool create command continues to fail (I expect it to) you can then 
provide more info about the state of your cluster to this thread and ask for 
more info from the rados experts.


_______________________________________________
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