Scott
2012-04-25 02:49:10 UTC
I have two Solaris 10 hosts and a NetApp.
host1# cd /net/filer1/vol
host1# ls -l
vol2_sata ....
(On filer1, rename volume from vol2_sata to flight_data)
host1# ls -l
vol2_sata ... (still shows vol2_sata name)
How can I invalidate Solaris's view of filer1 so I can see the renamed
volume?
Meanwhile, on host2, where I did not cd /net/filer1/vol before I
renamed the volume:
host2# cd /net/filer1/vol
host2# ls -l
flight_data .... (sees new flight_data name)
I seem to remember having this problem a year or two ago, opened a
trouble ticket on it, and I thought I was told an ls -l would cause
Solaris to reread attributes from the server, refreshing its cache.
As I can see, ls -l isn't doing this for me today.
I've tried restarting nfs/client, nscd -i, and restarting autofs.
Regards, Scott
host1# cd /net/filer1/vol
host1# ls -l
vol2_sata ....
(On filer1, rename volume from vol2_sata to flight_data)
host1# ls -l
vol2_sata ... (still shows vol2_sata name)
How can I invalidate Solaris's view of filer1 so I can see the renamed
volume?
Meanwhile, on host2, where I did not cd /net/filer1/vol before I
renamed the volume:
host2# cd /net/filer1/vol
host2# ls -l
flight_data .... (sees new flight_data name)
I seem to remember having this problem a year or two ago, opened a
trouble ticket on it, and I thought I was told an ls -l would cause
Solaris to reread attributes from the server, refreshing its cache.
As I can see, ls -l isn't doing this for me today.
I've tried restarting nfs/client, nscd -i, and restarting autofs.
Regards, Scott