LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 06-30-2009, 02:26 PM   #1
mayam
LQ Newbie
 
Registered: Jun 2009
Posts: 2
Thanked: 0
second hard disk will not mount on client


[Log in to get rid of this advertisement]
Hi!

I have a second hard drive installed on server. It has been mounted on server but I cannot mount it on client. I've tried to export it from server by putting:
/opt2 name.domain(rw,no_root_squash)
in server's /etc/exports.
In server's /etc/fstab, I have the entry:
/dev/hdb1 /opt2 ext3 defaults 1 2

In client's /etc/fstab, I put:
name.domain:/opt2 /opt2mnt nfs defaults 0 0

When trying to mount I get:
mount: name.domain:/opt2 failed, reason given by server: Permission denied

I've also try to mount it on client manually by:
mount -t nfs name.domain:/opt2 /opt2mnt

I am also mounting server's home directory on client, without problems, so I'd say NFS works fine.

Does anybody have an idea what might cause the problem?

Thanks.
mayam is offline  
Tag This Post , , , ,
Reply With Quote
Old 06-30-2009, 02:51 PM   #2
jlightner
Senior Member
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 3,548
Thanked: 144
Did you run "exportfs -a" after editing /etc/exports on the server?

Have you run "exportfs" to verify it shows as exported?
jlightner is offline     Reply With Quote
Old 06-30-2009, 03:13 PM   #3
mayam
LQ Newbie
 
Registered: Jun 2009
Posts: 2
Thanked: 0

Original Poster
Hi jlightner,

Thank you for your reply.
I did do exportfs -a and I did verify exports with exportfs. It shows my entry: /opt2 name.domain
I've also restarted nfs. I've rebooted server and client too, but to no avail.
Could it be that I have to change some permissions?
Here are permissions for opt2 folder on server:
drwxr-xr-x root root

The opt2 folder contains hdb1. Permissions of hdb1 are:
drwxrwxrwx root root

I don't see anything wrong with these permissions but I am far away from being a linux expert.
mayam is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Mount the Hard disk which NTFS sunilerp Linux - Hardware 3 01-05-2008 09:22 PM
How to mount the Hard disk ariestruong Linux - Newbie 9 03-25-2006 01:11 AM
Where to mount temporary hard disk frazelle09 Linux - Hardware 2 09-03-2005 05:55 PM
Trying to mount a second hard disk clucas Linux - Newbie 8 11-11-2004 09:53 PM
How to mount a New Hard Disk ! ? bennethos Linux - Newbie 6 10-16-2003 05:09 AM


All times are GMT -5. The time now is 07:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration