OpenVZ Forum


Home » General » Support » OpenVZ 7 and compact HDD?
OpenVZ 7 and compact HDD? [message #52884] Mon, 03 July 2017 09:42
ccto is currently offline  ccto
Messages: 40
Registered: October 2005
Member
From: 180.92.180*
Hello all,

In OpenVZ 7, for better performance and storage,
could I regularly - vzctl compact <VEID> (like OpenVZ 6 one)?

I tried to follow https://kb.plesk.com/en/120949 , however, it seems looping infinitely.

I created a testing VE 600 with CentOS 6 template.

[root@xxxx scripts]# prl_disk_tool compact -v --hdd /vz/private/600/root.hdd/
/usr/sbin/ploop balloon discard --automount --defrag /vz/private/600/root.hdd/DiskDescriptor.xml
Start defrag dev=/dev/ploop36137p1 mnt=/vz/root/600 blocksize=2048
pass4 group:0 Relocated inodes:0, local:0 extents: 0, blocks 0
pass4 group:1 Relocated inodes:0, local:0 extents: 0, blocks 0
pass4 group:16 Relocated inodes:0, local:0 extents: 0, blocks 0
pass4 group:48 Relocated inodes:18, local:0 extents: 0, blocks 45
pass4 group:49 Relocated inodes:0, local:0 extents: 0, blocks 0
pass4 group:64 Relocated inodes:21, local:0 extents: 0, blocks 83
pass4 group:80 Relocated inodes:0, local:0 extents: 0, blocks 0
Trying to find free extents bigger than 0 bytes
Waiting
Call FITRIM, for minlen=33554432
Starting relocation
Opening delta /vz/private/600/root.hdd/root.hds
TRUNCATED: 1 cluster-blocks (1048576 bytes)
Waiting
Call FITRIM, for minlen=16777216
Call FITRIM, for minlen=8388608
Starting relocation
Opening delta /vz/private/600/root.hdd/root.hds
TRUNCATED: 1 cluster-blocks (1048576 bytes)
Waiting
Call FITRIM, for minlen=4194304
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
...
...
...
...
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=2097152
^CCall FITRIM, for minlen=2097152
Cancelling...
Cancelling...
Nothing to complete: kernel is in "OFF" state
Nothing to complete: kernel is in "OFF" state
Call FITRIM, for minlen=2097152
Error in __ploop_discard (balloon.c:1011): Waiting for a discard request failed: Interrupted system call
Error in wait_pid (balloon.c:947): The trim process killed by signal 9
[root@xxxx scripts]#


Thank you for your kind attention.

Regards
George.

[Updated on: Mon, 03 July 2017 10:02]

Report message to a moderator

Previous Topic: vzctl can not start container in legacy kernel
Next Topic: OpenVZ 7 SSD Cache
Goto Forum:
  


Current Time: Tue Nov 21 21:15:35 GMT 2017