filesystem 이 엉망이 된것 같은데요. !!!
루트에서 ls -al  / 이라고 명령했을때 
ls: a: Stale NFS file handle  이라는 에러 가 발생해서
fsck 
rm -rf /a
라고 명령을 내림
이후 아래와 같은 현상..
[freed@neptune /]$ ls -al
ls: boot: Input/output error                           <---------------
ls: opt: Input/output error                             <---------------
ls: a: Stale NFS file handle                             <---------------
total 200
drwxr-xr-x   21 root     root         4096 May 18 17:54 .
drwxr-xr-x   21 root     root         4096 May 18 17:54 ..
-rw-r--r--    1 root     root            0 Apr 12 10:17 .autofsck
drwxr-xr-x    2 root     root         4096 Dec  4 11:41 bin
drwxr-xr-x   20 root     root       118784 Apr 12 10:17 dev
drwxr-xr-x   56 root     root         4096 May 18 17:48 etc
drwx-----x   24 root     root         4096 May 15 22:45 home
drwxr-xr-x    2 root     root         4096 Jan 25  2003 initrd
drwxr-xr-x    9 root     root         4096 Nov 15  2003 lib
drwx------    2 root     root        16384 Nov 15  2003 lost+found
drwxr-xr-x    2 root     root         4096 Jan 28  2003 misc
drwxr-xr-x    2 root     root         4096 Nov 15  2003 mnt
dr-xr-xr-x   93 root     root            0 Apr 12 19:17 proc
drwxr-x---    8 root     root         4096 May 18 17:46 root
drwxr-xr-x    2 root     root         8192 Nov 15  2003 sbin
d---------    3 root     root         4096 Nov 15  2003 tftpboot
drwxrwxrwt   39 root     root         4096 May 18 18:39 tmp
drwxr-xr-x   15 root     root         4096 Dec 11 11:55 usr
drwxr-xr-x   17 root     root         4096 Nov 20 09:50 var
/boot 가 사라짐
/opt 가 사라짐
[freed@neptune /]$ su -l
su: error while loading shared libraries: libpam.so.0: cannot open shared object file: Input/output error
[freed@neptune /]$ login
login: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
[freed@neptune /]$ sudo
sudo: error while loading shared libraries: /lib/libcrypt.so.1: cannot read file data: Invalid argument
[freed@neptune /]$
[freed@neptune /]$ cd /bin/
[freed@neptune bin]$ ls -al
ls: sh: Input/output error
ls: bash2: Input/output error
ls: cannot read symbolic link awk: Input/output error
total 2908910281
drwxr-xr-x    2 root     root         4096 Dec  4 11:41 .
drwxr-xr-x   21 root     root         4096 May 18 17:54 ..
-rwxr-xr-x    1 root     root         2644 Feb 25  2003 arch
-rwxr-xr-x    1 root     root        92444 Feb  7  2003 ash
-rwxr-xr-x    1 root     root       492968 Feb  7  2003 ash.static
lr-Srwx---  18579 2043474539 667405820 3629101707 Sep 27  1994 awk
-rwxr-xr-x    1 root     root        10848 Feb 19  2003 basename
-rwxr-xr-x    1 root     root      2931077 Nov 24 13:05 bash
lrwxrwxrwx    1 root     root            3 Nov 15  2003 bsh -> ash
-rwxr-xr-x    1 root     root        14364 Feb 19  2003 cat
-rwxr-xr-x    1 root     root        18076 Feb 19  2003 chgrp
-rwxr-xr-x    1 root     root        18076 Feb 19  2003 chmod
-rwxr-xr-x    1 root     root        19772 Feb 19  2003 chown
-rwxr-xr-x    1 root     root        47732 Feb 19  2003 cp
d-wSr-s--t  11967 2275572494 1196666741 3830756694 Aug 19  2016 cpio
lrwxrwxrwx    1 root     root            4 Nov 15  2003 csh -> tcsh
-rwxr-xr-x    1 root     root        19868 Feb 19  2003 cut
-rwxr-xr-x    1 root     root        38620 Feb 19  2003 date
-rwxr-xr-x    1 root     root        30772 Feb 19  2003 dd
-rwxr-xr-x    1 root     root        28596 Feb 19  2003 df
-rwxr-xr-x    1 root     root         4064 Feb 25  2003 dmesg
lrwxrwxrwx    1 root     root            8 Nov 15  2003 dnsdomainname -> hostname
-rwxr-xr-x    1 root     root         2516 Mar 13  2003 doexec
lrwxrwxrwx    1 root     root            8 Nov 15  2003 domainname -> hostname
-rwxr-xr-x    1 root     root        52952 Jan 31  2003 dumpkeys
-rwxr-xr-x    1 root     root        12156 Feb 19  2003 echo
----r--rw-  25628 1258889936 3601251977 8417447717051893403 Jun 12  1971 ed
[freed@neptune bin]$ mount
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/md0 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
[freed@neptune bin]$
지금 장비를 재부팅하면 자동 복구가 될런지...
현재 웹/메일/디비/FTP/등등 의 서비스 중에 웹과 디비만 정상 작동중입니다.
부팅후 자동 복구가 안된다면 ... 주말까지 서버를 살릴수가 없고..
주말까지 버티면 웹/디비 만 써야 하는 상황입니다.
조언 부탁드립니다.


댓글 달기