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

mke2fs incorrectly detects partition size

Hash: SHA1

Hi all,

I don't know if this is the right list, but here goes what happened 
recently to me.

I have an IDE disk (hda: QUANTUM FIREBALLP AS20, ATA DISK drive / hda: 
39851760 sectors (20404 MB) w/1902KiB Cache, CHS=2480/255/63, UDMA(100)) 
connected to 00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12)

I've decided to make a partition, so I've fired up fdisk and make a new 
one (hda7) of 4GB, as you can see in this line:

/dev/hda7          1170      1679   4096543+  83  Linux

Then I've run mke2fs -j /dev/hda7, mounted it, copied data to it, umount 
it. I've not rebooted.

Now I'm trying to mount it back, after a reboot, and mount refuses to 
mount it, kernel gives me this message:

VFS: Can't find ext2 filesystem on dev ide0(3,7).

Remembering what happened, I noted that the partition got formated like if 
it was just 1GB. All this was done using kernel 2.4.18-27.7.x under RedHat 

Any idea of what caused this? And hopefully how can I get my data back?

Thanks in advance,

PS: please CC me the responses, since I'm not on this list, thank you.
- -- 
Robinson Maureira Castillo
Gerencia de Sistemas y Tecnologias
- --
"Unix is simple and coherent, but it takes a genius (or a programmer at
any rate) to understand and appreciate it's simplicity" - Dennis Ritchie

Version: GnuPG v1.0.7 (GNU/Linux)


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