Too big for 4GB card

Alexander Sack asac at canonical.com
Wed Mar 11 20:19:26 UTC 2015


On Wed, Mar 11, 2015 at 8:16 PM, Gustavo Niemeyer
<gustavo.niemeyer at canonical.com> wrote:
> The newest images seem to present the same issue still.
>
> Any chance/intention of fixing this?

yes please!

Michael/Sergio: can you make a trello card so we don't forget for next
milestone?

Gustavo/All: what buffer should we use to make this safe?

(4-0.05)*10^9 bytes?
(4-0.10)*10^9 bytes?
(4-0.20)*10^9 bytes?

Any preference or maybe ideas how to find the perfect number? I tend
to think unless we have good ideas, we should rather add more buffer
to be safe :).

>
> On Fri, Feb 13, 2015 at 1:04 AM, Gustavo Niemeyer
> <gustavo.niemeyer at canonical.com> wrote:
>> 4GiB would actually be 300MiB *over* 4*10^9 bytes, so the image is already
>> discounting that. The device I have is ~3.98*10^9 bytes.
>>
>> On Feb 13, 2015 1:03 AM, "Gustavo Niemeyer" <gustavo at niemeyer.net> wrote:
>>>
>>> 4GiB would actually be 300MiB *over* 4*10^9 bytes, so the image is already
>>> discounting that. The device I have is ~3.98*10^9 bytes.
>>>
>>> On Feb 13, 2015 12:25 AM, "Joe Talbott" <joe.talbott at canonical.com> wrote:
>>>>
>>>> On Thu, Feb 12, 2015 at 10:58:43PM -0200, Sergio Schvezov wrote:
>>>> > On jueves 12 de febrero de 2015 22h'25:51 BRST, Gustavo Niemeyer wrote:
>>>> > >Hey all,
>>>> > >
>>>> > >It would be good to reduce the snappy image size just a little bit.
>>>> > >I have a Kingston MicroSD card that self-reports as 4GB, but it
>>>> > >is not large enough to hold the image. I had to take a few MB
>>>> > >out from the last partition to make it work.
>>>> >
>>>> > I totally agree! I just haven't figured out what a "bit" is; I guess
>>>> > I we can be on the safe side and say 4GB is going to 3.9GB (-100MB
>>>> > to be on the safe side given the plethora of devices).
>>>> >
>>>> > Is that a good number?
>>>> >
>>>> > Ogra, you gave me a long explanation on variation; is +/-100MB a
>>>> > good σ expected on the population of sdcards around?
>>>>
>>>> It's my understanding that a lot of storage manufacturers use 1000 as
>>>> the number of bits per kilobyte rather than 1024.  I'd think -300MB would
>>>> suffice as that's roughly the difference between the two.
>>>>
>>>> Joe
>>>>
>>>> --
>>>> snappy-devel mailing list
>>>> snappy-devel at lists.ubuntu.com
>>>> Modify settings or unsubscribe at:
>>>> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>
>
>
> --
> gustavo @ http://niemeyer.net
>
> --
> snappy-devel mailing list
> snappy-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snappy-devel



More information about the snappy-devel mailing list