search for: _vols

Displaying 3 results from an estimated 3 matches for "_vols".

Did you mean: vols
2016 May 04
2
Re: [libvirt] Creating a storage volume for raw format file
...at': qmeu_info.file_format, 'mode': oct(stat.st_mode)[-3:], 'uid': stat.st_uid, 'gid': stat.st_gid}) vol_xml = create_vol_xml(vol_name, src_path) self._vols[vol_name] = self._pool.createXML(vol_xml, 0) Where 'src_path' is the path to a file in another directory it seems to copy src_path to my storage pool directory as 'vol_name' and creates a storage volume that references it. This is fine except, my concern is what if the file is ve...
2016 May 04
0
Re: [libvirt] Creating a storage volume for raw format file
...ormat, > 'mode': oct(stat.st_mode)[-3:], > 'uid': stat.st_uid, > 'gid': stat.st_gid}) > > vol_xml = create_vol_xml(vol_name, src_path) > self._vols[vol_name] = self._pool.createXML(vol_xml, 0) > > Where 'src_path' is the path to a file in another directory it seems to copy > src_path to my storage pool directory as 'vol_name' and > creates a storage volume that references it. > > This is fine except, my conc...
2016 May 04
2
[libvirt] Creating a storage volume for raw format file
Hi I'm trying to create a volume in an existing storage pool using python by calling createXML() on the pool object. If the file that is the subject of the new volume exists you get and error, also if it doesn't exist I worked out that specifying <source> <path>path to copy of file</path> </source> works, seemingly by copying the 'source' file to