Pls tell me is it safe to execute "prl_disk_tool compact" on running CT?
Thank you!
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users
thank you!
but both of them did nothing.
actual size not changed:
*
# ls -l /vz/private/7713/root.hdd/root.hds ; du -sh
/vz/private/7713/root.hdd/root.hds
-rw--- 1 root root 40572551168 May 25 12:05
/vz/private/7713/root.hdd/root.hds
16G /vz/private/7713/root.hdd/root.hds
#
?
пн, 25 трав. 2020 о 13:00 Konstantin Bukharov пише:
> So what’s wrong?
>
> File consumes only 16G of disk space.
>
> OpenVZ7 uses sparse files for disk images.
>
>
>
> *From:* users-boun...@openvz.org *On Behalf Of
> *Oleksiy Tkachenko
> *Sent:* Monday, Ma
root.hds CTs file took more (much more) space that shown in df -H.
Is there way to reduce real size?
I tried to run "prl_disk_tool compact --hdd" but it seems not really helped
with that.
For example, one CT has 30Gigs in size but its root.hds tooks 150Gigs.
>> ...
>> Error in ploop_check (check.c:663): Dirty flag is set
>> ...
>> # ploop mount
/vz/private/144dc737-b4e3-4c03-852c-25a6df06cee4/root.hdd/DiskDescriptor.xml
>> Error in ploop_mount_image (ploop.c:2495): Image
/vz/private/144dc737-b4e3-4c03-852c-25a6df06cee4/root.hdd/root.hds already
used
ou basically sort of an unknown
> uid 0 entity.
>
> Jake
>
>
>
>
>
> On Thu, Jul 1, 2021 at 10:21 AM Oleksiy Tkachenko
> wrote:
>
>> but my bash_profile's were always executed before I run latest openVZ7
>> updates.
>> that's the point)
>>
As I've said each time I access container from hardware node my
bash_profile executed in the same way I ssh to that container.
Which stop to happens after I perform update 1-2 days ago.
Unfortunately, I update all servers at once and have no examples now.
However - is there any way to get what I
login session was never the case for me as well and this is
> _intentional_ and _expected_ behavior I wouldn't like to be changed.
> Quite strange it was a login shell for you somehow.
>
> On Fri, Jul 2, 2021 at 9:59 PM Oleksiy Tkachenko
> wrote:
> >
> > As I've said each time
I realize that bash_profile not executed automatically when "vzctl enter
CID" now.
How to execute it ?
Thank you!
--
Olexiy
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users
That's works fine.
But how to run that automatically during login?
чт, 1 лип. 2021 о 18:19 jjs - mainphrame пише:
> This works for me:
>
> su -
>
> Jake
>
> On Thu, Jul 1, 2021 at 8:03 AM Oleksiy Tkachenko
> wrote:
>
>> I realize that bash_profile not execute
;
> On Thu, Jul 1, 2021 at 9:55 AM Oleksiy Tkachenko
> wrote:
>
>> That's works fine.
>> But how to run that automatically during login?
>>
>> чт, 1 лип. 2021 о 18:19 jjs - mainphrame пише:
>>
>>> This works for me:
>>>
>>> su -
Just a follow up: latest update brought the .bash_profile execution back.
That's good)
пн, 5 лип. 2021 о 16:47 Oleksiy Tkachenko пише:
> Maybe it depends on OS?
> I always work with centOS only. 5-6-7 - always behavior was the same.
>
> However, I do not want to revert stng back o
Run "yum update & reboot" and now can't restart containers.
What to do ??
=
# vzctl restart
Restart the Container
Starting Container ...
Mount image: /vz/private//root.hdd
Container is mounted
Setting permissions for image=/vz/private//root.hdd
vcmmd: failed to
ain.isActive():
2022-03-06 22:14:41 CRITICAL vcmmd: File
"/usr/lib64/python3.6/site-packages/libvirt.py", line 1569, in isActive
2022-03-06 22:14:41 CRITICAL vcmmd: if ret == -1: raise libvirtError
('virDomainIsActive() failed', dom=self)
2022-03-06 22:14:41 CRITICAL vcmmd: libvi
Thank you!
During node preparation I need to update
"/etc/sysconfig/network-scripts/ifcfg-ethX" - but there is no such file.
I also need to put "eth0" in "/etc/sysconfig/network" file - is it actual
now (when I have no ethX file)?
I also need to "Add 'ipt_state' to IPTABLES and
he IPv6.
>
> On Thu, 15 Dec, 2022, 16:43 Oleksiy Tkachenko, wrote:
>
>> Thank you!
>> During node preparation I need to update
>> "/etc/sysconfig/network-scripts/ifcfg-ethX" - but there is no such file.
>> I also need to put "eth0" in "/
interface which lists as UP and with the IPv4 information
> etc should be the right one in my experience.
>
> But do back-up original configuration files on the system, before editing
> just incase something goes wrong you can just copy them back and restart
> networking.
>
>
&g
17 matches
Mail list logo