File system problem
Hi,
I am in a big problem.I don't know what has happened but yesterday suddenly when I was trying to create a directory in /export/home I got this error mkdir: cannot create directory `scripts': Read-only file system from /var/log/messages I found that the partition /export/home has been remounted to "read-only" mode and here is the sample log entry ----------- Apr 23 08:32:22 host1 kernel: ext3_abort called. Apr 23 08:32:22 host1 kernel: EXT3-fs error (device /export/home): ext3_journal_start_sb: Detected aborted journal Apr 23 08:32:22 host1 kernel: Remounting filesystem read-only Apr 23 08:32:22 host1 kernel: EXT3-fs error (device /export/home) in start_transaction: Journal has aborted Apr 23 08:32:22 host1 kernel: EXT3-fs error (device /export/home) in start_transaction: Journal has aborted Apr 23 08:32:43 host1 kernel: cciss: cmd f70213e0 timedout Apr 23 08:32:43 host1 kernel: printk: 83 messages suppressed. Apr 23 08:32:43 host1 kernel: Buffer I/O error on device /export/home, logical block 102993 Apr 23 08:32:43 host1 kernel: lost page write due to I/O error on /export/home -------------------------------- Could someone please explain as why this error surfaces and what should be the solution for this. Please help me as soon as possible.Very Urgent. Thanks, Sir_com |
Maybe boot into single user mode, can't tell you how as you did not mention which Linux you're using. When you get a root prompt type: fdisk -l to see your drive/partition layout. If by this command you found your /export/home partition is /dev/hdb1, try running a file system check on the partition with this command: fsck /dev/hdb1, hit enter or the letter y at every question to accept defaults. Hopefully it will work if the file system is mounted read only, it should. Wait till the prompt returns before issuing command: reboot
|
first form fstab -l check ur drive no.
then mount it again at the preveious mounting point then run "mount -o remount /export/home" OR "mount -o remount /home" OR "mount -o remount (partiton number) then try to make directory again hope it should work |
All times are GMT -5. The time now is 05:12 PM. |