Hi,

I resized a partition using parted; but it generated a
file/partion size mismatch. Here is the before: 

parted print /dev/hda

Disk geometry for /dev/hda: 0.000-28615.781 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem 
Flags
1          0.031   2047.346  primary   FAT         
2       2047.346  15045.249  primary   ntfs       
boot
3      15045.249  15092.314  primary   ext3        
4      15092.314  28615.781  extended              lba
5      15092.345  27596.030  logical   ext3        
6      27596.061  28615.781  logical   linux-swap  


(parted) resize  5 15092.345 21092
(parted) mkpartfs logical ext3 21093.156 27596.061

after:

Disk geometry for /dev/hda: 0.000-28615.781 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem 
Flags
1          0.031   2047.346  primary   FAT         
2       2047.346  15045.249  primary   ntfs       
boot
3      15045.249  15092.314  primary   ext3        
4      15092.314  28615.781  extended              lba
5      15092.345  21093.156  logical   ext3        
7      21093.188  27596.030  logical   ext2 
6      27596.061  28615.781  logical   linux-swap  

When I tried to reboot, theres some kind of file
system problem and it goes into read-only mode.

e2fsck shows this:


Either the superblock or the partition table is likely
to be corrupt! 

What did I do wrong? 

Thanks in advance,
Mark









                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


_______________________________________________
Bug-parted mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to