The files in my hard drive is disappeared suddenly after restart computer.

When I plugging the hard drive, it's detected, contain spaces occupied, but I can't find any file even enter ls -al in terminal.

The result of fdisk -l:

fdisk -l

I'm using Ubuntu 16

1st Edit

Result of df command is showing my external disk:

/dev/sdc1 976751316 463861712 512889604 48% /media/lxuancheng/SANSUNG HD

but mountpoint /dev/sdc1 is returning /dev/sdc1 is not a mountpoint

How can I recover my files?

  • Does sdb1 get mounted anywhere? Use df to see if it's mounted. – ubfan1 Apr 17 '17 at 21:20
  • Yes, sdb1 is mounted, I can enter in it, but it's not showing any file – Lai32290 Apr 17 '17 at 21:29
  • Since mount points are directories, being able to "enter in it" doesn't necessarily mean the device is mounted. – steeldriver Apr 17 '17 at 22:50
  • @steeldriver How can I check if it's mounted? – Lai32290 Apr 17 '17 at 23:10
  • Use df like @ubfan1 suggested - or mountpoint /path/to/dir where dir is where you believe it to be mounted – steeldriver Apr 17 '17 at 23:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.