Changeset 1462 for trunk/packages
- Timestamp:
- Oct 31, 2008, 2:00:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-xen-config/debian/invirt-xen-config.init
r1460 r1462 40 40 41 41 if lvchange -a n "$DISK" >/dev/null 2>&1 && lvchange -a ey "$DISK" >/dev/null 2>&1; then 42 # If we can lock on the VM's disk, then the VM isn't running 42 # If we can disable and then re-enable the VMs disk, then the 43 # VM can't be running. If the lvchange -a ey succeeds, then we 44 # have an exclusive lock across the cluster on enabling the 45 # disk, which avoids the potential race condition of two hosts 46 # starting a VM at the same time 43 47 [ "$VERBOSE" != no ] && log_daemon_msg "Starting sysvm $VM" 44 48 xm create "sysvms/$VM" >/dev/null
Note: See TracChangeset
for help on using the changeset viewer.