LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-29-2014, 04:39 AM   #1
sagar666
Member
 
Registered: Feb 2013
Posts: 212

Rep: Reputation: Disabled
Auto mounts (NFS) are not working.


Hi

Auto mounts (NFS) are not working.

when we create and add mountpoints in /etc/auto.home then it will work what could be the problem

Regards,
Vidya Sagar
 
Old 12-29-2014, 06:07 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
http://catb.org/~esr/faqs/smart-questions.html

My crazy workplace blocks this site but that's the thing to read.
 
Old 01-03-2015, 08:14 AM   #3
yo8rxp
Member
 
Registered: Jul 2009
Location: Romania
Distribution: Ubuntu 10.04 Gnome 2
Posts: 102

Rep: Reputation: 31
create folders as mount points like
mkdir /mnt/auto
mkdir /mnt/cars and so on
edit fstab and add there blkid id's , not /dev/SDx names like sda5 coz they get changed in time

in terminal run as root
blkid

example
Quote:
gabriel@Desktop ~ $ sudo blkid
/dev/sda1: UUID="05d864d7-9db1-413b-93e1-d23b954b3233" TYPE="ext4"
/dev/sda5: UUID="f1ad8804-428d-40be-a6a4-e9ebd3e59e95" TYPE="swap"
/dev/sdb1: LABEL="Stuff" UUID="f5aa262c-7414-4382-8d48-3996ee8ef88b" TYPE="ext4"
/dev/sdb2: UUID="b20f23d4-511a-496f-be7a-7629a53df00b" TYPE="ext4"
/dev/sdb3: UUID="68C924F64F9C685C" TYPE="ntfs"
edit fstab and add there mount point

sudo nano /etc/fstab

UUID=f5aa262c-7414-4382-8d48-3996ee8ef88b /media/Stuff ext4 defaults 0 0


my uuid is reported by blkid and /media/Stuff is my mount point

save it and reboot, your partition should be mounted at startup , and afterwards using root user can change mount point permisions as it belongs to root user

Last edited by yo8rxp; 01-03-2015 at 08:17 AM.
 
  


Reply



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
NFS mounts llinuxxnew Linux - Server 9 04-25-2013 03:30 AM
e2fsck auto runs on / upon startup after so many mounts acummings Slackware 8 04-04-2012 06:30 PM
NFS mounts not working in AIX 5.3 getting permission denied from RHEL sudheer_pn Linux - Newbie 2 10-06-2008 01:29 AM
browse option for auto.master for yp mounts azhiker Linux - Networking 2 04-16-2005 11:13 AM
Cd mounts auto ch4s3r Linux - Software 1 02-26-2004 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration