Respective sir,
I have Centos-6.2 on my system(P-4,1GB RAM, 80GB hdd).While working on my system I just face one problem my all folder get symbol of lock so I go for open terminal but my terminal is also not opened.So I shut down my pc without proper way.After restart my system I got shell prompt.their is one message (Give root password or press Ctrl-d)
so I give my password I got root@system#Prompt which is saying run fsck manually without -a -p so I run this option and again restart my system.In single mode user Here on root prompt I just type fsck -t ext3 /dev/sda3 and press enter that time I got warning message that checking mounted filesystem may damage your filesystem but I ignor the warning and I start file checking and pressing Enter continously. after some time I restart my computer and when I try to start in normal mode that time I got following error.
mount:/dev/sda3 already mounted or /sysroot busy
according to mtab,/dev/sda3 is already mounted on /syroot.
Kernel panic-not syncing:attempted to kill init! panic occured,switching back to text console
I know I myself created this problem by forcefully checking mounted filesystem. but after this I try take another hard disk in that harddisk I have Ubuntu 12.04 LTS I start ubuntu in single user mode and here when I try to mount the centos root partition \(i.e mount -t ext4 /dev/sda3 /media\) that time this partion is successfully mounted in my /media directory but when I open the /media that time their nothing except lost\+found folder
Then after this I start my system in normal mode and when Idouble click on my centos root partition that time it is showing only lost\+found folder in it no other folders are their so how can I take my system to its prevoius mode.
root@kiran-System-Name:/# dumpe2fs /dev/sda3 | grep -i superblock
dumpe2fs /dev/sda3 | grep -i superblock
dumpe2fs 1.42 (29-Nov-2011)
Primary superblock at 0, Group descriptors at 1-2
Backup superblock at 32768, Group descriptors at 32769-32770
Backup superblock at 98304, Group descriptors at 98305-98306
Backup superblock at 163840, Group descriptors at 163841-163842
Backup superblock at 229376, Group descriptors at 229377-229378
Backup superblock at 294912, Group descriptors at 294913-294914
Backup superblock at 819200, Group descriptors at 819201-819202
Backup superblock at 884736, Group descriptors at 884737-884738
Backup superblock at 1605632, Group descriptors at 1605633-1605634
Backup superblock at 2654208, Group descriptors at 2654209-2654210
Backup superblock at 4096000, Group descriptors at 4096001-4096002
then I use
root@kiran-System-Name:/# fsck.ext4 -b 32768 /dev/sda3
here I got huge lines after that when I mount sda3 again in /media even their are so many file with names started with it.
so How to recover this data from lost+found folder