bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error: fat_table_alloc_cluster: no free clusters


From: Andrew Clausen
Subject: Re: Error: fat_table_alloc_cluster: no free clusters
Date: Fri, 11 Jul 2003 09:33:47 +1000
User-agent: Mutt/1.5.4i

Oi Fernando!

On Thu, Jul 10, 2003 at 01:50:13PM -0300, Fernando Fuganti wrote:
> Ola' Clausen !
> 
> Parted doing wrong here... (well... I forced it a bit too ;)

You didn't do anything stupid... this is odd.

> this happening to me near at the end (I think) of resize operation to shrink
> partition to smallest size possible - passing to parted a value lower than
> the real start and smaller than real size - and after that, the partition
> table became corrupted...

That is very strange.  Even if the resize fails, it shouldn't corrupt
the file system or the partition table.

So, it looks like I miscalculated the minimum size the FAT resizer needs,
which would explain the first (but not subsequent problems).

I had a look, and there's a bug in checking the return codes, so Parted
might have believed the resize succeeded, which is bad.  I'd expect
your file system to be toast, but not your partition table to be also.

Perhaps there was memory corruption from the bug (I wouldn't be
surprised), which would explain it.

> well, I had the original values to (try to) restore partitions but I'm
> afraid of FAT corruption (/me runs), so, is there something that could be
> done before my attempt to run gpart ?

BTW, Parted can do gpart-type stuff...

Thanks,
Andrew





reply via email to

[Prev in Thread] Current Thread [Next in Thread]