Skip to content

gilfreund/ec2lvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A Script to mount EC2 ephemeral storage instance as an LVM volume, optionally adding and EBS if the needed storage is not sufficient.

This can potentially mix Ephemeral and EBS devices, so performance will be at storage instance level, and will not survive shutdown / reboots.

There are several assumptions in the code:

  • I don't trust the data from meta-data/block-device-mapping, so I search for actual devices.
  • All devices, apart from the boot device can be used.
  • I am assuming boot device name by OS

I am using LVM and xfs.

About

Create an LVM from instance storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages