search for: vol_nam

Displaying 7 results from an estimated 7 matches for "vol_nam".

Did you mean: vol_name
2016 May 04
2
Re: [libvirt] Creating a storage volume for raw format file
...y existing. however if I try to create the storage pool then copy the file to the directory it fails to create the storage pool because the file does not exist. I figured out that if I create the file in another directory then create the storage volume as follows... def create_volume(self, vol_name, src_path): def create_vol_xml(name, src): xml = """<volume type='file'> <name>{name}</name> <allocation unit='bytes'>{allocation}</allocation> &l...
2016 May 04
0
Re: [libvirt] Creating a storage volume for raw format file
...notice the new volume and it will show up in listVolumes. createXML is only for telling libvirt to create an entirely new disk image (likely by invoking qemu-img), not to teach it about an existing image... that's what pool.refresh() is essentially for - Cole > def create_volume(self, vol_name, src_path): > def create_vol_xml(name, src): > xml = """<volume type='file'> > <name>{name}</name> > <allocation unit='bytes'>{allocation}</allocation> >...
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
2017 Oct 09
0
Peer isolation while healing
...replica bricks are on a different peers. If you try to isolate the healing peer, it will stop the healing process itself. What is the error you are getting while writing? It would be helpful to debug the issue, if you can provide us the output of the following commands: gluster volume info <vol_name> gluster volume heal <vol_name> info And also provide the client & heal logs. Thanks & Regards, Karthik On Mon, Oct 9, 2017 at 3:02 PM, ML <lists at websiteburo.com> wrote: > Hi everyone, > > I've been using gluster for a few month now, on a simple 2 peer...
2017 Oct 09
3
Peer isolation while healing
Hi everyone, I've been using gluster for a few month now, on a simple 2 peers replicated infrastructure, 22Tb each. One of the peers has been offline last week during 10 hours (raid resync after a disk crash), and while my gluster server was healing bricks, I could see some write errors on my gluster clients. I couldn't find a way to isolate my healing peer, in the documentation or
2017 Oct 09
2
Peer isolation while healing
...t peers. If you try to > isolate the healing peer, it will stop the healing process itself. > > What is the error you are getting while writing? It would be helpful > to debug the issue, if you can provide us the output of the following > commands: > ??? gluster volume info <vol_name> > ??? gluster volume heal <vol_name> info > And also provide the client & heal logs. > > Thanks & Regards, > Karthik > > On Mon, Oct 9, 2017 at 3:02 PM, ML <lists at websiteburo.com > <mailto:lists at websiteburo.com>> wrote: > > Hi...
2010 Mar 31
3
[PATCH] Remove v2v-snapshot
...ing snapshot volumes - my $time = time(); - - return _foreach_disk($dom, sub { - my ($disk, $source, $target, $path) = @_; - - # Create a new qcow2 volume in the v2v-snapshot storage pool - my $target_name = $target->getNodeValue(); - my $vol_name = "$name-$target_name-$time.qcow2"; - my $vol_xml = " - <volume> - <name>$vol_name</name> - <capacity>0</capacity> - <target> - <format ty...