open-menu closeme
Home
Archives
Links icon
LinkedIn Twitter
About
English
github linkedin
  • Ceph disk not online after a reboot

    calendar Feb 11, 2016 · 7 min read · BASH CEPH VM  ·
    Share on: twitter facebook linkedin copy

    After a reboot of my Ceph test VM's a few OSD's didnt come online. When running ceph osd tree I saw: 1[root@lib-cephosd1 ~]# ceph osd tree 2ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY 3 -1 0.29984 root default 4 -2 0.09995 host lib-cephosd1 5 1 0.00999 osd.1 up 1.00000 1.00000 6 0 0.00999 osd.0 up 1.00000 …


    Read More
  • Converting a Generation 2 HyperV VM to boot in KVM\Openstack

    calendar Dec 14, 2015 · 1 min read · hyper-v qemu kvm  ·
    Share on: twitter facebook linkedin copy

    Brining a HyperV Gen2 VM into Openstack Convert the vhdx to raw and into ceph qemu-img convert -f vpc -O raw AC-TS01-C.VHD rbd:volumes/AC-TS01.raw Attach the old(Existing) disk and the new blank disk to a linux box Install clonezilla from apt On the new disk create a new partition(This will be an MBR partition not a …


    Read More
  • HP Bl460C G6 Centos7 RAID tool

    calendar Dec 14, 2015 · 1 min read · raid bash hardware  ·
    Share on: twitter facebook linkedin copy

    HP Bl460C G6 Centos7 RAID tool Works on my HP G6 servers with this in lspci 0c:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01) wget http://mirror.nforce.com/pub/software/raidtools/hpacucli-tool/hpacucli-9.40-12.0.x86_64.rpm yum install hpacucli-9.40-12.0.x86_64.rpm hpacucli ctrl …


    Read More
  • MySQL dump over SSH to a remote host

    calendar Dec 14, 2015 · 1 min read · mysql bash ssh  ·
    Share on: twitter facebook linkedin copy

    Original Article - http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/ If you want to take a SQL dump from some host, compress it and send it across SSH to another host then this is the command you are chasing mysqldump -u MYSQL_USERNAME -p YOUR_DATABASE | gzip -c | ssh USERNAME@YOUR_TO_HOST 'cat > …


    Read More
  • Cinder - Resize root volume

    calendar Nov 11, 2015 · 2 min read · cinder openstack  ·
    Share on: twitter facebook linkedin copy

    Some code To resize the root volume of an instance can be tricky, this worked for me Note some commands, particularly "cinder reset-state" returned a HTTP 403, i had to run those as admin 1[root@vm-os-ks01 ~]# source admin.rc 2[root@vm-os-ks01 ~]# cinder reset-state --state available …


    Read More
  • Add suer to docker group

    calendar Jan 1, 0001 · 1 min read · linux bash  ·
    Share on: twitter facebook linkedin copy

    It feel like every time I run docker ps I get blah blah blah, permission denied The simple oneliner fix.. And the bonus, you dont even need to log out :) sudo usermod -G docker -a $USER && newgrp docker


    Read More
  • Notes on exporting and importing individual PG's to OSD's

    calendar Jan 1, 0001 · 1 min read · ceph  ·
    Share on: twitter facebook linkedin copy

    ceph-objectstore-tool --data-path /var/lib/ceph/osd/ceph-275/ --pgid 13.480 --op list | wc -l ceph-objectstore-tool --data-path /var/lib/ceph/osd/ceph-263/ --pgid 13.480 --op export --file ~/pg-13.480-ss5-osd263.old ceph-objectstore-tool --data-path /var/lib/ceph/osd/ceph-263/ --type bluestore --pgid 13.480 --op import …


    Read More
  • Thoughts and notus for using swap space

    calendar Jan 1, 0001 · 2 min read · linux swap  ·
    Share on: twitter facebook linkedin copy

    Whats using swap space for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | less Who is eating all of my RAM? ps aux --sort=-%mem | head Where are my swap files cat /proc/swaps How to add more swap space 1. Create empty file: This file will contain virtual …


    Read More
    • ««
    • «
    • 9
    • 10
    • 11
    • 12
    • 13
    • »
    • »»

Cory Hawkvelt photo

Cory Hawkvelt

Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • RabbitMQ in HA
  • MemcacheD connection limits inside Docker
  • Use grep to view a file without comments
  • Use grep to view a file without comments
  • Scrub all local disks
  • Use grep to view a file without comments
  • tcpdump HTTP traffic
  • List all local linux disks

Tags

LINUX 31 CEPH 22 BASH 19 OPENSTACK 11 NETWORKING 10 DOCKER 7 CONFIG 6 OPENSTACK-QUEENS 5 QEMU 5 TROUBLESHOOTING 5 CENTOS7 4 MYSQL 4 SSH 4 UBUNTU 4
All Tags
ACTIVE-BACKUP1 ADB1 ANDROID1 ANSIBLE2 APT1 AUTODISCOVER1 BACKUP1 BASH19 BIND1 BLUETOOTH1 CAS1 CENTOS74 CEPH22 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER7 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 GIT1 GNOCCHI2 HAPROXY2 HARDWARE2 HORIZON1 HP2 HP-ILO1 HPACUCLI3 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 IPTABLES1 IPV61 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX31 LOGO1 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING10 NEUTRON1 NOVA1 NOVNC1 NPS1 OPENNEBULA1 OPENSTACK11 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RABBITMQ1 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH4 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 VXLAN1 WINDOWS2 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL1
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top