Re: [ceph-users] Fwd: Re: (no subject)

2016-08-17 Thread Gaurav Goyal
Dear Ceph Users, I need your help to redesign my ceph storage network. As suggested in earlier discussions, i must not use SAN storage. So we have decided to removed it. Now we are ordering Local HDDs. My Network would be Host1 --> Controller + Compute1 Host 2--> Compute2 Host 3 --> Compute3

Re: [ceph-users] Fwd: Re: (no subject)

2016-08-02 Thread Gaurav Goyal
Hello Jason/Kees, I am trying to take snapshot of my instance. Image was stuck up in Queued state and instance is stuck up in Image Pending Upload state. I had to manually quit the job as it was not working since last 1 hour .. my instance is still in Image Pending Upload state. Is it

Re: [ceph-users] Fwd: Re: (no subject)

2016-07-13 Thread Jason Dillaman
The RAW file will appear to be the exact image size but the filesystem will know about the holes in the image and it will be sparsely allocated on disk. For example: # dd if=/dev/zero of=sparse-file bs=1 count=1 seek=2GiB # ll sparse-file -rw-rw-r--. 1 jdillaman jdillaman 2147483649 Jul 13 09:20

Re: [ceph-users] Fwd: Re: (no subject)

2016-07-13 Thread Kees Meijs
Hi, If the qemu-img is able to handle RBD in a clever way (and I assume it does) it is able to sparsely write the image to the Ceph pool. But, it is an assumption! Maybe someone else could shed some light on this? Or even better: read the source, the RBD handler specifically. And last but not

Re: [ceph-users] Fwd: Re: (no subject)

2016-07-13 Thread Fran Barrera
Yes, but is the same problem isn't? The image will be too large because the format is raw. Thanks. 2016-07-13 9:24 GMT+02:00 Kees Meijs : > Hi Fran, > > Fortunately, qemu-img(1) is able to directly utilise RBD (supporting > sparse block devices)! > > Please refer to

Re: [ceph-users] Fwd: Re: (no subject)

2016-07-13 Thread Kees Meijs
Hi Fran, Fortunately, qemu-img(1) is able to directly utilise RBD (supporting sparse block devices)! Please refer to http://docs.ceph.com/docs/hammer/rbd/qemu-rbd/ for examples. Cheers, Kees On 13-07-16 09:18, Fran Barrera wrote: > Can you explain how you do this procedure? I have the same

Re: [ceph-users] Fwd: Re: (no subject)

2016-07-13 Thread Fran Barrera
Hello, Can you explain how you do this procedure? I have the same problem with the large images and snapshots. This is what I do: # qemu-img convert -f qcow2 -O raw image.qcow2 image.img # openstack image create image.img But the image.img is too large. Thanks, Fran. 2016-07-13 8:29

[ceph-users] Fwd: Re: (no subject)

2016-07-13 Thread Kees Meijs
Sorry, should have posted this to the list. Forwarded Message Subject:Re: [ceph-users] (no subject) Date: Tue, 12 Jul 2016 08:30:49 +0200 From: Kees Meijs To: Gaurav Goyal Hi Gaurav, It might seem a little far