cephfs creation error
Hi all, I just had created a ceph cluster to use cephfs. When i create the a ceph fs pool i get the filesystem below error. # ceph osd pool create cephfs_data 128 pool 'cephfs_data' created # ceph osd pool create cephfs_metadata 128 pool 'cephfs_metadata' created # ceph fs new cephfs cephfs_metadata cephfs_data new fs with metadata pool 6 and data pool 5 # ceph -s cluster: id: 1c27def45-f0f9-494d-sfke-eb4323432fd health: HEALTH_ERR 1 filesystem is offline 1 filesystem is online with fewer MDS than max_mds services: mon: 2 daemons, quorum ceph-mon01,ceph-mon02 mgr: ceph-adm01(active) mds: cephfs-0/0/1 up osd: 12 osds: 12 up, 12 in data: pools: 2 pools, 256 pgs objects: 0 objects, 0 B usage: 12 GiB used, 588 GiB / 600 GiB avail pgs: 256 active+clean but when i check the max_mds for the ceph fs it says 1 # ceph fs get cephfs | grep max_mds max_mds 1 Let anyone know what am i missing here? Any inputs is much appreciated. Regards, Ram Ceph-explorer..
Hello Ram, On Mon, Aug 19, 2019 at 9:51 AM Ramanathan S <ramanathan19591@gmail.com> wrote:
mds: cephfs-0/0/1 up
You have no MDS available. Are you not running the daemon? -- Patrick Donnelly, Ph.D. He / Him / His Senior Software Engineer Red Hat Sunnyvale, CA GPG: 19F28A586F808C2402351B93C3301A3E258DD79D
Hi Patrick, Right I missed the daemons. After it’s creation cluster health returned OK. Thanks for your inputs.. Regards, Ram. On Tue, 20 Aug 2019 at 2:13 AM, Patrick Donnelly <pdonnell@redhat.com> wrote:
Hello Ram,
On Mon, Aug 19, 2019 at 9:51 AM Ramanathan S <ramanathan19591@gmail.com> wrote:
mds: cephfs-0/0/1 up
You have no MDS available. Are you not running the daemon?
-- Patrick Donnelly, Ph.D. He / Him / His Senior Software Engineer Red Hat Sunnyvale, CA GPG: 19F28A586F808C2402351B93C3301A3E258DD79D
-- Regards, Ram
I have the same issue, can someone help me, thanks in advance! bash-4.4$ ceph fs new kingcephfs cephfs-king-metadata cephfs-king-data new fs with metadata pool 7 and data pool 8 bash-4.4$ bash-4.4$ ceph -s cluster: id: de9af3fe-d3b1-4a4b-bf61-929a990295f6 health: HEALTH_ERR 1 filesystem is offline 1 filesystem is online with fewer MDS than max_mds services: mon: 3 daemons, quorum a,b,c (age 2d) mgr: a(active, since 2d), standbys: b mds: 1/1 daemons up, 1 hot standby osd: 3 osds: 3 up (since 2d), 3 in (since 2d) rgw: 1 daemon active (1 hosts, 1 zones) data: volumes: 2/2 healthy pools: 14 pools, 233 pgs objects: 592 objects, 450 MiB usage: 1.5 GiB used, 208 GiB / 210 GiB avail pgs: 233 active+clean io: client: 921 B/s rd, 1 op/s rd, 0 op/s wr bash-4.4$ ceph fs status myfs - 0 clients ==== RANK STATE MDS ACTIVITY DNS INOS DIRS CAPS 0 active myfs-a Reqs: 0 /s 10 13 12 0 0-s standby-replay myfs-b Evts: 0 /s 0 3 2 0 POOL TYPE USED AVAIL myfs-metadata metadata 180k 65.9G myfs-replicated data 0 65.9G kingcephfs - 0 clients ========== POOL TYPE USED AVAIL cephfs-king-metadata metadata 0 65.9G cephfs-king-data data 0 65.9G MDS version: ceph version 17.2.5 (98318ae89f1a893a6ded3a640405cdbb33e08757) quincy (stable) bash-4.4$ bash-4.4$ bash-4.4$ bash-4.4$ bash-4.4$ ceph mds stat myfs:1 kingcephfs:0 {myfs:0=myfs-a=up:active} 1 up:standby-replay bash-4.4$ bash-4.4$ ceph fs ls name: myfs, metadata pool: myfs-metadata, data pools: [myfs-replicated ] name: kingcephfs, metadata pool: cephfs-king-metadata, data pools: [cephfs-king-data ] bash-4.4$
participants (3)
-
elite_stu@163.com
-
Patrick Donnelly
-
Ramanathan S