wavecomee commented on PR #13114:
URL: https://github.com/apache/cloudstack/pull/13114#issuecomment-4428500372

   Test from our test environment:
   
   2x XCP-ng 8.3 hosts
   SR connected via HBA
   Cloudstack management built from this branch for EL9 and tested on Rocky 
Linux 9.7.
   
   With the newly presented option enabled, it creates a full clone for disk as 
expected.
   ```
   [10:52 test-xen02 ~]# /bin/vhd-util query -n "$VHDPATH" -p
   
/dev/VG_XenStorage-c702dd6a-47ea-a07b-923b-1f3daed9c411/VHD-0d5e3db5-a530-4b74-aecf-8adbdf787a52
 has no parent
   [10:52 test-xen02 ~]# /bin/vhd-util read -n "$VHDPATH" -p | egrep -i 'Disk 
type|Parent name|Parent UUID|Hidden'
   Disk type           : Dynamic hard disk
   Hidden              : 0
   Parent name         :
   Parent UUID         : 00000000-0000-0000-0000-000000000000
   ```
   
   With full-clone option disabled (default), original linked-clone behavior is 
preserved as expected.
   ```
   [10:59 test-xen02 ~]# /bin/vhd-util query -n "$VHDPATH" -p
   
/dev/mapper/VG_XenStorage--475ae7e8--ed7e--4895--9baf--1fe14d5f5fca-VHD--754928c9--17ac--4c4c--82c5--cdd8bc1b3a92
   [10:59 test-xen02 ~]# /bin/vhd-util read -n "$VHDPATH" -p | egrep -i 'Disk 
type|Parent name|Parent UUID|Hidden'
   Disk type           : Differencing hard disk
   Hidden              : 0
   Parent name         : 
VG_XenStorage--475ae7e8--ed7e--4895--9baf--1fe14d5f5fca-VHD--754928c9--17ac--4c4c--82c5--cdd8bc1b3a92
   Parent UUID         : 4112b305-069e-4989-9d2c-eddbe6e06fec
   ```
   
   There is a deployment time difference observed between linked and non-linked 
clones, but that is to be expected from a full clone.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to