This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CephFS pool/layout migration tool ("transcoder") | |
# | |
# Loosely inspired by: | |
# https://git.sr.ht/~pjjw/cephfs-layout-tool/tree/master/item/cephfs_layout_tool/migrate_pools.py | |
# https://gist.github.com/ervwalter/5ff6632c930c27a1eb6b07c986d7439b | |
# | |
# MIT license (https://opensource.org/license/mit) | |
import os, stat, time, signal, shutil, logging, sys | |
from concurrent.futures import ThreadPoolExecutor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import fcntl | |
import os | |
import struct | |
import array | |
import sys | |
BLKGETSIZE=0x1260 | |
BLKGETSIZE64=0x80081272 | |
BLKSSZGET=0x1268 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO global: Vagrant version: 2.2.6 | |
INFO global: Ruby version: 2.6.5 | |
INFO global: RubyGems version: 3.0.3 | |
INFO global: VAGRANT_EXECUTABLE="/usr/share/vagrant/gems/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_PREFERRED_PROVIDERS="libvirt,docker" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/usr/share/vagrant" | |
INFO global: VAGRANT_DETECTED_OS="Linux" | |
INFO global: VAGRANT_DISABLE_VBOXSYMLINKCREATE="1" |