[Openstack-operators] Image rootfs-resize tool, updated
    Robert Plestenjak 
    robert.plestenjak at xlab.si
       
    Wed Oct 30 14:55:21 UTC 2013
    
    
  
No, you can't resize mounted partition.
- Robert
----- Original Message -----
From: "Tim Bell" <Tim.Bell at cern.ch>
To: "Lorin Hochstein" <lorin at nimbisservices.com>, "Robert Plestenjak" <robert.plestenjak at xlab.si>
Cc: openstack-operators at lists.openstack.org
Sent: Wednesday, October 30, 2013 2:44:16 PM
Subject: RE: [Openstack-operators] Image rootfs-resize tool, updated
Could this also be used from cloud-init to avoid having to reboot such as we have to do today with growpart/reboot/pvresize/lvextend/resize2fs on RHEL 6 ? 
Tim 
From: Lorin Hochstein [mailto:lorin at nimbisservices.com] 
Sent: 30 October 2013 13:40 
To: Robert Plestenjak 
Cc: openstack-operators at lists.openstack.org 
Subject: Re: [Openstack-operators] Image rootfs-resize tool, updated 
Hi Robert: 
Excellent. Does it work if swap is the last partition? e.g.: 
NAME FSTYPE LABEL MOUNTPOINT 
sda 
├─sda1 ext4 /boot 
├─sda2 ext4 / 
└─sda3 swap [SWAP] 
Lorin 
On Wed, Oct 30, 2013 at 4:19 AM, Robert Plestenjak < robert.plestenjak at xlab.si > wrote: 
Yes, it works. Thanks for bringing this up, I had to change soft linking of kernel to copy. 
Tested on Centos 6.4 and Debian 7 with partition scheme like: 
NAME FSTYPE LABEL MOUNTPOINT 
sda 
├─sda1 ext4 /boot 
├─sda2 swap [SWAP] 
└─sda3 ext4 / 
I assume Debian 6 works also, since is almost the same as 7. 
- Robert 
----- Original Message ----- 
From: "Robert Plestenjak" < robert.plestenjak at xlab.si > 
To: openstack-operators at lists.openstack.org 
Sent: Wednesday, October 30, 2013 8:01:41 AM 
Subject: Re: [Openstack-operators] Image rootfs-resize tool, updated 
I'll test this today and report back. I belive it should work. 
- Robert 
----- Original Message ----- 
From: "Lorin Hochstein" < lorin at nimbisservices.com > 
To: "Robert Plestenjak" < robert.plestenjak at xlab.si > 
Cc: openstack-operators at lists.openstack.org 
Sent: Wednesday, October 30, 2013 3:04:44 AM 
Subject: Re: [Openstack-operators] Image rootfs-resize tool, updated 
Robert: 
Does it work if there's a boot and/or swap partition, or does it require there be a single disk partition? 
Lorin 
On Tue, Oct 29, 2013 at 10:43 AM, Robert Plestenjak < robert.plestenjak at xlab.si > wrote: 
Hello, 
I have reworked my previous tool I've made for CentOS. New tool supports CentOS, Debian 6 and Debian 7, other distros can be added without much work (I hope). 
As before, LVM is not supported (yet), but I'm working on it(TM). 
https://github.com/flegmatik/linux-rootfs-resize.git 
- Robert 
_______________________________________________ 
OpenStack-operators mailing list 
OpenStack-operators at lists.openstack.org 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators 
-- 
Lorin Hochstein 
Lead Architect - Cloud Services 
Nimbis Services, Inc. 
www.nimbisservices.com 
_______________________________________________ 
OpenStack-operators mailing list 
OpenStack-operators at lists.openstack.org 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators 
_______________________________________________ 
OpenStack-operators mailing list 
OpenStack-operators at lists.openstack.org 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators 
-- 
Lorin Hochstein 
Lead Architect - Cloud Services 
Nimbis Services, Inc. 
www.nimbisservices.com 
    
    
More information about the OpenStack-operators
mailing list