[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-15 Thread Neil Wilson
Yep, There's two bugs here. I'll make this one the 'resize' bug and raise another for the growpart failure once I've worked out what is going on there. My initial thoughts was to have cc_resize_fs.py check the existing filesystem to see what its limits were and then resize to the smaller of those

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cloud-utils (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/955272 Title:

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cloud-initramfs-tools (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/955272

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Scott Moser
Neil, Do you have a suggestion on how best to handle this? bug 926160 has some data on what we're wasting in overhead on smaller (2G size), and that is non-trivial. The source here is probably 1408M, rather than 1G. Ben and I had estimated that for the images on cloud-images.ubuntu.com tha

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Scott Moser
I guess that the sfdisk issue is separate from the filesystem overhead. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/955272 Title: growpart and resize2fs fail with very large disks To manage notif

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Neil Wilson
>From https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/656115 "Note that we reserve enough GDT blocks so you can grow the filesystem by a factor of 1024 of the initial size." The source image is a 1G partition. -- You received this bug notification because you are a member of Ubuntu Bug

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Neil Wilson
Similarly on precise: 2012-03-14 18:11:00,708 - __init__.py[DEBUG]: handling resizefs with freq=None and args=[] 2012-03-14 18:11:00,721 - cc_resizefs.py[DEBUG]: resizing root filesystem (type=ext4, maj=253, min=1) 2012-03-14 18:14:04,588 - cc_resizefs.py[WARNING]: Failed to resize filesystem (

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Neil Wilson
2012-03-14 17:43:34,263 - cc_resizefs.py[DEBUG]: resizing root filesystem (type=ext4, maj=253, min=1) 2012-03-14 17:46:35,813 - cc_resizefs.py[WARNING]: Failed to resize filesystem (['resize2fs', '/tmp/tmpjdcY6H']) 2012-03-14 17:46:35,813 - cc_resizefs.py[WARNING]: output=Filesystem at /tmp/tmpj

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Neil Wilson
Package: cloud-initramfs-growroot 0.4ubuntu1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/955272 Title: growpart and resize2fs fail with very large disks To manage notifications about this bug go

[Bug 955272] Re: growpart and resize2fs fail with very large disks

2012-03-14 Thread Neil Wilson
** Also affects: cloud-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/955272 Title: growpart and resize2fs fail with very large disks To ma