Results 1 to 9 of 9
Following is posted on behalf of jmt:
Originally Posted by jmt
I had the following error message:
EXT2 -fs error (device ide0(3,Cool): ext2_check_page: bad entry in directory #2: inode out ...
- 04-28-2005 #1Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
EXT2 Error
Following is posted on behalf of jmt:
Matt
Originally Posted by jmt /IMHO
//got nothin'
///this use to look better
- 04-28-2005 #2Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Assuming that the partition is actually an ext2 filesystem, it looks like it must be corrupt. I would run fsck on the filesystem, but that must be done with the partition umounted. If it is your root ( / ) partition, you will need to boot in 'single' mode, or use your install CD in "rescue" mode. If this isn't clear, please post what distro you have, is it a new install or have you been using it for a while and if you have an idea what caused this.
/IMHO
//got nothin'
///this use to look better
- 04-28-2005 #3Just Joined!
- Join Date
- Apr 2005
- Posts
- 5
We use this machine more as a file server but it also housed our inhouse database. The machine has been up for more than a year and we haven't had any problems until this week. I can see into other directories except our primary directory - Public. Here is how we have it set up:
root@lsl:/# ls -l
total 136
drwxr-xr-x 2 root root 4096 Nov 16 09:50 backup
drwxr-xr-x 2 root bin 4096 Apr 20 2003 bin
drwxr-xr-x 2 root root 4096 Aug 20 2003 boot
drwxr-xr-x 14 root root 45056 Apr 28 12:21 dev
drwxr-xr-x 44 root root 4096 Apr 28 14:28 etc
drwxr-xr-x 30 root root 8192 Jan 8 10:16 home
drwxr-xr-x 6 root root 4096 Jan 9 2004 ir3300drivers
drwxr-xr-x 4 root root 4096 Apr 20 2003 lib
drwx------ 2 root root 16384 Aug 19 2003 lost+found
drwxr-xr-x 5 root root 4096 Mar 16 2002 mnt
drwxr-xr-x 4 root root 4096 Mar 7 2003 opt
drwxr-xr-x 2 root root 4096 Dec 8 13:32 private
dr-xr-xr-x 53 root root 0 Apr 28 08:16 proc
drwxr-xr-x 22 mwolfing users 4096 Apr 28 09:20 public
drwx--x--- 15 root root 4096 May 28 2004 root
drwxr-xr-x 2 root bin 4096 Jan 20 2004 sbin
drwxr-xr-x 4 root root 4096 Aug 21 2003 shares
drwxr-xr-x 4 root root 4096 Nov 2 11:41 test
drwxrwxrwt 9 root root 4096 Apr 28 12:59 tmp
drwxr-xr-x 18 root root 4096 Sep 23 2003 usr
drwxr-xr-x 18 root root 4096 Sep 23 2003 var
- 04-28-2005 #4Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Can you post the result of the command 'mount' ?
/IMHO
//got nothin'
///this use to look better
- 04-28-2005 #5Just Joined!
- Join Date
- Apr 2005
- Posts
- 5
root@lsl://# mount
/dev/hda1 on / type ext2 (rw)
/dev/hda5 on /var type ext2 (rw)
/dev/hda6 on /home type ext2 (rw)
/dev/hda7 on /usr/src type ext2 (rw)
/dev/hda8 on /public type ext2 (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
proc on /proc type proc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
- 04-28-2005 #6Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
I would try to umount and fsck the public partition:
Code:umount -l /dev/hda8 fsck /dev/hda8 mount /dev/hda8 /public
/IMHO
//got nothin'
///this use to look better
- 04-28-2005 #7Just Joined!
- Join Date
- Apr 2005
- Posts
- 5
Will do,
Thanks, I'll let you know how it turns out,
Matt
- 04-29-2005 #8Just Joined!
- Join Date
- Apr 2005
- Posts
- 5
Update to EXT2 Error
I ran the fsck operations with mixed results. All files were renamed with a preceeding # sign followed by a numeric name. Some of the files were retreived in good shape others weren't.
Thanks for all your help, now comes the task of recovering everything.
Matt
- 04-29-2005 #9
I would take the time if you can and backup and switch filesystems EXT2 is very dated and really should not be used same with EXT3 (yes i know they are well tested but so is reiserfs V3) maybe use jfs/xfs for the database partition (i say this cause there good at large file handling reiserfs is the opposite) and reiserfs for the rest..


Reply With Quote