I am having an issue with being able to upload. I have followed all the guides and ensured that the IIS user for the website is the same as my SMB share user. I can read and write to the SMB share with the UNC path and the user I am using.

When the upload process is going I see a Folder with the name of the image appears in the SMB images directory created by clone deploy however it always errors, telling me the the MBR /GPT can not be save and to check permissions. Here is the log. Any help would be appreciated.

** Displaying Boot Arguments **

BOOT_IMAGE=kernels\4.5 initrd=images\initrd.xz root=/dev/ram0 rw ramdisk_size=156000 web=http://192.168.0.80/clonedeploy/service/client.asmx/ USER_TOKEN= task=ond consoleblank=0 MAC: e0:69:95:12:d9:82
Linux client_console.localdomain 4.5.0 #2 SMP Thu Mar 17 11:43:22 EDT 2016 i686 GNU/Linux

Boot Image Version: 1004

** On Demand Enabled **

computer_name=ONE computer_id=1 image_name=Windows profile_id=4 server_ip=192.168.0.80 multicast=false pre_scripts="" post_scripts="" file_copy=False sysprep_tags="" task_completed_action="Reboot" dp_id=2 image_direction=pull image_type=Block compression_algorithm=lz4 compression_level=-1 task=pull

** Mounting SMB Share **
mount: mounting //192.168.0.191/tank_cg on /storage failed: Operation not supported

...... Success

** Looking For Hard Drive(s) **

...... Displaying Available Devices
RO RA SSZ BSZ StartSec Size Device
rw 256 512 1024 0 159744000 /dev/ram0
rw 256 512 4096 0 4000787030016 /dev/sda
rw 256 512 4096 2048 524288000 /dev/sda1
rw 256 512 4096 1026048 209715200000 /dev/sda2
Disk /dev/ram0: 152.4 MiB, 159744000 bytes, 312000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x97be5b6a

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
/dev/sda2 1026048 410626047 409600000 195.3G 7 HPFS/NTFS/exFAT
Model: ATA ST4000DM000-1F21 (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ntfs boot
2 525MB 210GB 210GB primary ntfs



all_hard_drives: /dev/sda

disk_label: dos /dev/sda

partitions: /dev/sda1
/dev/sda2

...... Found Drive(s)

...... Drive(s): /dev/sda

** Removing All Files For Existing Image: Windows **

** Creating Image Schema **
mount: mounting none on /sys/firmware/efi/efivars failed: No such file or directory

/dev/sda1 Volume Size
volume_size:525
used_size:26

...... Shrinking NTFS Volume On /dev/sda2 (This May Take A Few Minutes)
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
Going to un-mark the bad clusters ($BadClus)... No bad clusters...OK
NTFS partition /dev/sda2 was processed successfully.
ntfsresize v2016.2.22 (libntfs-3g)
Device name : /dev/sda2
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 83105997312 bytes (83106 MB)
Current device size: 209715200000 bytes (209716 MB)
New volume size : 83105997312 bytes (83106 MB)
Nothing to do: NTFS volume size is already OK.

...... Success

...... ntfssize:
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
Going to un-mark the bad clusters ($BadClus)... No bad clusters...OK
NTFS partition /dev/sda2 was processed successfully.

/dev/sda2 Volume Size
volume_size:83188
used_size:80785

...... image_schema: {"harddrives": [ {"name":"/dev/sda","size":"7814037168","table":"mbr","boot":"1","lbs":"512","pbs":"4096","guid":"","active":"true","partitions": [ {"number":"1","start":"2048","end":"1026047","size":"1024000","volumesize":"500","type":"primary","usedmb":"24","fsType":"ntfs","fsid":"7","uuid":"DCD050DED050C086","guid":"","active":"true","customsize":"","customsizeunit":"","forcefixedsize":"false","prefix":"","efibootloader":"","volumegroup": { } },{"number":"2","start":"1026048","end":"410626047","size":"409600000","volumesize":"79334","type":"primary","usedmb":"77042","fsType":"ntfs","fsid":"7","uuid":"4A9C56169C55FCBF","guid":"","active":"true","customsize":"","customsizeunit":"","forcefixedsize":"false","prefix":"","efibootloader":"","volumegroup": { } }] }] }

...... Complete
mkdir: cannot create directory '/storage/images/Windows/hd0': No such file or directory

** Checking For Partition Table Types Before Upload On /dev/sda **

...... gpt_status: not present mbr_status:

** Saving MBR / GPT On /dev/sda **

...... drive: checkPartStart: 2048 toSave: 2047
dd: failed to open '/storage/images/Windows/hd0/table': No such file or directory

** An Error Has Occurred **

...... Could Not Save MBR /GPT . Check Permissions.