* [PVE-User] Remove 1-2 OSD from PVE Cluster
@ 2022-01-13 8:13 Сергей Цаболов
[not found] ` <8973317e-c510-11ae-7705-af85ed3ad063@binovo.es>
0 siblings, 1 reply; 2+ messages in thread
From: Сергей Цаболов @ 2022-01-13 8:13 UTC (permalink / raw)
To: Proxmox VE user list
Hello to all.
I have cluster with 7 node.
Storage for VM disk and others pool data is on ceph version 15.2.15
(4b7a17f73998a0b4d9bd233cda1db482107e5908) octopus (stable)
On pve-7 I have 10 OSD and for test I want to remove 2 osd from this node.
I write some steps command how I remove this OSD from pve-7 cluster and
ceph storage.
1) root@pve-7 ~ # ceph osd tree
2) ceph osd reweight
2.1) ceph osd reweight osd.${ID} 0.98
2.2) ceph osd reweight osd.${ID} 0.0 can I set the 0.0 to clean osd.X
before remove it?
3) When osd is clean from data can I?
ceph osd down osd.${ID}
4) Remove the osd from cluster
ceph osd out osd.${ID}
5) Stop the OSD and umount the osd
systemctl stop ceph-osd@${ID}
umount /var/lib/ceph/osd/ceph-${ID}
6) Remove the osd from CRUSH map:
ceph osd crush remove osd.${ID}
7) Remove the user of OSD:
ceph auth del osd.${ID}
8) And now full delete the OSD:
ceph osd rm osd.${ID}
9) Last command
ceph osd tree (removed OSD not showing
Can some one suggest me my steps command is correct ?
Or I need change some steps?
Thanks .
--
-------------------------
Sergey TS
The best Regard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PVE-User] Remove 1-2 OSD from PVE Cluster
[not found] ` <8973317e-c510-11ae-7705-af85ed3ad063@binovo.es>
@ 2022-01-13 15:00 ` Сергей Цаболов
0 siblings, 0 replies; 2+ messages in thread
From: Сергей Цаболов @ 2022-01-13 15:00 UTC (permalink / raw)
To: Eneko Lacunza, pve-user
Hi,
I not have Remove OSD in GUI.
If I select OSD.X have: Start (if stoped) , Stop , Restart, Out , In
(if is out) and on More button: Srub , Deep Scrub.
But the most important is in gui not have button to clean OSD from data.
13.01.2022 17:48, Eneko Lacunza пишет:
> Hi,
>
> Why not use "Remove OSD" button in PVE WUI? :-)
>
> El 13/1/22 a las 9:13, Сергей Цаболов escribió:
>> Hello to all.
>>
>> I have cluster with 7 node.
>>
>> Storage for VM disk and others pool data is on ceph version 15.2.15
>> (4b7a17f73998a0b4d9bd233cda1db482107e5908) octopus (stable)
>>
>> On pve-7 I have 10 OSD and for test I want to remove 2 osd from this
>> node.
>>
>> I write some steps command how I remove this OSD from pve-7 cluster
>> and ceph storage.
>>
>> 1) root@pve-7 ~ # ceph osd tree
>>
>> 2) ceph osd reweight
>> 2.1) ceph osd reweight osd.${ID} 0.98
>> 2.2) ceph osd reweight osd.${ID} 0.0 can I set the 0.0 to clean osd.X
>> before remove it?
>>
>> 3) When osd is clean from data can I?
>> ceph osd down osd.${ID}
>>
>> 4) Remove the osd from cluster
>> ceph osd out osd.${ID}
>>
>> 5) Stop the OSD and umount the osd
>> systemctl stop ceph-osd@${ID}
>> umount /var/lib/ceph/osd/ceph-${ID}
>>
>> 6) Remove the osd from CRUSH map:
>> ceph osd crush remove osd.${ID}
>>
>> 7) Remove the user of OSD:
>> ceph auth del osd.${ID}
>>
>> 8) And now full delete the OSD:
>> ceph osd rm osd.${ID}
>>
>> 9) Last command
>>
>> ceph osd tree (removed OSD not showing
>>
>> Can some one suggest me my steps command is correct ?
>>
>> Or I need change some steps?
>>
>> Thanks .
>>
>
> Eneko Lacunza
> Zuzendari teknikoa | Director técnico
> Binovo IT Human Project
>
> Tel. +34 943 569 206 | https://www.binovo.es
> Astigarragako Bidea, 2 - 2º izda. Oficina 10-11, 20180 Oiartzun
>
> https://www.youtube.com/user/CANALBINOVO
> https://www.linkedin.com/company/37269706/
>
>
Sergey TS
The best Regard
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-13 15:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 8:13 [PVE-User] Remove 1-2 OSD from PVE Cluster Сергей Цаболов
[not found] ` <8973317e-c510-11ae-7705-af85ed3ad063@binovo.es>
2022-01-13 15:00 ` Сергей Цаболов
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox