我已在3节点群集上部署了Ceph。每个节点有8个SSD,Ceph集群运行正常。
我在mount命令输出中看到tmps的事实令我感到担忧。它不是持久的吗?如何正确执行此操作?
root@c2node3 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
sda1 8:1 0 200M 0 part /boot/efi
sda2 8:2 0 1G 0 part /boot
sda3 8:3 0 1.8T 0 part
centos-root 253:0 0 50G 0 lvm /
centos-swap 253:1 0 4G 0 lvm [SWAP]
centos-home 253:9 0 1.8T 0 lvm /home
sdb 8:16 0 372G 0 disk
ceph--92216ba4--6068--43fe--ace6--2bad00116695-osd--block--3c677152--d4d8--4eba--9e43--0a47bfc49314
253:10 0 372G 0 lvm
sdc 8:32 0 372G 0 disk
ceph--7babb361--3257--4811--96bb--86d049fd71db-osd--block--41e5f595--3214--4e9e--8354--4547ec0fbef5
253:8 0 372G 0 lvm
sdd 8:48 0 372G 0 disk
ceph--cf77814d--097b--45ae--80e8--9176d44f1cef-osd--block--85c9ff7f--f80f--43f8--8735--5ebd206f7eb3
253:6 0 372G 0 lvm
sde 8:64 0 372G 0 disk
ceph--5243019f--7234--49b5--a610--f0b2ba4c6f6b-osd--block--3f77a8f8--90af--4b30--9155--753acc8b266f
253:3 0 372G 0 lvm
sdf 8:80 0 372G 0 disk
ceph--b73586e0--1406--42df--adf0--6d9715a9a0cc-osd--block--4e71adaf--4bf8--43cf--9e53--355cf98f4254
253:7 0 372G 0 lvm
sdg 8:96 0 372G 0 disk
ceph--af865e3a--f895--42db--bf67--1153dfe8772a-osd--block--f9bb1b8d--a67a--48eb--b577--178187be147c
253:5 0 372G 0 lvm
sdh 8:112 0 372G 0 disk
ceph--7aa8b973--0c51--4571--a2c5--c5cfc1a1f9c5-osd--block--329004c3--c094--4d43--877a--d0a989bc3376
253:4 0 372G 0 lvm
sdi 8:128 0 372G 0 disk
ceph--7b97fe3b--d522--42bb--b21f--9eb9e12d648e-osd--block--155c474e--9c80--43a3--971b--619f88ae8ddc
253:2 0 372G 0 lvm
[root@c2node3 ~]#
[root@c2node3 ~]# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=98204032k,nr_inodes=24551008,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio,net_cls)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mapper/centos-root on / type xfs (rw,relatime,attr2,inode64,logbsize=256k,sunit=512,swidth=512,noquota)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=33781)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
/dev/sda2 on /boot type xfs (rw,relatime,attr2,inode64,logbsize=256k,sunit=512,swidth=512,noquota)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)
/dev/mapper/centos-home on /home type xfs (rw,relatime,attr2,inode64,logbsize=256k,sunit=512,swidth=512,noquota)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /var/lib/ceph/osd/ceph-21 type tmpfs (rw,relatime)
tmpfs on /var/lib/ceph/osd/ceph-19 type tmpfs (rw,relatime)
tmpfs on /var/lib/ceph/osd/ceph-0 type tmpfs (rw,relatime)
tmpfs on /var/lib/ceph/osd/ceph-24 type tmpfs (rw,relatime)
tmpfs on /var/lib/ceph/osd/ceph-20 type tmpfs (rw,relatime)
tmpfs on /var/lib/ceph/osd/ceph-23 type tmpfs (rw,relatime)
tmpfs on /var/lib/ceph/osd/ceph-22 type tmpfs (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=19643236k,mode=700)
tmpfs on /var/lib/ceph/osd/ceph-1 type tmpfs (rw,relatime)
[root@c2node3 ~]#