OpenVZ Forum


Home » General » Support » hds vs hdd (difference between .hdd and .hds)
hds vs hdd [message #53377] Sat, 30 June 2018 11:43 Go to next message
iblinder is currently offline  iblinder
Messages: 6
Registered: June 2018
Junior Member
From: *pool.ukrtel.net
Hello.

OpenVZ 7 by default uses .hds extension for ploop images.
What is the difference between .hdd and .hds formats?
If there is a difference between these formats, how can i convert hdd to hds with maximum speed?

Thank you.
Re: hds vs hdd [message #53380 is a reply to message #53377] Sun, 01 July 2018 21:15 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 682
Registered: September 2005
Senior Member
From: *virtuozzo.com
Dear iblinder,
could you please clarify your question?

On my test node root.hdd is directory that contains root.hds ploop image file

# ls /vz/private/101/root.hdd/
DiskDescriptor.xml DiskDescriptor.xml.lck root.hds templates
[root@tom ~]# ls /vz/private/102/root.hdd/

In fact ploop image file have 2 versions, first version had some limitation, and was replaced by 2nd one many years ago,
but IIRC both version of image file had the same name suffix.

Also you can take a look at sources for details
https://src.openvz.org/projects/OVZ/repos/ploop/browse/inclu de/ploop1_image.h

Thank you,
Vasily Averin
Re: hds vs hdd [message #53381 is a reply to message #53380] Sun, 01 July 2018 23:18 Go to previous messageGo to next message
iblinder is currently offline  iblinder
Messages: 6
Registered: June 2018
Junior Member
From: *broadband.kyivstar.net
Dear vaverin,

thank you for you reply.

OpenVZ 6 by default creates /vz/private/101/root.hdd/root.hdd file, in OpenVZ 7 is it /vz/private/101/root.hdd/root.hds
Using hds in OpenVZ 7 instead of hdd in OpenVZ 6, is it only renaming file?
Re: hds vs hdd [message #53382 is a reply to message #53381] Mon, 02 July 2018 08:10 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 682
Registered: September 2005
Senior Member
From: *virtuozzo.com
Dear iblinder,
According to our developers .hds files was used in all released version of virtuozzo from very beginning.
.hdd file name was used in first commits only,
and obviously this version was forked for legacy OpenVZ and was then was not updated.

Nowadays OpenVz7 uses the same sources as Vz7, so both products now uses .hfs files.
It isn't new format, it just rename.

Thank you,
Vasily Averin
Re: hds vs hdd [message #53384 is a reply to message #53382] Mon, 02 July 2018 15:57 Go to previous messageGo to next message
iblinder is currently offline  iblinder
Messages: 6
Registered: June 2018
Junior Member
From: *broadband.kyivstar.net
Dear Vasily,

Thank you very much.
Re: hds vs hdd [message #53458 is a reply to message #53377] Wed, 10 October 2018 12:50 Go to previous messageGo to next message
NoelRad is currently offline  NoelRad
Messages: 1
Registered: October 2018
Junior Member
From: 185.217.117*
Hi Vasily, if it's just a rename, does this mean the files are interchangeable?
Re: hds vs hdd [message #53459 is a reply to message #53458] Fri, 12 October 2018 09:53 Go to previous message
iblinder is currently offline  iblinder
Messages: 6
Registered: June 2018
Junior Member
From: *pool.ukrtel.net
Hi NoelRad,

Yes. These files have same format. There is no difference, just a different filename.
Previous Topic: Active SSH Session to Container is Lost when Suspend/Resume Container
Next Topic: prlctl migrate - network bandwidth
Goto Forum:
  


Current Time: Mon Dec 10 06:05:05 GMT 2018