How to Stop/start a specific OSD

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

 



Hello all,

 

I am a new user of Ceph. I am trying to stop an OSD, I can stop it (and all other OSDs on the node) using the command : sudo stop ceph-osd-all. But the command: sudo stop ceph-osd id=0 returns an error

 

user@node2:~$ ceph osd tree

# id    weight  type name       up/down reweight

-1      0.36    root default

-2      0.14            host node2

0       0.06999                 osd.0   up      0

4       0.06999                 osd.4   up      0

-3      0.14            host node3

1       0.06999                 osd.1   up      1

3       0.06999                 osd.3   up      1

-4      0.07999         host node4

2       0.07999                 osd.2   up      1

user@node2:~$ sudo stop ceph-osd id=0

stop: Unknown instance: ceph/0

user@node2:~$ sudo stop ceph-osd-all

ceph-osd-all stop/waiting

user@node2:~$ ceph osd tree

# id    weight  type name       up/down reweight

-1      0.36    root default

-2      0.14            host node2

0       0.06999                 osd.0   down    0

4       0.06999                 osd.4   down    0

-3      0.14            host node3

1       0.06999                 osd.1   up      1

3       0.06999                 osd.3   up      1

-4      0.07999         host node4

2       0.07999                 osd.2   up      1

 

Same when trying to start a single OSD, it doesn’t work. But I can start all OSDs on a node

 

user@node2:~$ ceph osd tree

# id    weight  type name       up/down reweight

-1      0.36    root default

-2      0.14            host node2

0       0.06999                 osd.0   down    0

4       0.06999                 osd.4   down    0

-3      0.14            host node3

1       0.06999                 osd.1   up      1

3       0.06999                 osd.3   up      1

-4      0.07999         host node4

2       0.07999                 osd.2   up      1

user@node2:~$ sudo start ceph-osd id=0

ceph-osd stop/waiting

user@node2:~$ ceph osd tree

# id    weight  type name       up/down reweight

-1      0.36    root default

-2      0.14            host node2

0       0.06999                 osd.0   down    0

4       0.06999                 osd.4   down    0

-3      0.14            host node3

1       0.06999                 osd.1   up      1

3       0.06999                 osd.3   up      1

-4      0.07999         host node4

2       0.07999                 osd.2   up      1

user@node2:~$ sudo start ceph-osd-all

ceph-osd-all start/running

user@node2:~$ ceph osd tree

# id    weight  type name       up/down reweight

-1      0.36    root default

-2      0.14            host node2

0       0.06999                 osd.0   up      0

4       0.06999                 osd.4   up      0

-3      0.14            host node3

1       0.06999                 osd.1   up      1

3       0.06999                 osd.3   up      1

-4      0.07999         host node4

2       0.07999                 osd.2   up      1

 

 

Can you please advise me, what I am doing wrong and what’s the right way to stop/start a specific OSD

 

Thanks in Advance

 

Ali

This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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