[vpsFree.cz: community-list] Vagrant libvirt - malý prostor na hdd

Petr Parolek petr.parolek at gmail.com
Sun Nov 5 18:17:11 CET 2017


Bezva, po restartu vituálu už běží docker. Díky za pomoc.

2017-11-05 18:09 GMT+01:00 Petr Parolek <petr.parolek at gmail.com>:

> V fstab mám
>
> /dev/vdb1 on /var/lib/docker type ext4 (rw,relatime,data=ordered)
>
> Ale docker se nechce spustit:
>
> Nov 05 17:04:20 stretch systemd[1]: Starting Docker Application Container
> Engine...
> -- Subject: Unit docker.service has begun start-up
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support
> --
> -- Unit docker.service has begun starting up.
> Nov 05 17:04:20 stretch dockerd[3034]: time="2017-11-05T17:04:20.345499771Z"
> level=info msg="libcontainerd: new containerd process, pid: 3043"
> Nov 05 17:04:21 stretch dockerd[3034]: Error starting daemon: couldn't
> create plugin manager: error setting plugin manager root to private:
> invalid argument
> Nov 05 17:04:21 stretch systemd[1]: docker.service: Main process exited,
> code=exited, status=1/FAILURE
> Nov 05 17:04:21 stretch systemd[1]: Failed to start Docker Application
> Container Engine.
> -- Subject: Unit docker.service has failed
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support
> --
> -- Unit docker.service has failed.
> --
> -- The result is failed.
> Nov 05 17:04:21 stretch systemd[1]: docker.service: Unit entered failed
> state.
> Nov 05 17:04:21 stretch systemd[1]: docker.service: Failed with result
> 'exit-code'.
> Nov 05 17:04:21 stretch systemd[1]: docker.service: Service hold-off time
> over, scheduling restart.
> Nov 05 17:04:21 stretch systemd[1]: Stopped Docker Application Container
> Engine.
> -- Subject: Unit docker.service has finished shutting down
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support
> --
> -- Unit docker.service has finished shutting down.
> Nov 05 17:04:21 stretch systemd[1]: Closed Docker Socket for the API.
> -- Subject: Unit docker.socket has finished shutting down
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support
> --
> -- Unit docker.socket has finished shutting down.
> Nov 05 17:04:21 stretch systemd[1]: Stopping Docker Socket for the API.
> -- Subject: Unit docker.socket has begun shutting down
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support
> --
> -- Unit docker.socket has begun shutting down.
> Nov 05 17:04:21 stretch systemd[1]: Starting Docker Socket for the API.
> -- Subject: Unit docker.socket has begun start-up
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support
> --
> -- Unit docker.socket has begun starting up.
> Nov 05 17:04:21 stretch systemd[1]: Listening on Docker Socket for the API.
> -- Subject: Unit docker.socket has finished start-up
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support
> --
> -- Unit docker.socket has finished starting up.
> --
> -- The start-up result is done.
> Nov 05 17:04:21 stretch systemd[1]: docker.service: Start request repeated
> too quickly.
> Nov 05 17:04:21 stretch systemd[1]: Failed to start Docker Application
> Container Engine.
> -- Subject: Unit docker.service has failed
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support
> --
> -- Unit docker.service has failed.
> --
> -- The result is failed.
> Nov 05 17:04:21 stretch systemd[1]: docker.socket: Unit entered failed
> state.
> Nov 05 17:04:21 stretch systemd[1]: docker.service: Unit entered failed
> state.
> Nov 05 17:04:21 stretch systemd[1]: docker.service: Failed with result
> 'exit-code'.
>
>
> 2017-11-05 17:28 GMT+01:00 vudiq <vudiq at vps.vudiq.sk>:
>
>> Ahoj Petre,
>>
>> Mas namountovane /dev/vda1 ako /, ale podla parted ten 40 GB device
>> je /dev/vdb.
>>
>> df -h:
>> /dev/vda1       9.2G  5.1G  3.7G  59% /
>>        ^
>>
>> parted:
>> *Disk /dev/vdb: 42.9GB*Sector size (logical/physical): 512B/512B
>>              ^
>> Disk /dev/vda: 10.7GB
>>             ^
>>
>> Tomáš
>>
>>
>>
>>
>> On Sun, Nov 05, 2017 at 05:22:49PM +0100, Petr Parolek wrote:
>> > Ne, řeším, proč mám jen přes 9GB prostoru a ne 40GB
>> >
>> > Dne 5. listopadu 2017 17:20 Matěj Koudelka <matej at hxpro.cz> napsal(a):
>> >
>> > > Tak teď už zas nechápu, řešíš rozdíl mezi 42949672960 a 42.9GB ?
>> > >
>> > > Dne 5. listopadu 2017 17:13 Petr Parolek <petr.parolek at gmail.com>
>> > > napsal(a):
>> > >
>> > > vagrant at stretch:~$ sudo parted -l
>> > >> Error: /dev/vdb: unrecognised disk label
>> > >> Model: Virtio Block Device (virtblk)
>> > >>
>> > >> *Disk /dev/vdb: 42.9GB*Sector size (logical/physical): 512B/512B
>> > >> Partition Table: unknown
>> > >> Disk Flags:
>> > >>
>> > >> Model: Virtio Block Device (virtblk)
>> > >> Disk /dev/vda: 10.7GB
>> > >> Sector size (logical/physical): 512B/512B
>> > >> Partition Table: msdos
>> > >> Disk Flags:
>> > >>
>> > >> Number  Start   End     Size    Type     File system  Flags
>> > >>  1      1049kB  9999MB  9998MB  primary  ext4         boot
>> > >>
>> > >>
>> > >> Ale zvenku mi ukazuje openVZ 40 GB.
>> > >>
>> > >> root at png:~/vagrant# ls -l /var/lib/libvirt/images/vagrant_server.img
>> > >> -rw------- 1 libvirt-qemu libvirt-qemu 9395044352 Nov  5 16:12
>> > >> /var/lib/libvirt/images/vagrant_server.img
>> > >> root at png:~/vagrant# ls -l /var/lib/libvirt/images/vagran
>> t_server-vdb.raw
>> > >> -rwxr--r-- 1 libvirt-qemu libvirt-qemu *42949672960* Oct 25 11:50
>> > >> /var/lib/libvirt/images/vagrant_server-vdb.raw
>> > >>
>> > >> Dne 5. listopadu 2017 17:06 Matěj Koudelka <matej at hxpro.cz>
>> napsal(a):
>> > >>
>> > >> Jasné chápu.. no on se asi vytvoří, ale ty si ho nikam nenamontuješ,
>> tak
>> > >>> nemůžeš vidět jeho velikost. Zkus: parted -l
>> > >>>
>> > >>> Dne 5. listopadu 2017 17:04 Petr Parolek <petr.parolek at gmail.com>
>> > >>> napsal(a):
>> > >>>
>> > >>> Ve vnitř se nevytvořil disk podle vagrantfile.
>> > >>>>
>> > >>>> vagrant at stretch:~$ df -h
>> > >>>> Filesystem      Size  Used Avail Use% Mounted on
>> > >>>> udev            1.8G     0  1.8G   0% /dev
>> > >>>> tmpfs           352M   14M  338M   4% /run
>> > >>>> /dev/vda1       9.2G  5.1G  3.7G  59% /
>> > >>>> tmpfs           1.8G     0  1.8G   0% /dev/shm
>> > >>>> tmpfs           5.0M     0  5.0M   0% /run/lock
>> > >>>> tmpfs           1.8G     0  1.8G   0% /sys/fs/cgroup
>> > >>>> tmpfs           352M     0  352M   0% /run/user/1000
>> > >>>>
>> > >>>>
>> > >>>> Dne 5. listopadu 2017 16:59 Matěj Koudelka <matej at hxpro.cz>
>> napsal(a):
>> > >>>>
>> > >>>>>
>> > >>>>>> Petr Parolek:
>> > >>>>>>
>> > >>>>>> Disk má při vytvoření virtuálu stále má velikost přes 9GB.
>> Přitom mám
>> > >>>>>> ve Vagrantfile mám nastaveno mnohem vícr
>> > >>>>>>
>> > >>>>>>
>> > >>>>> Disk, jako že když vlezeš do toho virtuálu tak se tváří že má 9GB,
>> > >>>>> nebo soubor toho image zabírá na disku 9GB?
>> > >>>>>
>> > >>>>>
>> > >>>>> --
>> > >>>>> *Matěj Koudelka*
>> > >>>>> +420 604 266 933 <604%20266%20933>
>> > >>>>>
>> > >>>>> _______________________________________________
>> > >>>>> Community-list mailing list
>> > >>>>> Community-list at lists.vpsfree.cz
>> > >>>>> http://lists.vpsfree.cz/listinfo/community-list
>> > >>>>>
>> > >>>>>
>> > >>>>
>> > >>>> _______________________________________________
>> > >>>> Community-list mailing list
>> > >>>> Community-list at lists.vpsfree.cz
>> > >>>> http://lists.vpsfree.cz/listinfo/community-list
>> > >>>>
>> > >>>>
>> > >>>
>> > >>>
>> > >>> --
>> > >>> *Matěj Koudelka*
>> > >>> +420 604 266 933 <604%20266%20933>
>> > >>>
>> > >>> _______________________________________________
>> > >>> Community-list mailing list
>> > >>> Community-list at lists.vpsfree.cz
>> > >>> http://lists.vpsfree.cz/listinfo/community-list
>> > >>>
>> > >>>
>> > >>
>> > >> _______________________________________________
>> > >> Community-list mailing list
>> > >> Community-list at lists.vpsfree.cz
>> > >> http://lists.vpsfree.cz/listinfo/community-list
>> > >>
>> > >>
>> > >
>> > >
>> > > --
>> > > *Matěj Koudelka*
>> > > +420 604 266 933 <604%20266%20933>
>> > >
>> > > _______________________________________________
>> > > Community-list mailing list
>> > > Community-list at lists.vpsfree.cz
>> > > http://lists.vpsfree.cz/listinfo/community-list
>> > >
>> > >
>>
>> > _______________________________________________
>> > Community-list mailing list
>> > Community-list at lists.vpsfree.cz
>> > http://lists.vpsfree.cz/listinfo/community-list
>>
>>
>> --
>> vudiq at vps.vudiq.sk
>> Hosted at: vpsfree.cz
>> _______________________________________________
>> Community-list mailing list
>> Community-list at lists.vpsfree.cz
>> http://lists.vpsfree.cz/listinfo/community-list
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vpsfree.cz/pipermail/community-list/attachments/20171105/05f7aa1a/attachment-0002.html>


More information about the Community-list mailing list