I'm on FreeBSD8. I have a problem with a partition. I can't mount it. It says "Operation not permitted."
I run fsck -t ufs /dev/da0p1
. After it finish the operation, I can mount it successfully. But there is no any data in the partition now. I don't know if it had some data or not.
Q: run fsck on unmounted partition. Can it cause data loss? and if yes, is there a way to recover it?
edit: I run only fsck -t ufs /dev/da0p1
. No -y or -n and when it ran, it printed Phase1,2,3,4,... and finish successfully. There is no prompt along the way.