NFS and DNS alias

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users NFS and DNS alias
# 1  
Old 08-30-2011
NFS and DNS alias

I have an old NetApp filer that exports volumes via NFS for my UNIX hosts.
We want to migrate it to the new filer and keep name of the old one as DNS alias to the new filer name with new IP address.
The question is will UNIX NFS client that still pointing to the old filer name be able to mount the volume from the physically new filer? Cashed MAC addresses discussion aside, please. I understand that.
Or to show it in the example
# nslookup filer2 
Name:    filer2
Aliases:  filer1

# nslookup
Name:    filer2

On the UNIX client:
mount filer1:/example /mnt

Will this last command work or it will end up with error message "permission denied", because of the mismatch between used alias and reverse DNS?
Some links to the theory of this process will also be welcomed.

Best regards

Last edited by vbe; 08-31-2011 at 05:44 AM.. Reason: Please use code tags when required (code and data) thanks
# 2  
Old 08-30-2011
If it's a cname, I would think it would be no problem at all. Things to look out for would be anything doing any kind of local name caching.... but apart from that, shouldn't be a problem. I haven't actually tried what you are doing though..... so I could be wrong.... (don't you just hate answers like that!)
# 3  
Old 08-30-2011
repoint name to new IP

arp caching should not be an issue.
# 4  
Old 08-31-2011
It is not what I was looking for, gentlemen.
I know how to handle the situation. I wanted to know why it may or may not work.
If some one could share the ideas or point to the right sources of the information.

Best regards
# 5  
Old 08-31-2011
Ouch... you're mean...

It WILL work unless your "NFS" server is doing something weird. And I am actually doing this. We have a server that has a CNAME... and you can mount the server using either name (using NFSv3).
This User Gave Thanks to cjcox For This Post:
# 6  
Old 08-31-2011
OK. Thank you. I have to stage experiment and trace mount command and then read RFS. ;-)
Thank you everyone.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies

3. UNIX for Dummies Questions & Answers

Create alias files (not alias commands)

If one: $ find -name 'some expression' -type f > newfile and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory. I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies

4. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

5. UNIX and Linux Applications

Loghost as DNS alias

We have about 5000 unix servers and currently loghost is listed in the /etc/host on all of the 5000 servers. Since the loghost server is not using SAN storage, the server was never implemented in GeoVLAN either. We are going to implement DR instance for loghost with local storage ( as advise by... (2 Replies)
Discussion started by: mohzub
2 Replies

6. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

7. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

8. HP-UX

Configure DNS,NFS,NIS,LDAP and LVM(mirror,sparing and multipathing)

Hello All, I am a newbee in HP UX wanted to know how to configure DNS,NFS,NIS,LDAP and LVM(mirror,sparing and multipathing) in HP UX 11iv2 and v3 and i did go through some of the docs on but i think those are for experience UX users and i am new to this so if some one could just mention... (1 Reply)
Discussion started by: coolsami
1 Replies

9. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies
Login or Register to Ask a Question