I was familiar of the general sort
command and its basic options like sort -r
for reverse sort
and sort -n
for numerical sort, but I did not know about the powerful -k
option that
allows sort to be used for sorting by multiple columns
Export CephFS with NFS Ganesha
Install packages
Need to use backports to install the nfs-ganesha version that supports rados_* backends
echo deb http://http.us.debian.org/debian buster-backports main > /etc/apt/sources.list.d/backports.list
apt update
apt install nfs-ganesha/buster-backports nfs-ganesha-ceph/buster-backports nfs-ganesha-vfs/buster-backports
apt install nfs-ganesha nfs-ganesha-ceph nfs-ganesha-vfs
Find out which pools are available
root@pvetest2:~# rados lspools
device_health_metrics
gold
ec21pool
cephfs_meta
Cephfs Clustered Share on Proxmox server
Assume that the AD server already exists and we create a clustered member
Install packages
apt install ctdb samba winbind krb5-config krb5-user libnss-winbind
Mount CephFS
First make sure that CephFS is mounted on the host.
ln -s /etc/pve/priv/ceph.client.admin.keyring /etc/ceph/ceph.client.admin.keyring
- One-time mount of cephfs:
mount -t ceph -o name=admin,noatime,nofail :/ /mnt/cephfs