Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Logical Volume (LV) as Target #41

Open
globalcitizen opened this issue Feb 2, 2013 · 2 comments
Open

Support Logical Volume (LV) as Target #41

globalcitizen opened this issue Feb 2, 2013 · 2 comments
Labels

Comments

@globalcitizen
Copy link
Owner

Rough thinking at present is:

  • Best to leave LV creation out of scope (VG validation, size specification, availability checking, filesystem selection and create-time filesystem options, etc.)
  • LV is mounted temporarily if required (normal mount is expected to correctly detect the filesystem type)
  • Root filesystem cache is copied there instead of the subdir
@EvaSDK
Copy link

EvaSDK commented Feb 3, 2013

You most likely want to handle brtfs volumes as well for btrfs aficionados :)
If you are a zfs fan, this is mostly something to handle as well and should be similarly done.
Last but not least, one thing that current lxc-create does not handle is lvm thin volume or whatever is the feature again to create a minimal image to bootstrap your new volume with copy-on-write internally which should speed things up a fair bit.

@globalcitizen
Copy link
Owner Author

OK, so...

  • Arbitrary filesystem support is desirable.
  • I can see autodetection of installed filesystems with /proc/filesystems ...
  • I worry that some of them and advanced users will require create-time options that will cause the naive approach of mkfs.${FILESYSTEM} /dev/target to fail
  • Thinking of creating mkfs.${FILESYSTEM} as a default command line, prompting the user to confirm (ie. they can add custom options, have a script handle free space calculations, quotas, advanced creation logic, etc.)
  • Any recommended defaults that differ from mkfs.${FILESYSTEM} could be rolled in to lxc-gentoo for filesystems on which that is always a bad idea

Snapshot and thin provisioning support segmented to issue #42.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants