Re: File System corruption

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

 



On Fri, Jan 17, 2003 at 03:33:48PM +0000, Stephen C. Tweedie wrote:
> Hi,
> 
> On Thu, 2003-01-16 at 15:09, Mark Phalan wrote:
> 
> > Yesterday I nuked an old fat32 partition on my hard drive using fdisk. I
> > just destroyed the partition and then created a new linux partition. Then I
> > created an ext3 filesystem with the following command
> > 
> > mkfs.ext3 -j /dev/hdc1
> 
> Ouch.  I'd guess that you had other partitions on this disk in use at
> the time, so the kernel was unable to reread the partition table when
> you created the new partition.  You'd get a big warning from the kernel
> if that happened, and from that point on, the kernel's idea of the
> partition table and the version on disk could have been out of sync. 
> That would leave the new partition unreadable after the reboot.

Uh-Oh! That probably was the problem then.. I did do it while other
partitions were mounted on the same disk!
 
> There's a tool called "gpart" which can guess partition locations and
> which may be able to find the right start of the filesystem for you.
>

I'll check out gpart and see if I can get things back.

Thanks for the speedy response,

Mark

 
> Cheers,
>  Stephen



_______________________________________________

Ext3-users@redhat.com
https://listman.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux