Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-30-2009, 02:26 PM   #1
LQ Newbie
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
second hard disk will not mount on client


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?

Old 06-30-2009, 02:51 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,076
Blog Entries: 14

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Did you run "exportfs -a" after editing /etc/exports on the server?

Have you run "exportfs" to verify it shows as exported?
Old 06-30-2009, 03:13 PM   #3
LQ Newbie
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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.


drive, hard, mount, nfs, second

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:57 AM.

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