|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??
Still same error :(
[root@xen ~]# bash -x /usr/sbin/create_cow -i /root/xen/centos.4-2.img -n cent01 -s 50 + set -e + BACKING_DIR=/tmp/cow_backing + mkdir -p /tmp/cow_backing + getopts qhi:n:b:s: opt
+ case $opt in + SOURCE=/root/xen/centos.4-2.img + getopts qhi:n:b:s: opt + case $opt in + TARGET=cent01 + getopts qhi:n:b:s: opt + case $opt in + BACKING_SIZE=50 + getopts qhi:n:b:s: opt + '[' -z /root/xen/centos.4-
2.img -o -z cent01 -o -z 50 ']' + check_prereq dmsetup + which dmsetup + check_prereq losetup + which losetup + check_prereq blockdev + which blockdev + dmsetup mknodes + '[' -e /dev/mapper/cent01 -o -e /tmp/cow_backing/cent01-storage ']'
+ '[' -b /root/xen/centos.4-2.img ']' + '[' -f /root/xen/centos.4-2.img ']' ++ find_free_loop_device +++ ls -1 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 /dev/loop6 /dev/loop7 ++ for device in '`ls -1 /dev/loop*`'
++ losetup /dev/loop0 ++ echo /dev/loop0 ++ return + SOURCE_DEVICE=/dev/loop0 + quiet echo 'Putting /root/xen/centos.4-2.img onto loopback device /dev/loop0' + '[' -n '' ']' + eval echo Putting /root/xen/centos.4-
2.img onto loopback device /dev/loop0 ++ echo Putting /root/xen/centos.4-2.img onto loopback device /dev/loop0 Putting /root/xen/centos.4-2.img onto loopback device /dev/loop0 + losetup /dev/loop0 /root/xen/centos.4-
2.img + echo /dev/loop0 ++ blockdev --getsize /dev/loop0 + SOURCE_SIZE=2050048 + echo /dev/loop0 + grep -q /dev/mapper/ + quiet echo 'Creating a device mapper device for /dev/loop0' + '[' -n '' ']'
+ eval echo Creating a device mapper device for /dev/loop0 ++ echo Creating a device mapper device for /dev/loop0 Creating a device mapper device for /dev/loop0 + SOURCE_DM_DEVICE=cent01-master + echo '0 2050048 linear /dev/loop0 0'
+ dmsetup create cent01-master + echo cent01-master + '[' -z '' ']' + quiet echo 'Creating backing file' + '[' -n '' ']' + eval echo Creating backing file ++ echo Creating backing file Creating backing file
+ BACKING_FILE=/tmp/cow_backing/cent01-storage + dd if=/dev/zero of=/tmp/cow_backing/cent01-storage bs=512 count=1 seek=102400 1+0 records in 1+0 records out ++ find_free_loop_device +++ ls -1 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 /dev/loop6 /dev/loop7 /dev/loop8 /dev/loop9
++ for device in '`ls -1 /dev/loop*`' ++ losetup /dev/loop0 ++ for device in '`ls -1 /dev/loop*`' ++ losetup /dev/loop1 ++ echo /dev/loop1 ++ return + BACKING_DEVICE=/dev/loop1 + losetup /dev/loop1 /tmp/cow_backing/cent01-storage
+ echo /dev/loop1 + quiet echo 'Creating snapshot' + '[' -n '' ']' + eval echo Creating snapshot ++ echo Creating snapshot Creating snapshot + '[' -n ']' + dmsetup suspend cent01-master + echo '0 2050048 snapshot /dev/mapper/cent01-master /dev/loop1 p 50'
+ dmsetup create cent01 device-mapper ioctl cmd 9 failed: Invalid argument Command failed
--
regards,
Anand
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??, (continued)
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??, Tim Deegan
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??, Anand
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??, Anand
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??, Tim Deegan
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??, Anand
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??,
Anand <=
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??, Tim Deegan
- Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??, Anand
- [Xen-users] Re: How was CoW implemented on the Demo LiveCD (3.0) ??, Molle Bestefich
- [Xen-users] Re: How was CoW implemented on the Demo LiveCD (3.0) ??, Anand
|
|
|
|
|