New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vagrant-extended-storage

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vagrant-extended-storage

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Vagrant::Extended-storage

A Vagrant plugin that extends the root storage by attaching a second volume and using lvmextend.

Requires lvm partitions.

Installation

$ vagrant plugin install vagrant-extended-storage

Usage

After installing you can set the location and size of the extended storage.

The following options will create a extend storage with 5000 MB, named mysql, mounted on /var/lib/mysql, in a volume group called 'vagrant'

config.extended_storage.enabled = true
config.extended_storage.location = "~/development/sourcehdd.vdi"
config.extended_storage.size = 5000
config.extended_storage.filesystem = 'ext4'
config.extended_storage.volgroupname = 'vg_os'

With config.extended_storage.mountoptions you can change the mount options (default: defaults).
A example which sets prjquota option with xfs.

config.extended_storage.mountname    = 'root'

Device defaults to /dev/sdb. For boxes with multiple disks, make sure you increment the drive:

config.extended_storage.diskdevice = '/dev/sdc'

Every vagrant up will attach this file as hard disk to the guest machine. An vagrant destroy will detach the storage to avoid deletion of the storage by vagrant. A vagrant destroy generally destroys all attached drives. See VBoxMange unregistervm --delete option.

The disk is initialized and added to the volume group specfied in the config;

Windows Guests

NOT TESTED or SUPPORTED. Get a Mac/Linux ffs.

Troubleshooting

If your box are not using LVM you must set config.extended_storage.use_lvm = false. (currently we only support LVM)

Supported Providers

  • Only the VirtualBox provider is supported.

Contributors

TODO

  • There's Always Something to Do
  • Add more options (controller, port, etc.)

FAQs

Package last updated on 17 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc