The journal on my disk had died, and the drive was mounted only as read-only and I could not re-mount it as read write.
So I have unmounted it ran e2fsck and re-mounted the drive.
The disk is fixed, but the files are gone. I can actually see the space on the disk being taken by my files as:
Filesystem Size Used Avail Use% Mounted on
1.9T 46G 1.7T 3% /drive
So They are there, I just cannot access it. The following is what I did:
[root@box log]# umount /dev/mapper/drive
[root@box log]# e2fsck /dev/mapper/drive
e2fsck 1.41.12 (17-May-2010)
/dev/mapper/drive: recovering journal
/dev/mapper/drive contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mapper/drive: ***** FILE SYSTEM WAS MODIFIED *****
/dev/mapper/drive: 1704368/124518400 files (1.1% non-contiguous), 19741609/498065408 blocks
[root@box log]# mount -o remount,rw /drive
How can I recover the files? Did I re-mount it incorrectly? Thanks in advance!