Failure to communicate with kernel device-mapper driver.
950 views
Skip to first unread message
Donald Braman
unread,
May 20, 2014, 8:56:04 PM5/20/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gce-dis...@googlegroups.com
I'm having trouble creating an image of my instance. I updated & installed R Studio & iPython. Any advice?
dbraman@dm:~$ sudo -i gcimagebundle -d /dev/sda -o /tmp/ --log_file=/tmp/abc.log Starting logging in /tmp/abc.log found platform Debian File System: ext4 Disk Size: 10737418240 bytes Resolved /dev/sda to /dev/sda exclude list: (/etc/ssh/.host_key_regenerated, 0:0:0) (/dev, 0:1:0) (/proc, 0:1:0) (/run, 0:1:1) (/selinux, 0:0:0) (/tmp, 0:1:0) (/sys, 0:1:0) (/var/lib/google/per-instance, 0:1:0) (/var/lock, 0:1:1) (/var/log, 0:1:1) (/var/run, 0:1:1) ignoring mounts /sys /proc /dev /dev/pts /run /run/lock /run/shm overwrite list = Root disk on /: f_bsize=4096 f_blocks=2580046 f_bfree=1694417. Estimated space needed is 5078550937 (may be overestimated). Free disk space for /tmp/tmppomIKI is 6940332032 bytes. Initializing disk file Error while running ['kpartx', '-a', '-v', '-s', '/tmp/tmppomIKI/disk.raw'] return_code = 1 stdout= stderr=/dev/mapper/control: open failed: No such device Failure to communicate with kernel device-mapper driver. Check that device-mapper is available in the kernel. device mapper prerequisites not met Traceback (most recent call last): File "/usr/bin/gcimagebundle", line 28, in <module> main() File "/usr/bin/gcimagebundle", line 24, in main imagebundle.main() File "/usr/lib/python2.7/dist-packages/gcimagebundlelib/imagebundle.py", line 211, in main (fs_size, digest) = bundle.Bundleup() File "/usr/lib/python2.7/dist-packages/gcimagebundlelib/block_disk.py", line 136, in Bundleup partition_start, uuid = self._InitializeDiskFileFromDevice(disk_file_path) File "/usr/lib/python2.7/dist-packages/gcimagebundlelib/block_disk.py", line 91, in _InitializeDiskFileFromDevice with utils.LoadDiskImage(file_path) as devices: File "/usr/lib/python2.7/dist-packages/gcimagebundlelib/utils.py", line 54, in __enter__ output = RunCommand(kpartx_cmd) File "/usr/lib/python2.7/dist-packages/gcimagebundlelib/utils.py", line 364, in RunCommand cmd=command) subprocess.CalledProcessError: Command '['kpartx', '-a', '-v', '-s', '/tmp/tmppomIKI/disk.raw']' returned non-zero exit status 1
Donald Braman
unread,
May 23, 2014, 11:23:34 PM5/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message