Author Topic: Cf Ext2 Partition Table Change  (Read 1814 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Cf Ext2 Partition Table Change
« on: June 19, 2006, 03:23:42 am »
I've just gone through an unpleasant episode.

I use an 8 gig CF formatted ext2, and usually never pull it out, am careful to try to reboot, instead of just pulling the bat... Though I did pull out the bat a couple of times yesterday.

Then in the morning I could only read a couple of files from the CF, and a bunch of directories and files gave me an Input/output error...

Which pissed me off big time, since I obviously forget to back up all the time, and have "lost a lotta stuff"...

Messed around with it in the morn... Searched the web, but nothing conclusive, usually the respondents said "bad blocks..."

After finally deciding to reformat the CF, with teeth screeching I umounted, fdisked, deleted the old partition - which for some reason was showing as extra huge, beyond the physical limits of the CF, which is what the fsck was complaining.

Created a new 1 partition for the CF, saved the partition table. Then forgot to halt, pulled the CF out. Realized this... Felt like slapping myself. So rebooted, expecting to do it again...

And lo and behold, the data is back! I can't believe it. No input/output errors, can read and copy files off of it.

What the... ?

So am gonna back up the data now... I hope...

But what's gone on?

Apparently just fixing the partitions size fixed it... What could've caused this problem?

And what should I be extra careful about in the future to prevent it from happening again? Maybe with more serious damage...
« Last Edit: June 19, 2006, 03:23:58 am by ShiroiKuma »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Cf Ext2 Partition Table Change
« Reply #1 on: June 19, 2006, 03:45:34 am »
nice expirience!

 

yeah...keeping backup of all your data is time consuming and this reinforces me to backup my data like im doing right now.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Cf Ext2 Partition Table Change
« Reply #2 on: June 20, 2006, 08:46:10 am »
It happens i think it has to do with the juronal getting out of sink with the data or somthing like that, all i know is that the only filesystem you want to do a unclen unmount is a read only

i have had the same thing happen to me
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware