LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Resizing partitions

[ILUG] Resizing partitions

Paul Collins paul at briny.ondioline.org
Tue May 31 14:10:40 IST 2005


On 2005May31 14h05 IST, Paul Jakma wrote:
> On Tue, 31 May 2005, Paul Collins wrote:
> 
> >Even if parted won't touch the filesystem, if you can get it to 
> >relocate and expand the containing partition, you can use resize2fs 
> >to expand the filesystem to use the new space.
> 
> Again, be very careful[1], from the resize2fs man page:
> 
> "When recreating the partition, make sure you  create  it
> ***with the same starting disk cylinder as before***!  Otherwise, 
> the resize operation will certainly not  work,  and  you  may  lose 
> your  entire filesystem. "
> 
> I added emphasis with asterisks to make it clear. You would have to 
> shift all the data back by 25GB, block by block, before you could run 
> resize2fs.. (will parted do that?). You can only extend or reduce the 
> *end* of an ext3 filesystem.

Hence my statement "if you can get it to *relocate* and expand the
containing partition".

-- 
Dag vijandelijk luchtschip de huismeester is dood



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell