Displaying 4 results from an estimated 4 matches for "vm_dir".
Did you mean:
dm_dir
2015 Sep 11
2
Backup a VM (using live external snapshot and blockcommit)
...ups using libvirt may be done thanks to blockcommit as
explained here on the wiki [2].
-> Considering our use case, is this the recommended way?
Assuming yes, here is the plan.
I wrote a script that does
# Create snapshot
virsh snapshot-create-as --domain $VM_NAME snap --diskspec
vda,file=$VM_DIR/"$VM_NAME"-snap.qcow2 --disk-only --atomic
--no-metadata --quiesce
# Copy frozen backing file
cp $VM_DIR/"$VM_NAME".qcow2 $SNAP_FILEPATH
# Blockcommit snapshot back into backing file
virsh blockcommit $VM_NAME vda --active --pivot
# Remove snapshot file
rm $VM_DIR/"$VM_N...
2015 Sep 11
0
Re: Backup a VM (using live external snapshot and blockcommit)
...se, is this the recommended way?
Yes, using active block-commit is the ideal way to perform a live backup.
>
> Assuming yes, here is the plan.
>
> I wrote a script that does
>
> # Create snapshot
> virsh snapshot-create-as --domain $VM_NAME snap --diskspec
> vda,file=$VM_DIR/"$VM_NAME"-snap.qcow2 --disk-only --atomic
> --no-metadata --quiesce
>
> # Copy frozen backing file
> cp $VM_DIR/"$VM_NAME".qcow2 $SNAP_FILEPATH
>
> # Blockcommit snapshot back into backing file
> virsh blockcommit $VM_NAME vda --active --pivot
>
>...
2010 Feb 03
1
virt-manager can't start
...):
File "/usr/share/virt-manager/virt-manager.py", line 346, in <module>
main()
File "/usr/share/virt-manager/virt-manager.py", line 248, in main
setup_logging()
File "/usr/share/virt-manager/virt-manager.py", line 124, in setup_logging
os.mkdir(vm_dir)
OSError: [Errno 17] File exists: '/home/satimis/.virt-manager'
- end -
$ ls -al /home/satimis/ | grep virt-manager
drwxr-xr-x 2 root root 4096 2009-05-31 06:11 .virt-manager
$ mv /home/satimis/.virt-manager /home/satimis/.virt-manager.old01
Restart
Applications -> Sys...
2010 Feb 09
2
Security Logging
Hello list,
I've got a client who's weak sip passwords are being guessed by remote
entities who then connect to their server and use it to wardial large
swaths of numbers. When they start receiving complaints, they call me
and I add the ip address of the remote user to the iptables drop list.
At the same time, my own personal asterisk server, using strong sip
passwords, has seen