Bug#285354: cannot resize some (ext3) partitions (ppc+x86)

2004-12-13 Thread Anton Zinoviev
On Mon, Dec 13, 2004 at 09:20:00AM +0100, Holger Levsen wrote:
 
 btw, does partman use ext2resize or (lib)parted ?

It uses libparted.

Anton Zinoviev




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#285354: cannot resize some (ext3) partitions (ppc+x86)

2004-12-13 Thread Giuseppe Sacco
Il giorno lun, 13-12-2004 alle 09:20 +0100, Holger Levsen ha scritto:
 Hi,
[...]
 On the pegasos2 (40gb ide) I still get the following error (after using 
 e2fsck) with parted: No implementation: This ext2 filesystem has a rather 
 strange layout! Parted can't resize this (yet). - Maybe because there are 
 only primary partitions, no extended ? Partman still shows the same error 
 (operation impossible due to an unknown error).
 
 btw, does partman use ext2resize or (lib)parted ?

It uses libparted, I think.

About the error message you get, it happened also to me and I think it
is a limitation of parted, not an error. I suggest you to reassign this
bug report to libparted and change its severity to wishlist, asking for
a more verbose error message, that would explain what the real problem
is.

Parted has very specific and detailed error messages, so I think the
author will likely reply soon to your request.

Bye,
Giuseppe



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#285354: cannot resize some (ext3) partitions (ppc+x86)

2004-12-13 Thread Holger Levsen
Hi,

On Sunday 12 December 2004 22:54, Giuseppe Sacco wrote:
  But on two different machines (one x86-k6 with an 160gb ide and a
  pegasos2 (with amiga disklabels) and a 40gb ide) I encountered two
  partitions which cannot resize, which is think I should be able to do.
 could you please specify what the error is? Do you have any error
 message? 

Opps, sorry.

The message is The resize operation is impossible - Because of an unknown 
reason it is impossible to resize this partition. 

 Why you think this is a partman problem instead of an 
 ext2resize bug?

Good question. To be honest, I assumed it was partman only cause that's 
were the error occured.

Now I investigated a bit ;-) When I try to manually resize the partition with 
parted, I get the error Filesystem was not cleanly unmounted. You should 
e2fsck. Modifying an unclean filesystem could cause severe corruption. After 
using e2fsck, parted resizes without a problem. On the x86 (160gb ide)

On the pegasos2 (40gb ide) I still get the following error (after using 
e2fsck) with parted: No implementation: This ext2 filesystem has a rather 
strange layout! Parted can't resize this (yet). - Maybe because there are 
only primary partitions, no extended ? Partman still shows the same error 
(operation impossible due to an unknown error).

btw, does partman use ext2resize or (lib)parted ?


 Thank,s
 Giuseppe

thank you to,
regards,
 Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#285354: cannot resize some (ext3) partitions (ppc+x86)

2004-12-12 Thread Holger Levsen
package: partman
version: rc2

Hi,

I tried resizing today. In general it works, great!

But on two different machines (one x86-k6 with an 160gb ide and a pegasos2 
(with amiga disklabels) and a 40gb ide) I encountered two partitions which 
cannot resize, which is think I should be able to do.


These are the partition-tables (created with parted $dev print), on the 
pegasos I was able to resize swap, backup, varlog and home (but not root and 
boot, nor mos nor mos-data - but I don't care about the last two) and on the 
x86 I was able to resize swap but not boot.

Disk geometry for /dev/ide/host0/bus0/target0/lun0/disc: 0.000-38166.679 
megabytes
Disk label type: amiga
MinorStart   End Filesystem  Name  Flags
1  3.999107.973  ext2boot  
2107.974611.850  asfsmos   boot
3611.851   3615.117  asfsmos-data  
4   3615.117   4618.872  linux-swap  swap  hidden
5   4618.872  19997.116  ext3root  boot
6  19997.117  20063.100  ext3backup
7  20063.101  21996.628  ext3varlog
8  21996.628  38166.679  ext3home  
Information: Don't forget to update /etc/fstab, if necessary. 

Disk geometry for /dev/ide/host0/bus0/target0/lun0/disc: 0.000-131072.000 
megabytes
Disk label type: msdos
MinorStart   End Type  Filesystem  Flags
1  0.031 130316.330  primary   ext3boot
2 130316.331 131069.377  extended  lba
5 130316.361 131069.377  logical   linux-swap  
Information: Don't forget to update /etc/fstab, if necessary. 

If you need more information, ask, I'll provide. These are test machines, so I 
could repeat this (or something else) easily...


regards,
 Holger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#285354: cannot resize some (ext3) partitions (ppc+x86)

2004-12-12 Thread Giuseppe Sacco
Il giorno dom, 12-12-2004 alle 19:59 +0100, Holger Levsen ha scritto:
[...]
 But on two different machines (one x86-k6 with an 160gb ide and a pegasos2 
 (with amiga disklabels) and a 40gb ide) I encountered two partitions which 
 cannot resize, which is think I should be able to do.
[...]

Hi,
could you please specify what the error is? Do you have any error
message? Why you think this is a partman problem instead of an
ext2resize bug?

Thank,s
Giuseppe



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]