You are not logged in.
Pages: 1
Removing "2>/dev/null" this is output:
50+0 records in
50+0 records out
52428800 bytes (52 MB) copied, 0.436811 seconds, 120 MB/s
So I analyze openssl and he version of vmware esx 5.1 the output doesn't contain "(stdin)=" at the begin of string.
So I change the string
"dd if="Win-Test-flat.vmdk" bs=1048576 count=50 skip=0 2>/dev/null | openssl sha1 2>/dev/null | grep "(stdin)=" | awk -F '=' '{print $2}' | sed -e 's/^ *//g' -e 's/ *$//g'"
with
"dd if="Win-Test-flat.vmdk" bs=1048576 count=50 skip=0 2>/dev/null | openssl sha1"
and now I have the hash
Changing xsitools script at row number 376
with
HASH=$( ( "$DDBIN" if="$FILEPATH" bs=$SUBBLKSIZ count=$SUBBLKCNT skip=$(( $(( ${icnt}-1 ))*${REGSUBBLKCNT} )) 2>/dev/null | "$OSBIN" sha1 ))
The string is also present in too rows. What is the fastest solution?
I've changed the string but the error with the backup is the same.
I've also relaunched the extended command specifyng the path of "dd"
"/vmfs/volumes/BackUpVM/xsi/bin/dd if="Win-Test-flat.vmdk" bs=1048576 count=50 skip=0 2>/dev/null | openssl sha1 2>/dev/null | grep "(stdin)=" | awk -F '=' '{print $2}' | sed -e 's/^ *//g' -e 's/ *$//g'" and the output is still null
The version is VMware ESXi 5.1.0 build-799733
For the extended command I have no output
Ok thanks, this is the command and the output
/vmfs/volumes/51236600-21002fd4-6799-2c768a4e9360/Win-Test # dd if="Win-Test-flat.vmdk" bs=1048576 count=50 skip=0 | openssl sha1
50+0 records in
50+0 records out
cceb46c84621368096e1a62bdfbb22898b1588e2
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
Win-Test-000002-delta.vmdk
17,190,912 100% 23.08MB/s 0:00:00 (xfr#1, to-chk=0/1)
sent 17,195,205 bytes received 35 bytes 34,390,480.00 bytes/sec
total size is 17,190,912 speedup is 1.00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
Win-Test-Snapshot431.vmsn
30,813 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/1)
sent 30,916 bytes received 35 bytes 20,634.00 bytes/sec
total size is 30,813 speedup is 1.00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
Win-Test.vmdk
546 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/1)
sent 637 bytes received 35 bytes 1,344.00 bytes/sec
total size is 546 speedup is 0.81
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Blocksize is 52428800 bytes
Compression has been set
Backing up via XSITools
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File name: Win-Test-flat.vmdk, File size: 214748364800
Block size: 52428800, Block count: 4096
Disk usage: 44400902144
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Cannot process block 1, error getting hash, will retry. Warning:
Retrying...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
Win-Test-000001.vmdk
320 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/1)
sent 418 bytes received 35 bytes 906.00 bytes/sec
total size is 320 speedup is 0.71
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
Win-Test-000002.vmdk
320 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/1)
sent 418 bytes received 35 bytes 302.00 bytes/sec
total size is 320 speedup is 0.71
--backup-point created at /vmfs/volumes/BackUpVM/201712
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WARNING: the /vmfs/volumes/BackUpVM/201712 dir is not an XSITOOLS repo, it will be initialized
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E-mail Warnings
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The e-mail report will not be sent because of the followig reasons:
The --mail-from string has not been set
The --smtp-srv string has not been set
The --smtp-port string has not been set
The --smtp-usr string has not been set, you need --smtp-usr if --smtp-auth is other than -none-
The --smtp-pwd string has not been set, you need --smtp-pwd if --smtp-auth is other than -none-
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks for the answer. I've yet tested with "z" compression but nothing.
However this is the output of my backup job
Hi, I'm testing XSI-BackUp-Pro with XSITools for the deduplication of data.
Launching for example
"./xsibackup --backup-prog=xsitools --backup-point="/vmfs/volumes/BackUpVM/$(date +%Y%m)" --backup-type=custom --backup-vms=VM1
I always get (for all VM I Tested) the error:
"Cannot process block1, error getting hash, will retry. Warning:"
and it loops the message.
What's wrong?
Thanks
Pages: 1