On Fri, 9 Apr 2010 at 15:42, Kiswono Prayogo wrote: > Hi, i'm using ubuntu 9.10 64-bit (combined with mint, debian unstable, > trisquel repositories)
Wow, that's quite a mix you have there :-) > how can i repair the partition without reformating that partition and > recreate the partition using "-c" flag.. What do you mean by "repair the partition"? The badblocks program already pointed out that the disk has some bad sectors, your syslog confirms that you might want to replace the disk. Is your JFS filesystem on top of this disk also damaged already? If so, the safest way would be to: - copy the data off to a new disk (use dd or dd_rescue) - make another copy of this new copy - try to fsck.jfs the backup copy, roll back to the first copy if things go wrong. > why does fsck.jfs did not give "-c" option like fsck.ext3 did? ^^ > -c Check for bad blocks and add them to the badblock list I never understood why a filesystem checking tool should care for badblocks at all (IIRC Reiserfs too has some badblocks program), as it has nothing to do with the filesystem but with the (dying) disk underneath. Maintaining a "badblock list" sounds kinda risky to me. The mkfs.* tools do have this option (mkfs.jfs does too) as an added bonus, I guess. Christian. -- BOFH excuse #279: The static electricity routing is acting up... ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
