bug-parted
[Top][All Lists]
Advanced

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

resize - truncates file system???


From: Mark Donaghue
Subject: resize - truncates file system???
Date: Tue, 30 Aug 2005 09:05:46 -0700 (PDT)

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 
 




reply via email to

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