open-menu closeme
Home
Links icon
LinkedIn
About
English
github linkedin
  • List pools and their crush rule

    calendar Feb 12, 2019 · 1 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    1ceph osd pool ls | while read line; do echo $line && ceph osd pool get $line crush_rule; done


    Read More
  • Openstack Queens\Rocky - Glance: Create an image from an existing RBD volume

    calendar Apr 26, 2018 · 2 min read · OPENSTACK-QUEENS ROCKY-GLANCE CEPH QEMU  ·
    Share on: twitter facebook linkedin copy

    Seems like something that should be simple! Step1 – Create the empty image 1glance image-create --container-format=bare --disk-format=raw --min-ram 2048 --name="Windows Server test" 1+------------------+--------------------------------------+ 2| Property | Value | …


    Read More
  • Ceph commands

    calendar Jan 16, 2018 · 1 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    Get status of monitors ceph quorum_status --format json-pretty Set the weight of a disk lower so it gets less IO, or use it to scale a disk in\out of a cluster ceph osd reweight osd.30 .01 --cluster mycluster Move an OSD to a node in the cursh map, usefull if your OSD comes up not attached to a node ceph osd crush move …


    Read More
  • Get the count of Ceph PG's per OSD

    calendar Nov 29, 2017 · 1 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    1ceph pg dump | awk ' 2BEGIN { IGNORECASE = 1 } 3/^PG_STAT/ { col=1; while($col!="UP") {col++}; col++ } 4/^[0-9a-f]+\\.[0-9a-f]+/ { match($0,/^[0-9a-f]+/); pool=substr($0, RSTART, RLENGTH); poollist[pool]=0; 5up=$col; i=0; RSTART=0; RLENGTH=0; delete osds; while(match(up,/[0-9]+/)>0) { …


    Read More
  • Find slow Ceph OSD's

    calendar Jul 23, 2017 · 1 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    Find the OSD in the cluster that's bringing the whole party down. 1grep 'slow request' /var/log/ceph/ceph.log | awk '{print $3}' | sort | uniq -c | sort -n


    Read More
  • IO's blocked when bringing new Ceph node online

    calendar Jul 23, 2017 · 1 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    Just a reminder folks, when you bring online a new Ceph node with a bunch of new(Or existing) OSD's you might see it blocking IO's for some reason. This might show as "Requests are blocked > 32 sec" or simply as the VM's accessing the cluster are stalling and or reporting their own IO issues. FIREWALL!! …


    Read More
  • How to enable Ceph RBD mirroring

    calendar Jun 25, 2017 · 3 min read · CEPH RBD  ·
    Share on: twitter facebook linkedin copy

    Lots of talk but not a lot of info online. This worked for me I'm enabling replication t pool level here. Not only images that have the 'journaling' feature enabled will be mirrored irrespective of the state of your pool. So to clarify, you need to enable replication on the pool AND enable the journaling feature on the …


    Read More
  • Ceph RBD mirroring

    calendar Jan 4, 2017 · 1 min read · CEPH RBD  ·
    Share on: twitter facebook linkedin copy

    Check replication See how much journal data is yet to be replicated, where 'sas' is the pool containing the journal data 1rados ls -p sas | grep journal | wc -l Enable mirroring for an image Step 1 - Enable journaling feature for the image(You can place the journal data on a separate pool) 1rbd feature enable …


    Read More
  • Working with Ceph from qemu-img

    calendar Dec 14, 2016 · 1 min read · CEPH QEMU  ·
    Share on: twitter facebook linkedin copy

    1qemu-img info -f rbd rbd:volumes/CW-ICE-Linux1.raw:conf=/etc/ceph/adleast.conf 1qemu-img convert -f vhdx -O raw server.vhdx rbd:volumes/TS11.raw:conf=/etc/ceph/adleast.conf 1qemu-img resize -f rbd "rbd:rbd/myrbd" 600G http://cephnotes.ksperis.com/blog/2013/06/11/ceph-rbd-online-resize


    Read More
  • Get current Ceph parameters

    calendar Oct 27, 2016 · 1 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    1ceph -n osd.10 --show-config --cluster=adleast Something like this might be useful 1ceph -n osd.10 --show-config --cluster=adleast | grep backfillđ See here for an awesome cheatsheet


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

Cory Hawkvelt photo

Cory Hawkvelt

CTO @ Nexgen Cloud | Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • Deploying pam_ussh: A Comprehensive Guide
  • Unpacking the NVIDIA H100 Tensor Core GPU: A Deep Dive for CTOs
  • Caddy proxy for OpenStack API's
  • HP Server ACPI errors
  • vxlan: non-ECT from 10.254.8.23 with TOS=0x2
  • Install Ceph by hand Ubuntu 22.04
  • Gnocchi Convert Temperature F to C
  • Install HP SSACLI HPACUCLI tool on Ubuntu 20.04

Tags

LINUX 32 CEPH 24 BASH 22 OPENSTACK 13 NETWORKING 10 DOCKER 8 CONFIG 6 HP 5 HPACUCLI 5 OPENSTACK-QUEENS 5 QEMU 5 SSH 5 TROUBLESHOOTING 5 CENTOS7 4
All Tags
ACTIVE-BACKUP1 ADB1 AI1 ANDROID1 ANSIBLE2 APT1 AUTODISCOVER1 BACKUP1 BASH22 BIND1 BLUETOOTH1 CACHE1 CADDY1 CAS1 CENTOS74 CEPH24 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER8 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 FTOS1 GIT1 GNOCCHI3 GO1 GPU1 H1001 HAPROXY2 HARDWARE2 HORIZON1 HP5 HP-ILO1 HPACUCLI5 HPC1 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 IPTABLES1 IPV61 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX32 LOGO1 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING10 NEUTRON1 NOVA1 NOVNC1 NPS1 NVIDIA2 OPENNEBULA1 OPENSTACK13 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PAM1 PCI1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RABBITMQ1 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SECURITY1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH5 SSL1 SVG1 SWAP1 SYSCOMMANDS1 TCP1 TCP-DUMP1 TCPDUMP1 TROUBLESHOOTING5 UBUNTU4 UBUNTU-182 UBUNTU-201 UBUNTU-GNOME1 UBUNTU171 UEFI1 VAGRANT2 VIRTUAL-NETWORK1 VIRTUALISATION1 VLAN1 VM2 VPN1 VXLAN2 WINDOWS2 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL2
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top