I have searched all over the Internet, and perhaps I missed the answer to this question, but I still cannot solve it yet.
So far, I have successfully mounted my QNAP drive:
- Make a folder for the mount point: /home/t420/QNAP
- Edit (after getting root privileges) the /etc/fstab file to include the following:
- //192.168.x.xxx/homes /home/t420/QNAP nfs defaults
- sudo mount -a
- For those who are new at this and trying to learn or those trying to understand what the heck I am doing, this is what I understand of the first line I added:
- 1st field is the "block device", the address and folder of the device you are trying to mount.
- 2nd field is the mount point folder.
- 3rd field is the file system type (nfs in my case).
- 4th field are mount point options (using defaults).
- 5th field is for the ability of a backup utility to dump the file system, or something like that. I've left that field blank for now.
- The second line in the fstab file is my attempt to automatically mount the NAS drive.
The drive fails to mount automatically, although QNAP appears in the list of drives. If I try to click on the QNAP under the list of drives, I get the message
- Unable to mount QNAP mount:/home/t420/QNAP: operation permitted for root only.
I am able to manually mount the drive:
- If I enter root mode by typing su root, then the password, and then type the following:
- mount -t nfs 192.168.x.xxx/homes:/home/t420/QNAP
See error and correction in my comment below
|===============================================================|
To make matters more frustrating, I am now unable to mount the drive manually either. I get the message "can't find in /etc/fstab". I typed the mount command exactly as you see it above (with x's replaced by the appropriate address numbers), and the line in the fstab file also exactly as you see it. It seems that it won't recognize my QNAP folder. I really want to love Linux, but this learning curve is very icy right now.
What am I doing wrong here?!?
Larry
192.168.x.xxx/homes /home/t420/QNAP nfs defaults
andsudo mount -a
. The two//
have been removed. I have also triedmount -a
, and also triedmount -t nfs 192.168.1.141: /home/t420/qnap
. The drive still fails to automatically mount. (The drive would manually mount even when using the//
, but they are now removed as they are not to be used here.)