/# fsck /dev/sdc1 fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) fsck.ext2: Superblock invalid, trying backup blocks... /dev/sdc1 was not cleanly unmounted, check forced. Resize inode not valid. Recreate? yes Pass 1: Checking inodes, blocks, and sizes Root inode is not a directory. Clear? yes Inode 8, i_blocks is 0, should be 32808. Fix? yes Pass 2: Checking directory structure Entry '..' in ??? (8161) has deleted/unused inode 2. Clear? yes Entry '..' in ??? (24481) has deleted/unused inode 2. Clear? yes Entry '..' in ??? (32641) has deleted/unused inode 2. Clear? yes Entry '..' in ??? (40801) has deleted/unused inode 2. Clear? yes Entry '..' in ??? (48961) has deleted/unused inode 2. Clear? yes Pass 3: Checking directory connectivity Root inode not allocated. Allocate? yes Unconnected directory inode 8161 (...) Connect to /lost+found? yes /lost+found not found. Create? yes Unconnected directory inode 24481 (...) Connect to /lost+found? yes Unconnected directory inode 32641 (...) Connect to /lost+found? yes Unconnected directory inode 40801 (...) Connect to /lost+found? yes Unconnected directory inode 48961 (...) Connect to /lost+found? yes Pass 4: Checking reference counts Inode 8161 ref count is 5, should be 4. Fix? yes Inode 24481 ref count is 5, should be 4. Fix? yes Inode 32641 ref count is 5, should be 4. Fix? yes Inode 40801 ref count is 5, should be 4. Fix? yes Inode 48961 ref count is 5, should be 4. Fix? yes Pass 5: Checking group summary information Block bitmap differences: +(0--577) Fix? yes Free blocks count wrong for group #0 (32183, counted=32188). Fix? yes Free blocks count wrong for group #1 (32191, counted=32182). Fix? yes Free blocks count wrong for group #3 (32191, counted=32182). Fix? yes Free blocks count wrong for group #4 (32256, counted=32247). Fix? yes Free blocks count wrong for group #5 (32191, counted=32182). Fix? yes Free blocks count wrong for group #6 (32256, counted=32247). Fix? yes Free blocks count wrong (252518, counted=252478). Fix? yes Inode bitmap differences: +1 +(3--10) Fix? yes Free inodes count wrong for group #0 (8148, counted=8149). Fix? yes Directories count wrong for group #0 (3, counted=2). Fix? yes Free inodes count wrong for group #1 (8160, counted=8151). Fix? yes Directories count wrong for group #1 (0, counted=5). Fix? yes Free inodes count wrong for group #3 (8160, counted=8151). Fix? yes Directories count wrong for group #3 (0, counted=5). Fix? yes Free inodes count wrong for group #4 (8160, counted=8151). Fix? yes Directories count wrong for group #4 (0, counted=5). Fix? yes Free inodes count wrong for group #5 (8160, counted=8151). Fix? yes Directories count wrong for group #5 (0, counted=5). Fix? yes Free inodes count wrong for group #6 (8160, counted=8151). Fix? yes Directories count wrong for group #6 (0, counted=5). Fix? yes Free inodes count wrong (65268, counted=65224). Fix? yes /dev/sdc1: ***** FILE SYSTEM WAS MODIFIED ***** /dev/sdc1: 56/65280 files (0.0% non-contiguous), 8570/261048 blocks /#/# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 15G 6.8G 7.3G 49% / tmpfs 495M 0 495M 0% /dev/shm /dev/sda5 2.0G 36M 1.8G 2% /data /dev/sda2 1008M 47M 911M 5% /home /# mount -t ext3 /dev/sdc1 /testhome /# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 15G 6.8G 7.3G 49% / tmpfs 495M 0 495M 0% /dev/shm /dev/sda5 2.0G 36M 1.8G 2% /data /dev/sda2 1008M 47M 911M 5% /home /dev/sdc1 1004M 18M 936M 2% /testhome /# cd /testhome /testhome# ls lost+found /testhome# cd lost+found/ /testhome/lost+found# ls #24481 #32641 #40801 #48961 #8161 /testhome/lost+found# ls -l 합계 20 drwx------. 4 tuser20 tuser20 4096 2016-02-06 16:04 #24481 drwx------. 4 tuser30 tuser30 4096 2016-02-06 16:04 #32641 drwx------. 4 tuser40 tuser40 4096 2016-02-06 16:04 #40801 drwx------. 4 tuser50 tuser50 4096 2016-02-06 16:04 #48961 drwx------. 4 tuser10 tuser10 4096 2016-02-06 16:04 #8161 /testhome/lost+found# ls -a '#24481' . .. .bash_logout .bash_profile .bashrc .emacs .gnome2 .mozilla /testhome/lost+found# cp -rp '#24481' ../tuser20 /testhome/lost+found# cp -rp '#32641' ../tuser30 이런식으로 나머지 계정도 원래 위치로 디렉토리명을 바꿔서 복사하면 됨. /testhome/lost+found# su - tuser20 [tuser20@vega ~]$ ls -a . .. .bash_logout .bash_profile .bashrc .emacs .gnome2 .mozilla [tuser20@vega ~]$ pwd /testhome/tuser20 [tuser20@vega ~]$ * 계정이 경고나 에러없이 변경되었으며 원래 파일도 그대로 다 있음.(복구성공)