Re: Publishing raw generic{,cloud} images without tar, and without compression, plus versionning of point releases

2020-05-26 Thread Ross Vandegrift
On Mon, May 25, 2020 at 07:12:15PM +0200, Thomas Goirand wrote: > On 5/25/20 5:43 PM, Ross Vandegrift wrote: > > I don't think it's obvious how to do better. The only ways I know to > > make a raw image smaller than its fs are: > > 1) sparse files > > 2) compression > > > > FAI is using #1,

Re: Publishing raw generic{,cloud} images without tar, and without compression, plus versionning of point releases

2020-05-26 Thread Andrew Ruthven
Hey, On Wed, 2020-05-27 at 10:13 +1200, Andrew Ruthven wrote: > That may be the case, but not all *backends* can use qcow2 images. On > our public and private OpenStack clouds we only work with raw images. > We have to convert all qcow2 images. I'd just like to provide some additional feedback

Re: Publishing raw generic{,cloud} images without tar, and without compression, plus versionning of point releases

2020-05-26 Thread Andrew Ruthven
On Tue, 2020-05-26 at 21:26 +0200, Bastian Blank wrote: > > Yes, but you point it to the _qcow2_ image. Which, for generic, is > about 250-300MB in size, as it is somewhat compressed, and can be > read > by all the OpenStack tools. That may be the case, but not all *backends* can use qcow2

Re: Publishing raw generic{,cloud} images without tar, and without compression, plus versionning of point releases

2020-05-26 Thread Bastian Blank
On Tue, May 26, 2020 at 10:29:17AM +0200, Thomas Goirand wrote: > > The images have 700-800MB of space used, which is still three times the > > size of the qcow2 file. Why do you refuse to use what's already there? > > I already explained: because downloading from ADSL, extracting, then >

Re: Publishing raw generic{,cloud} images without tar, and without compression, plus versionning of point releases

2020-05-26 Thread Jeremy Stanley
On 2020-05-26 10:29:17 +0200 (+0200), Thomas Goirand wrote: [...] > Able to extract the .raw file from a tar.xz? I don't think so. If > it can, please provide the command line to do that, but as much as > I know, it's currently not possible. I'd love to be wrong here... [...] It *can* be done

Re: Publishing raw generic{,cloud} images without tar, and without compression, plus versionning of point releases

2020-05-26 Thread Thomas Goirand
On 5/25/20 7:36 PM, Bastian Blank wrote: > On Mon, May 25, 2020 at 02:21:48AM +0200, Thomas Goirand wrote: So I was wondering if we could: 1/ Make the resulting extracted disk smaller. That'd be done in FAI, and I have no idea how that would be done. Thomas, can you help, at least