nfs exports and netmask option


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users nfs exports and netmask option
# 1  
Old 09-22-2005
nfs exports and netmask option

Setting up nfs on a redhat ES 4 gives me following issue that i
can't explain.

My nfs was working perfect whith following /etc/exports on the server

Code:
/home/test/nfstest    198.9.200.227(rw,sync,no_root_squash)

But after a powerloss and restart of the server it only works with the following.

Code:
/home/test/nfstest	    198.9.200.227/24(rw,sync,no_root_squash)

I also had to remove the mount on the client it was giving rubbish.
The client was not down.

if i don't add the /24 netmask option i get following error

Code:
exportfs: No host name given with
/home/test/nfstest(rw,no_root_squash)
(ro,async,wdelay,hide,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2),
suggest
*(ro,async,wdelay,hide,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2)
to avoid warning

So my question is. Why do i suddenly need to add the netmask option. I am sure it was not there before before the powerloss
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Netmask settings in Solaris 11

I have net0 as my primary network interface in Solaris 11. # ifconfig net0 net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 10.53.77.154 netmask ffffff00 broadcast 10.53.77.255 ether 0:10:e0:3a:c4:d8 Its netmask should be fffffc00, but whenever I... (8 Replies)
Discussion started by: solaris_1977
8 Replies

2. AIX

Enable large filesize option in NFS mount in AIX 4.3

Hi All, I have a NFS mount filesystem, however it is not supporting a creation of filesize greater than 2 GB in it, how can i enable the option (bf = true) in it. The AIX version is 4.3.2 Thanks in Advance!! (1 Reply)
Discussion started by: mad_man12
1 Replies

3. UNIX for Dummies Questions & Answers

NFS not showing under /etc/fstab nor /etc/exports

Hi guys, I was asked to perform the following: On server usdfslpsap04 following NFS mounts should be disabled usdfslpwmt3:/u01/opt/wm6_data/ebiz_edi/CALIBER_data 50412232 13369544 34481872 28% /u01/opt/wm6_data/ebiz_edi/CALIBER_data usauxoradw:/DWH/Transfer/current... (1 Reply)
Discussion started by: 300zxmuro
1 Replies

4. SCO

Problem with nfs exports between 5.0.5 and 5.0.7

Hello everyone! I have two systems: an old SCO 5.0.5 Openserver (here's the uname -a output): /# uname -a SCO_SV munixela 3.2 5.0.5 i386 And a SCO 5.0.7 OpenServer (uname -a output): /# uname -a SCO_SV catedral 3.2 5.0.7 i386 I exported a Filesystem from the 5.0.7 machine, using the... (13 Replies)
Discussion started by: superchivo
13 Replies

5. HP-UX

nfs option in hp-ux

Hi, i am trying to mount nfs from hpux(11i) to solaris(9), i am able to mount but write permission is no there. Kindly need your help. I have gone through below mentioned sites. IT Resource Center forums - NFS mount in HPUX - This thread has been closed Sharing Files and... (1 Reply)
Discussion started by: vinay_ks
1 Replies

6. AIX

AIX Exports file

Why can I not add more than 1 filesystem to the /etc/exports file and export them via smitty, or command line? I have tried, I stopped the NFS daemons, edited the /etc/exports file by hand, saved it, then re-started NFS, but it only still exports the first line in the exports file. ... (4 Replies)
Discussion started by: mrmurdock
4 Replies

7. IP Networking

Netmask change online

Hi, I have a system which has been setup with a netmask of 255.255.252.0 . The customer says this netmask is wrong as is causing them some problems. They want me to change it too 255.255.254.0 So what would the command be for my bge0 port. Can I do this whilst its running the software ?... (1 Reply)
Discussion started by: Maillot Jaune
1 Replies

8. Shell Programming and Scripting

script for netmask check

I want develop a script which should also check validity of netmask. e.g. /etc/netmasks 10.15.20.30 255.255.255.224 How can I check which IP adresses are valid for this netmask? I think the best is use logical operations. 224 is 1 1 1 0 0 0 0 0 so is valid from 10.15.20.31... (2 Replies)
Discussion started by: rhacodactylus
2 Replies

9. IP Networking

Netmask

Hi, On our new Solaris machine I have set up a network card with an IP of 10.44.12.102 , netmask of 255.255.252.0 and broadcast 19.44.15.255. These are to match current configuration on the other servers (running an older Solaris). However , after the machine is rebooted the ifconfig -a displays... (2 Replies)
Discussion started by: markdr011
2 Replies

10. UNIX for Dummies Questions & Answers

/etc/exports

i have the following entry in /etc/exports which is /opt/hpxt. i am on hpux b11.0.0 questions 1) is /hpxt in the same physical machine? got confused by the meaning of export. (1 Reply)
Discussion started by: yls177
1 Replies
Login or Register to Ask a Question