Aleksandar Milivojevic
2005-Dec-21 16:51 UTC
[CentOS] specifying mount options in /etc/auto.master
I have this NFS client that used to be on Red Hat 7.3. For mounting user home directories I used this line in /etc/auto.master file: /home yp:auto.home rw,rsize=8192,wsize=8192 Moved the box to CentOS 4... The format of the file changed, so I attempted something like this: /home -rw,rsize=8192,wsize=8192 yp:auto.home No habla. Doesn't work. The rsize and wsize options seems to be ignored (I type "mount", and they are not there). Yup, I reloaded configuration after chaning the file, and made sure to unmount the file system in question. All examples in documentation have mount options in the map itself, not in the auto.master file. The order for automount in nsswitch.conf is "files nis". Well, I need those options in local auto.master, since I don't want to change it in NIS map for all clients (it's a mixed OS environment, and I don't want to risk to break anything by introducing possibly OS-dependant changes in NIS map). Any way to get old behaviour back? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Aleksandar Milivojevic
2005-Dec-22 04:27 UTC
[CentOS] specifying mount options in /etc/auto.master
Aleksandar Milivojevic wrote:> I have this NFS client that used to be on Red Hat 7.3. For mounting user home > directories I used this line in /etc/auto.master file: > > /home yp:auto.home rw,rsize=8192,wsize=8192 > > Moved the box to CentOS 4... The format of the file changed, so I attempted > something like this: > > /home -rw,rsize=8192,wsize=8192 yp:auto.home > > No habla. Doesn't work. The rsize and wsize options seems to be ignored (IStupid me. The old format still works (and seems it is the only format that works, regardless of comment in the file hinting otherwise). I had stupid typo, that's why it hasn't worked for me. Fixed it, now it works. Oh well... sorry for wasting everybodies time on stupid typo.