Re: repair partition: wrong size

2010-08-06 Thread hugo vanwoerkom
Bob McGowan wrote: On 08/05/2010 07:07 AM, hugo vanwoerkom wrote: Hi, I just noticed that the partition sizes on my usb disk are wrong. debian:/# fsck -f /dev/sdb2 fsck 1.41.3 (12-Oct-2008) e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 1953905 blocks The phy

Re: repair partition: wrong size

2010-08-05 Thread Bob McGowan
On 08/05/2010 07:07 AM, hugo vanwoerkom wrote: > Hi, > > I just noticed that the partition sizes on my usb disk are wrong. > > debian:/# fsck -f /dev/sdb2 > fsck 1.41.3 (12-Oct-2008) > e2fsck 1.41.3 (12-Oct-2008) > The filesystem size (according to the superblock) is 1953905 blocks > The physica

Re: repair partition: wrong size

2010-08-05 Thread hugo vanwoerkom
George-Cristian Bîrzan wrote: On Thu, 2010-08-05 at 09:59 -0500, hugo vanwoerkom wrote: Gpart finds the partitions allright, but they aren't lost, just the wrong size. How do I set the correct size? From its page: Now if after the check-phase it says Ok, you should check the proposed partit

Re: repair partition: wrong size

2010-08-05 Thread George-Cristian Bîrzan
On Thu, 2010-08-05 at 09:59 -0500, hugo vanwoerkom wrote: > Gpart finds the partitions allright, but they aren't lost, just the > wrong size. How do I set the correct size? >From its page: Now if after the check-phase it says Ok, you should check the proposed partition table very carefully. Afte

Re: repair partition: wrong size

2010-08-05 Thread hugo vanwoerkom
George-Cristian Bîrzan wrote: On Thu, 2010-08-05 at 09:07 -0500, hugo vanwoerkom wrote: Hi, I just noticed that the partition sizes on my usb disk are wrong. [snip] sdb2 an sdb3 are wrong, they both ought to be 7815591. How does one repair that? Try gpart: http://www.brzitwa.de/mb/gpart/inde

Re: repair partition: wrong size

2010-08-05 Thread George-Cristian Bîrzan
On Thu, 2010-08-05 at 09:07 -0500, hugo vanwoerkom wrote: > Hi, > > I just noticed that the partition sizes on my usb disk are wrong. > [snip] > sdb2 an sdb3 are wrong, they both ought to be 7815591. > > How does one repair that? Try gpart: http://www.brzitwa.de/mb/gpart/index.html -- George-C

repair partition: wrong size

2010-08-05 Thread hugo vanwoerkom
Hi, I just noticed that the partition sizes on my usb disk are wrong. debian:/# fsck -f /dev/sdb2 fsck 1.41.3 (12-Oct-2008) e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 1953905 blocks The physical size of the device is 487974 blocks Either the superblock or t