Re: shell fautly command

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

 



Hi Dominique,

----- Le 22 Jan 25, à 15:14, Dominique Ramaekers dominique.ramaekers@xxxxxxxxxx a écrit :

> Hi,
> 
> I was removing config keys of osd's that were purged...
> 
> I accidently entered the following command: #ceph config-key rm osd
> 
> Feedback "key deleted"  :-(
> 
> Did I do something very stupid???

Nope, you should be safe. Tested on a test cluster :

~/ ceph config-key ls > /root/ceph_config-key_ls_before.txt
~/ ceph config-key rm osd
key deleted
~/ ceph config-key ls > /root/ceph_config-key_ls_after.txt 
~/ diff /root/ceph_config-key_ls_before.txt /root/ceph_config-key_ls_after.txt

no differences.

You can check OSDs keyrings with a ceph auth list.

Frédéric.

> 
> The output of my osd keys:
> # ceph config-key ls | grep 'osd' | grep -v history
>    "config/global/osd_pool_default_pg_autoscale_mode",
>    "config/osd.0/osd_mclock_max_capacity_iops_hdd",
>    "config/osd.0/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.1/osd_mclock_max_capacity_iops_hdd",
>    "config/osd.1/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.10/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.11/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.12/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.13/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.14/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.15/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.16/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.17/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.2/osd_mclock_max_capacity_iops_hdd",
>    "config/osd.2/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.20/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.21/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.22/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.23/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.24/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.25/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.26/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.27/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.28/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.29/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.3/osd_mclock_max_capacity_iops_hdd",
>    "config/osd.3/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.30/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.31/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.32/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.33/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.34/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.35/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.37/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.38/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.4/osd_mclock_max_capacity_iops_hdd",
>    "config/osd.4/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.5/osd_mclock_max_capacity_iops_hdd",
>    "config/osd.5/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.6/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.7/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.8/osd_mclock_max_capacity_iops_ssd",
>    "config/osd.9/osd_mclock_max_capacity_iops_ssd",
>    "config/osd/host:hvs001/osd_memory_target",
>    "config/osd/host:hvs002/osd_memory_target",
>    "config/osd/host:hvs003/osd_memory_target",
>    "config/osd/host:hvs005/osd_memory_target",
>    "config/osd/osd_memory_target_autotune",
>    "mgr/cephadm/osd_remove_queue",
>    "mgr/cephadm/spec.osd.all-available-devices",
> 
> 
> 
> 
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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