Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New NAS - Cant mount/see HDD drives [SOLVED]
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Thu Aug 15, 2013 2:48 pm    Post subject: Reply with quote

Not sure whether its helpful or not. The only thing I can think of which might cause it is a failure of local DNS services.

Can you try setting up the share again, but using the IP address of your PC instead of its name?

Paul.
Back to top
View user's profile Send private message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 334
Location: North East England

PostPosted: Sat Aug 17, 2013 8:35 pm    Post subject: Reply with quote

Thanks Paulm

As an aside, is it possible to SSH into a/my NAS as a standard user ?

I can SSH in as either Admin (an admin user, that's not root itself)
and as root proper.

The reason being is, i'd like to know the user ID of my standard user account on my NAS.
(And I currently can't login as my standard NAS user account via SSH. I'm certain that I'm using the right credentials).
Back to top
View user's profile Send private message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Sun Aug 18, 2013 5:10 am    Post subject: Reply with quote

GeordieJedi wrote:
Thanks Paulm

As an aside, is it possible to SSH into a/my NAS as a standard user ?

I can SSH in as either Admin (an admin user, that's not root itself)
and as root proper.

The reason being is, i'd like to know the user ID of my standard user account on my NAS.
(And I currently can't login as my standard NAS user account via SSH. I'm certain that I'm using the right credentials).


Can't say for certain, but it would be unusual - most user acounts on the NAS systems I'm familiar with have shell set to something like /bin/false, since they shouldn't be able to log in to a shell. Which means there is no chance to SSH in either.

Also not universal, but not unusual, root and admin are often synonomous (sp).

Paul.
Back to top
View user's profile Send private message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 334
Location: North East England

PostPosted: Fri Dec 06, 2013 10:18 pm    Post subject: Reply with quote

OK, here is some more information.

N.B. I tried these commands on my 2nd PC (laptop) but with the same entries in the FSTAB


Command 01 (on the client PC)
Code:
mount | grep nfs


Result 01 (on the client)

Code:
nfsd on /proc/fs/nfsd type nfsd (rw)




Command 02 (on the client PC)
Code:
sudo mount /mnt/video_share/video


Result 02
Code:
mount.nfs: access denied by server while mounting Hoth:/volume1/video




Command 03 (on the client PC)
Code:
ls -l /mnt


Result 03
Code:
drwxr-xr-x 3 root root 4096 Dec  6 21:47 music_share
drwxr-xr-x 3 root root 4096 Dec  6 21:47 photo_share
drwxr-xr-x 3 root root 4096 Dec  6 21:47 video_share
Back to top
View user's profile Send private message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 334
Location: North East England

PostPosted: Wed Jan 01, 2014 9:45 pm    Post subject: Reply with quote

OK, I have attempted a couple of new things.

Whilst logged into the NAS box I have updated the hosts & hosts.allowed files.
I have added both the IP addresses and host names into these files.

E.G.

Hosts file -
Code:
127.0.x.x       localhost
192.168.x.x     Hoth
192.168.x.x     Yavin
192.168.x.x     stardestroyer


Hosts.allow file -
Code:
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
#
192.168.x.x     Yavin
192.168.x.x     stardestroyer



Here is the output from my exports file on the NAS box =

Code:
/volume1/video  stardestroyer(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0) Yavin(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)

/volume1/photo  stardestroyer(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)  Yavin(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0

/volume1/music  stardestroyer(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0) Yavin(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)

/volume1/homes  stardestroyer(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)



I still get the error message when I run the following code =

Code =
Code:
sudo mount /mnt/video_share/video


error message =
Code:
mount.nfs: access denied by server while mounting Hoth:/volume1/video



N.B.
Yavin and stardestroyer are the hostnames of my client PC's
Back to top
View user's profile Send private message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 334
Location: North East England

PostPosted: Mon Jan 13, 2014 8:28 pm    Post subject: Reply with quote

IT'S WORKING !!!!
(Apologies for the caps but I'm absolutely over the moon !)

I'm not 100% sure but, I believe that updating the hosts and
hosts.allowed files has done the trick.

I now have access to my NAS via the web browser and more importantly the GUI.

I have been able to back up my data and media from my PC's to the NAS
It's working well.

(All I need to do now, is figure out how to get it talking to my Raspberry Pi
and then I'm going to be cooking with gas !)

A BIG THANK YOU everyone who helped me with this
issue.

You are all legends, and I owe you all a pint !

Thanks again, it's MUCH appreciated.

Take it easy
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast