Skip to content

007vasy/pym-disk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Continuous integration

pym-disk

Rust based ebs volume autoscaling tool for AWS with striping

TODOS

* speed test with s3bfg
* input checking, everything is higher than 0, min < max, stripe % 2 == 0, min * 2^x == max? x>=1
* device naming conventions
* add correctly parsed volume types
* add correctly parsed fs types
* add correctly parsed disk paths
* add parse config from environment variables (AWS region, etc)
* add parse config from file
* add logging to file
* poll is > speed of adding new drives
* add end-to-end demo to examples?
* tests, long due
* add deploy binary description
* add contributions (fork + PR)
* add fibonacci growing strat next to doubling
* change every command line invocation to Rust code

Steps to do striped autoscaling manually

Initialisation

yum update -y yum install -y btrfs-progs xfsprogs e4fsprogs lvm2

Setup

vgcreate vg /dev/sdb /dev/sdc lvcreate -n stripe -l +100%FREE -i 2 vg mkdir /stratch mkfs.ext4 /dev/vg/stripe mount /dev/vg/stripe /stratch

Extension

vgextend vg /dev/sdd /dev/sde lvextend vg/stripe -l +100%FREE --resizefs