There's a pretty cool thing caled libguestfs, and a tool called guestfish http://libguestfs.org <http://libguestfs.org/>
I've never used it (just stumbled on it recently) but it should do exactly what you need :-) And it supports RBD. Jan > On 02 Dec 2015, at 18:07, Gregory Farnum <gfar...@redhat.com> wrote: > > On Wednesday, December 2, 2015, Judd Maltin <j...@newgoliath.com > <mailto:j...@newgoliath.com>> wrote: > I'm using OpenStack to create VMs. They're KVM VMs, and I can see all the > authentication information I need on the process tree. I want to mount this > bootable image on the hypervizor node to access its filesystem and fix a file > I messed up in /etc/ so I can get the VM to boot. > > [root@ceph mnt]# mount -t ceph > 192.168.170.53:6789:/volumes/d02ef718-bb44-4316-9e93-5979396921da_disk > /mnt/image -o 'name=volumes,secret=AQDG7fBVqH3/LxAA8pQ0IF5LKQzAPYKTv8SvfQ==' > mount: > 192.168.170.53:6789:/volumes/d02ef718-bb44-4316-9e93-5979396921da_disk: can't > read superblock > > How can I find and use the partition inside this raw, bootable file image? > > You've probably created it using features that the kernel client you have > installed doesn't understand. You'd need to either use a newer kernel or > (more likely) just hook it up to a VM with QEMU. > -Greg > > > > Thanks folks, > -judd > > -- > Judd Maltin > T: 917-882-1270 > Of Life immense in passion, pulse, and power, <> > Cheerful—for freest action form’d, under the laws divine, <> > The Modern Man I sing. -Walt Whitman > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com