 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

20th February 2012, 07:15 PM
|
|
Registered User
|
|
Join Date: Feb 2012
Location: EA, UK
Posts: 2

|
|
|
Mounting Nas
Hi guys
firstly, please go gentle on me, it's been over 10 years since I played with linux and compared to the speed of windows, I would like to get back into using linux as its soo much faster.
Most problems I google and see if I can suss out the answer but afraid I need help with this one lol
I'm trying to learn how to mount my nas device (HDD Quad Bay Giganas) to my fedora16, been reading about and as far as I can suss out I just need to add the following command:
Quote:
|
mount //JaSonic-Nas1/public -t ext3 /mnt/md1 -o "username=yep,password=yep"
|
but when I su in and type that I get:
Quote:
|
mount: special device //JaSonic-Nas1/public does not exist
|
I have tried it with the IP address and got the same result
Quote:
|
mount //192.168.1.82/public -t ext3 /mnt/md1 -o "username=yep,password=yep"
|
Can someone please tell me where I am going wrong, I would be much appreciated.
I can confirm that the IP address is correct, as is the hostname, and also that the nas is on the same workgroup.
I did manage to create a network drive on my old windows machine using //JaSonic-Nas1/public and that worked fine :S
Do I need to add this to my /etc/fstab so it auto mounts on reboot ?
Cheers in advance for your expertise
|

21st February 2012, 04:21 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Mounting Nas
well, for one thing..
You won't be mounting it ext3. You will either mount it nfs, smbfs, or cifs depending upon how your NAS shares it. (my guess is that it runs a samba server on the NAS since it's easier to share with Windows machines that way)
try:
Code:
mount //192.168.1.82/public -t cifs /mnt/md1 -o "username=yep,password=yep"
(Make sure that the mount point '/mnt/md1' exists before trying the mount, too)
Edit:
Yes, if you wish to have it mounted on every boot, you need to put it in your /etc/fstab (or you can use the automount utilities if you wish)
Edit:
looking closer, I realize there isn't a reason for the quotes in the mount command, either.
Code:
mount //192.168.1.82/public -t cifs /mnt/md1 -o username=yep,password=yep
Last edited by DBelton; 21st February 2012 at 04:15 PM.
|

21st February 2012, 12:39 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,607

|
|
|
Re: Mounting Nas
Pardon me for jumping in, but having a similar issue:
Code:
usrn=simon
pw=password
mount //192.168.1.110/shares -t cifs /mnt/NAS -o "username=$usrn,password=$pw"
Returns:
Quote:
|
mount: Operation now in progress
|
Code:
mount //192.168.1.110/shares -t nfs /mnt/NAS -o "username=$usrn,password=$pw"
Returns:
Quote:
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
|
Tried mount.fuse, but that didnt work either, and the ntfs extensions, dont think they apply over a network.
Neither of the command made the NAS accessible with mounting.
An ideas please?
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

21st February 2012, 01:02 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
Re: Mounting Nas
Hello,
Here is how my NAS mounted by /etc/fstab. I do not have a password setup so I do not use that option.
/etc/fstab
nas:/media /export/NAS nfs rsize=8192,wsize=8192,timeo=14,intr
need to add name and IP to /etc/hosts
192.168.1.90 NAS nas # Netgear NAS server
create mount point
mkdir /export/NAS
I hope this helps. This is my info need to change to match yours
|

21st February 2012, 04:18 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Mounting Nas
Quote:
Originally Posted by sea
Pardon me for jumping in, but having a similar issue:
Code:
usrn=simon
pw=password
mount //192.168.1.110/shares -t cifs /mnt/NAS -o "username=$usrn,password=$pw"
Returns:
Code:
mount //192.168.1.110/shares -t nfs /mnt/NAS -o "username=$usrn,password=$pw"
Returns:
Tried mount.fuse, but that didnt work either, and the ntfs extensions, dont think they apply over a network.
Neither of the command made the NAS accessible with mounting.
An ideas please?
|
Try removing the quotes from your cifs mount
Code:
mount -t cifs //192.168.1.110/shares /mnt/NAS -o username=$usrn,password=$pw
You wouldn't use the username or password if you need to use a nfs mount. (remember the username and password is your Windows username and password (or the user name and password on your NAS))
|

1st April 2012, 10:22 AM
|
|
Registered User
|
|
Join Date: Feb 2012
Location: EA, UK
Posts: 2

|
|
|
Re: Mounting Nas
Still having problems guys, after your expertice please
I have added the line into my fstab file:
Quote:
//192.168.1.82/public /mnt/md1/public cifs username=admin,password=yep
//192.168.1.82/jasonic /mnt/md1/jasonic cifs username=jasonic,password=yep
|
my local drive has got the /mnt/md1/public folder and i can browse the local directories using terminal
In my nas drive I have a NetworkIncoming folder (/mnt/md1/public/media/NetworkIncoming) which I wish to use for any and all incoming files
I have even chmod 777 the NetworkIncoming folder so that other computers in the house can use that as the download directory and then if i wish to keep the file, I can then move it to its more appropriate location on the nas (my nas holds everything, no files are stored locally if i can help it)
but when I use transmission to download a file and use my NetworkIncoming folder as its download location I keep getting permission denied.
My passwd is definately correct and I have tried both admin and root as the username
Can ne1 see what I am doing wrong please ?
I should mention that my nas is a 35HD-Quad-Giganas (4tb)
Cheers Guys, appreciated
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 00:33 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|