aviadra / Xen-pocalypse

Bash script to backup Citrix Xen VMs
http://www.howtogeek.com/131181/how-to-backup-citrix-xen-vms-for-free-with-xen-pocalypse-bash/
13 stars 4 forks source link

Free Space on BackupLocation #3

Open Patrick-Berg opened 9 years ago

Patrick-Berg commented 9 years ago

I tried to run your script and it told me it can't backup my VM onto my 320 GB harddrive because I have only 8 GB free space. So I checked the code for the line where the check takes place. df BackupLocation | grep BackupLocation | awk {print $3} gave me the used space on this harddrive not the free space. I checked my harddrive and I do use only 8GB there. $4 worked.

aviadra commented 9 years ago

Its kind of interesting... is that HD mounted directly on the Xen host, or through the network as explained in the guide? On 9 Sep 2015 16:38, "Patrick-Berg" notifications@github.com wrote:

I tried to run your script and it told me it can't backup my VM onto my 320 GB harddrive because I have only 8 GB free space. So I checked the code for the line where the check takes place. df BackupLocation | grep BackupLocation | awk {print $3} gave me the used space on this harddrive not the free space. I checked my harddrive and I do use only 8GB there. $4 worked.

— Reply to this email directly or view it on GitHub https://github.com/aviadra/Xen-pocalypse/issues/3.

Patrick-Berg commented 8 years ago

I mounted it as explained in the guide. When I run df on the UUID I get the following columns in this order: FileSystem, 1K-blocks, used, available, Use%, Mounted on

aviadra commented 8 years ago

What version of Xen are you using?

On Thu, 10 Sep 2015 09:11 Patrick-Berg notifications@github.com wrote:

I mounted it as explained in the guide. When I run df on the UUID I get the following columns in this order: FileSystem, 1K-blocks, used, available, Use%, Mounted on

— Reply to this email directly or view it on GitHub https://github.com/aviadra/Xen-pocalypse/issues/3#issuecomment-139127082 .

Patrick-Berg commented 8 years ago

XenServer 6.5

The VM also did not restart. The icon was yellow. What might be a reason for that?

aviadra commented 8 years ago

I guess they changed something in this major version, that broke the script... :/

On Thu, 10 Sep 2015 11:15 Patrick-Berg notifications@github.com wrote:

XenServer 6.5

The VM also did not restart. The icon was yellow. What might be a reason for that?

— Reply to this email directly or view it on GitHub https://github.com/aviadra/Xen-pocalypse/issues/3#issuecomment-139163498 .