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

Stephen Horgan horganst at eircom.net
Tue May 31 16:40:16 IST 2005


>> Well parted can't do it:
>>
>> (parted) move
>> Partition number? 2
>> No Implementation: This ext2 filesystem has a rather strange layout!
>> Parted can't resize this (yet).
>>
>> I'll try qtparted tonight when I get home.
> Have you actually tried temporarily removing journaling with tune2fs
> yet?
>
> tune2fs [-f] ^has_journal /dev/hdc2
> parted stuff
> tune2fs has_journal /dev/hdc2
>
> Be careful with trying any of these utilities, anything that messes with
> filesystems and partitions has inherent risks attached. From the tune2fs
> man page comes the warning:
> -f
> Force the tune2fs operation to complete even in the face of errors. This
> option is useful when removing the has_journal filesystem feature from a
> filesystem which has an external journal (or is corrupted such that it
> appears to have an external journal), but that external journal is not
> available.
> WARNING: Removing an external journal from a filesystem which was not
> cleanly unmounted without first replaying the external journal can
> result in severe data loss and filesystem corruption.
>
> Regards,
> Stephen
>
>

Yes, I tried converting to ext2 and then resizing, but this yields the
same result. I removed the journal with:

tune2fs -O ^has_journal /dev/hdc2

Then tried parted again:

(parted) p
Disk geometry for /dev/hdc: 0.000-239372.437 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031  12997.902  primary   ext3        raid
2      38154.375 239366.931  primary   ext2
(parted) move
Partition number? 2
No Implementation: This ext2 filesystem has a rather strange layout! 
Parted can't resize this (yet).





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