Skip to content
Prabhjot-jatt edited this page Jan 6, 2020 · 2 revisions

Welcome to the exadata-KVM wiki!

KVM doesn't use OCFS2 as it uses XFS filesystem type for /EXAVMIMAGES directory or mount point

Reflinks are compatible with OCFS2

example xfsdump -l 0 -f /backup-files/boot.xfsdump /boot

xfsdump -l 0 -f /EXAVMIMAGES/Backup/EXAVMIMAGES/GuestImages/lgdtm1-vm1.apac.linkgroup.corp/System.img /EXAVMIMAGES/GuestImages/lgdtm1-vm1.apac.linkgroup.corp/System.img This command will be used at the backend

Actual command relinkStartTime=$(date +%s) find /EXAVMIMAGES/GuestImages/${userDomainName} -type f|awk '{print "xfsdump -l 0 -f", $0,"/EXAVMIMAGES/Backup"$0}'|sh << this command still needs modification because we will use level 0, try this i hope it works relinkEndTime=$(date +%s) reflinkTime=$(expr ${relinkEndTime} - ${relinkStartTime}) echo "Reflink creation time for guest - ${userDomainName} :" ${reflinkTime}" seconds"

https://docs.oracle.com/en/operating-systems/oracle-linux/7/admin/ol7-admin-xfs.html

Clone this wiki locally