Bug#619136: setup-storage fails to create 100% partition

Michael Tautschnig mt at debian.org
Wed Jun 29 23:35:03 CEST 2011


reopen 619136
found 619136 3.4.8
thanks

Hi,

> hello -
> 
> i'm using fai-setup-storage 3.4.8 and believe that i might be running
> into the same bug as the original reporter.
> 
> i am attempting to create one big partition on a 3TB Hitachi HDS5C303
> drive: 
[...]
> the relevant excerpt from the disk_config is: 
> disk_config sdc disklabel:gpt fstabkey:uuid align-at:4k
> primary /0      100%            ext4    defaults
> 
> this causes fai to fail with the error: 
> Disk /dev/sdc is too small - at least 3000592982016 bytes are required
> 

Hmm, indeed this is/was still broken for the gpt case. Sorry about missing that
bit! I've got a fix ready that will be part of all future experimental releases
and I'll push that for new stable releases as well.

> the workaround of using "0-100%" instead of "100%" allows the install to
> proceed.  per format.log the successful parted command is: 
> Executing: parted -s /dev/sdc mkpart primary "ext3" 20480B 3000592961535B
> 
> can/should the bug be re-opened?  please let me know if there is any
> additional information that would be helpful.
> 

Thanks a lot for your offer, but your disk config was sufficient to reproduce
the problem. Please let me know if you'd like to get the preliminary patch,
despite there being this 0-100% workaround.

Best regards,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20110629/adccc8a0/attachment.bin>


More information about the linux-fai mailing list