File: 040

package info (click to toggle)
sheepdog 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,364 kB
  • ctags: 3,951
  • sloc: ansic: 30,552; sh: 3,573; perl: 2,924; asm: 453; makefile: 391; python: 192
file content (23 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

# Test vdi object recovery just after vdi creation

. ./common

_start_sheep 0
_wait_for_sheep 1

_cluster_format -c 1

# create vdi in background
$DOG vdi create test 4G &

# the created vdi object will be move from sheep 0 to sheep 1
_start_sheep 1

# wait for background process
wait $!
_wait_for_sheep 2

_vdi_list -p 7000
_vdi_list -p 7001