mount problem: "Not a directory"
Hi all,
A few days ago I tried rebooting my Linux server. It took such a long time that in order to speed up the process I unplugged the power. After I restarted I got messages saying that my file system was read only. It took forever to boot and while I eventually got in the system I couldn't bring up my network interfaces. I decided to reinstall Linux. Before doing so I tried backing up my data using Freenas (to get my interfaces up and running and perform a network copy using samba). Somehow I couldn't mount the drive that I wanted to backup. I ssh'd into the freenas-server, and issued the commands: Quote:
Quote:
Quote:
When I do ls -al, the directory (share) is not shown! and when I just issue an ls without -al, the directory (share) is shown.. Thanks |
Post the exact output of
Code:
mount |
??? is there a folder in /mnt called share ???
if not make one. if you ran mkdir as a normal user it might not have been made. and why this " -t ext2fs " ?? what format is /dev/ad6s1 ext2 , ext3 , ext4 , jfs ,LVM ????? |
This not really what you asked but: Pulling the power plug is the absolute worst way to shut down anything---including a computer. If it is not possible from the keyboard, then the preferred method is to hold the power button for a few seconds until the power supply shuts down.
If the normal shutdown methods do not work, then I would try "init 0" or "shutdown -h now" before doing anything more radical. |
Quote:
|
Hi,
I've been sick; therefor the delayed response. I was unable to reproduce the exact same error and once I realized that most of the data I was after was actually stored on a different disc than the disc that had the read-only file-system, there was no reason to pursue the matter. Thanks all for your advice. |
All times are GMT -5. The time now is 04:36 PM. |