Bug#323438: [Parted-maintainers] Bug#323438: parted: problems in resizing a logical ext3

Luca Capello luca at pca.it
Wed Sep 21 08:37:14 BST 2005


Hi Guillaume!

On Tue 20 Sep 2005 21:54 +0200, K.G. wrote:
> If your partition scheme is not too far as how it was,

Well, the partition scheme is the same as before, but the last 
partition: from a 8500MB /dev/hda9 I created a 1000MB /dev/hda10 
(with resize2fs + fdisk).

> can you please send it using the sector unit of parted ( "parted 
> /dev/hda unit s print" ) or with "fdisk -l -u /dev/hda" ?  CHS 
> would be appreciated too : "parted /dev/hda unit chs print".

For sure, here they are: ===== gismo:/home/luca# parted /dev/hda 
unit s print Disk geometry for /dev/hda: 0s - 117210239s Disk 
label type: msdos Number  Start   End     Size    Type      File 
system  Flags 1       63s     15625007s 15624945s primary   fat32 
boot, lba 2       15625008s 31250015s 15625008s primary   ext3 
3       31250016s 117210239s 85960224s extended               lba 
5       31250079s 32249951s 999873s logical   linux-swap    6 
32250015s 61546463s 29296449s logical   ext3          7 
61546527s 81077471s 19530945s logical   ext3          8 
81077535s 100608479s 19530945s logical   ext3          9 
100608543s 115257743s 14649201s logical   ext3          10 
115257807s 117210239s 1952433s logical   ext2 
Information: Don't forget to update /etc/fstab, if necessary. 

gismo:/home/luca# parted /dev/hda unit chs print Disk geometry for 
/dev/hda: 0,0,0 - 7295,254,62 BIOS cylinder,head,sector geometry: 
7296,255,63.  Each cylinder is 8225kB.  Disk label type: msdos 
Number  Start       End         Type      File system  Flags 1 
0,1,0       972,155,62  primary   fat32        boot, lba 2 
972,156,0   1945,56,62  primary   ext3          3       1945,57,0 
7295,254,62 extended               lba 5       1945,58,0 
2007,118,62 logical   linux-swap    6       2007,120,0  3831,22,62 
logical   ext3          7       3831,24,0   5046,213,62 logical 
ext3          8       5046,215,0  6262,149,62 logical   ext3 
9       6262,151,0  7174,117,62 logical   ext3          10 
7174,119,0  7295,254,62 logical   ext2          Information: Don't 
forget to update /etc/fstab, if necessary.

gismo:/home/luca# fdisk -l -u /dev/hda

Disk /dev/hda: 60.0 GB, 60011642880 bytes 16 heads, 63 
sectors/track, 116280 cylinders, total 117210240 sectors Units = 
sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/hda1   *          63    15625007     7812472+   c  W95 FAT32 
(LBA) /dev/hda2        15625008    31250015     7812504   83 
Linux /dev/hda3        31250016   117210239    42980112    f  W95 
Ext'd (LBA) /dev/hda5        31250079    32249951      499936+  82 
Linux swap / Solaris /dev/hda6        32250015    61546463 
14648224+  83  Linux /dev/hda7        61546527    81077471 
9765472+  83  Linux /dev/hda8        81077535   100608479 
9765472+  83  Linux /dev/hda9       100608543   115257743 
7324600+  83  Linux /dev/hda10      115257807   117210239 
976216+  83  Linux =====

> Thanks,

You're welcome.

Thx, bye, Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20050921/dec9aabf/attachment.pgp


More information about the Parted-maintainers mailing list