Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

0.5.4 release doesn't mount a persistent partition for images #19

Closed
fnichol opened this issue Feb 12, 2014 · 5 comments
Closed

0.5.4 release doesn't mount a persistent partition for images #19

fnichol opened this issue Feb 12, 2014 · 5 comments

Comments

@fnichol
Copy link
Collaborator

fnichol commented Feb 12, 2014

Looks like rootfs is being run off the RAM disk which is where docker images are being written to. So a 512MB VM gives you a rootfs of ~512MB.

Too tired to follow through on this, but I will try to be more helpful in the morning checking upstream in boot2docker.

@lhoBas
Copy link

lhoBas commented Feb 12, 2014

Noticed that a /dev/sda1 disk is being shown (plain 0.5.4 release init & up, VMware Fusion). Do not see any references to it in the Vagrant template, but there is an additional disk hooked up to the VM. Not mounted or recognized by the automount rc script.

Not entirely clear to me whether this disk is generated upstream by boot2docker (as in: copied from iso), or generated by the script in this repo. Does the vmdisk get copied while repacking the iso?

@drnic
Copy link

drnic commented Feb 13, 2014

And here's a picture:

$ df
Filesystem                Size      Used Available Use% Mounted on
rootfs                  446.0M    320.8M    125.2M  72% /
tmpfs                   247.8M     12.0K    247.8M   0% /dev/shm
none                    446.0M    320.8M    125.2M  72% /var/lib/docker/aufs/mnt/536488468dd283b53ca54bc25949f37aca1f812964cfc792b01ee89161a23394

@lmars
Copy link
Contributor

lmars commented Feb 13, 2014

@fnichol I've just opened a PR to fix this: #21

@mitchellh
Copy link
Owner

Fixed!

@fnichol
Copy link
Collaborator Author

fnichol commented Feb 13, 2014

Nice work team!

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

No branches or pull requests

5 participants