Hi Donal, I had mounted the cifs with rw permission. I was able to touch and write data to file and read it. But when used vhd-util to query/read the the vhd files present on cifs am getting error.
root@rajesh-HVM-domU:~/testvhd# /root/vhd-util read -p -n /root/testvhd/template/tmpl/1/9/4382fd85-7259-4392-a9a9-4990718bd48f.vhd Failed to open /root/testvhd/template/tmpl/1/9/4382fd85-7259-4392-a9a9-4990718bd48f.vhd: -22 /root/testvhd/template/tmpl/1/9/4382fd85-7259-4392-a9a9-4990718bd48f.vhd appears invalid; dumping headers Thanks Rajesh Battala -----Original Message----- From: Donal Lafferty [mailto:donal.laffe...@citrix.com] Sent: Wednesday, October 23, 2013 7:15 PM To: dev@cloudstack.apache.org Subject: RE: Regarding vhd-util binary Make sure your O/S support for CIFS includes read/write of files in mounted CIFS share. E.g. use vi to create and then edit a file on the shared storage from your management server. DL > -----Original Message----- > From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] > Sent: 23 October 2013 13:10 > To: dev@cloudstack.apache.org > Subject: Regarding vhd-util binary > > Hi All, > > I had downloaded the vhd-util from > http://download.cloud.com.s3.amazonaws.com/tools/vhd-util . > I have an vhd file in the NFS share. I had mounted in my mgmt. server > and tried vhd-util read -p -n "path of file" it works. > But the same file when present in CIFS share, mounted on my mgmt. > server with (rw) vhd-util is failing to read/dump the headers. > > Is vhd-util binary has limitation reading file from CIFS.? Or we need > to mount the CIFS share with any extra params? > > Thanks > Rajesh Battala