Skip to content

monder/mount-ebs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mount-ebs

GitHub tag Build Status

A helper utility initially created for rkt to mount EBS volumes.

usage

Mount volume by name:

$ MOUNTPOINT=`mount-ebs vol-89f4dc0e`
$ echo $MOUNTPOINT

Unmount volume:

$ mount-ebs -u vol-89f4dc0e

behavior

Mount command will try to attach and mount volume. If the volume is already attached, tt will mount it. It tries to attach to the first available device /dev/sd[f-p] and will keep retrying until it succeeds or there will be no valid device names left on the host.

Unmount will try to unmount and detach volume. If the mountpoint is in use, the operation is a noop. It is useful for situations when multiple resources want to use the same volume.

About

A helper utility to mount EBS volumes

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages