Dimtar Posted September 8, 2014 Share Posted September 8, 2014 Hi all. Just tried to create a new docker and it says I am out of space which is weird because I currenty have 2 dockers and an 100G image. How do I check how much space I have left? root@localhost:# /usr/bin/docker run -d --name="MediaBrowser" --net="host" -v "/mnt/user/dockerdata/mediabrowser/":"/MBServer/ProgramData-Server":rw -v "/mnt/user/":"/mnt/user":rw -v "/etc/localtime":"/etc/localtime":ro mediabrowser/mbserver Unable to find image 'mediabrowser/mbserver' locally Pulling repository mediabrowser/mbserver 2014/09/09 00:55:33 Error pulling image (latest) from mediabrowser/mbserver, write /var/lib/docker/btrfs/subvolumes/1289502d20ceee81ebc90e4657279bbf3a19406915bff44045b0b0e2665cc1fa/usr/lib/mono/4.0/mscorlib.dll: no space left on device The command failed. Link to comment
jonp Posted September 8, 2014 Share Posted September 8, 2014 At the top of the docker page, look for "Docker Volume Info" Link to comment
Dimtar Posted September 8, 2014 Author Share Posted September 8, 2014 Service Status: Started Docker image: /mnt/cache/docker.img Docker volume info: Label: none uuid: 03fe3645-41cb-401e-8314-8c84b7d175ce Total devices 1 FS bytes used 98.15GiB devid 1 size 100.00GiB used 100.00GiB path /dev/loop8 Btrfs v3.14.2 How the hell have I used 100GB with two dockers? Anyway, how do I increase the size? Link to comment
Dimtar Posted September 9, 2014 Author Share Posted September 9, 2014 97.24GiB Thats how much is used with all dockers removed.... Going to click the scrub button and see if that does anything? Scrub complete, I now have 96GB free. Wtf? btrfs scrub start /var/lib/docker -B -R -d -r 2>&1 scrub device /dev/loop8 (id 1) done scrub started at Tue Sep 9 11:46:44 2014 and finished after 751 seconds data_extents_scrubbed: 1581790 tree_extents_scrubbed: 13066 data_bytes_scrubbed: 103355146240 tree_bytes_scrubbed: 214073344 read_errors: 0 csum_errors: 0 verify_errors: 0 no_csum: 6320 csum_discards: 5569 super_errors: 0 malloc_errors: 0 uncorrectable_errors: 0 unverified_errors: 0 corrected_errors: 0 last_physical: 107374182400 Link to comment
Dimtar Posted September 9, 2014 Author Share Posted September 9, 2014 Ok, I gave up. I stopped docker, renamed docker.img to docker.img.old and started again with a new docker. Now running 3 dockers without issue and about 2GB space used. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.