[opensuse] stale mounts?
I have edited my /etc/fstab to reflect recent changes in our shared drives (CIFS-based). I have unmounted all of these drives. However, when I mount the new ones, the old ones are sometimes mounted. They have changed, for example, the IP address for the server. However, sometimes the newly mounted drives list the old IP address. Which is no longer available. I am uncertain how they are messing with the server address externally. But the old address spec does not exist in /etc/fstab. Perhaps it is being picked up from /etc/mtab? How can I get mtab to reflect the current mounts and forget any that are not mounted? This is a 12.3 system. Update is in the pipeline... Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-04-05 12:35, Roger Oberholtzer wrote:
I have edited my /etc/fstab to reflect recent changes in our shared drives (CIFS-based). I have unmounted all of these drives. However, when I mount the new ones, the old ones are sometimes mounted. They have changed, for example, the IP address for the server. However, sometimes the newly mounted drives list the old IP address. Which is no longer available. I am uncertain how they are messing with the server address externally. But the old address spec does not exist in /etc/fstab. Perhaps it is being picked up from /etc/mtab? How can I get mtab to reflect the current mounts and forget any that are not mounted? This is a 12.3 system. Update is in the pipeline...
Why don't you check whether they are still in mtab? If they are, umount them, and the file should be cleared. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On Tue, 5 Apr 2016 12:43, Carlos E. R.
On 2016-04-05 12:35, Roger Oberholtzer wrote:
I have edited my /etc/fstab to reflect recent changes in our shared drives (CIFS-based). I have unmounted all of these drives. However, when I mount the new ones, the old ones are sometimes mounted. They have changed, for example, the IP address for the server. However, sometimes the newly mounted drives list the old IP address. Which is no longer available. I am uncertain how they are messing with the server address externally. But the old address spec does not exist in /etc/fstab. Perhaps it is being picked up from /etc/mtab? How can I get mtab to reflect the current mounts and forget any that are not mounted? This is a 12.3 system. Update is in the pipeline...
Why don't you check whether they are still in mtab? If they are, umount them, and the file should be cleared.
Other hint: OS 12.3 uses systemd, reload config (and thus force re-read of fstab) via "systemctl daemon-reload" as root have a look at the remaining .mount units "systemctl|grep mount", sometimes the old ones persist after unmount. - Yamaban. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/05/2016 03:35 AM, Roger Oberholtzer wrote:
. However, sometimes the newly mounted drives list the old IP address. Which is no longer available. I am uncertain how they are messing with the server address externally.
You say that they are mounted, but that they use the wrong IP address. You've been around here long enough to know that is impossible, so the logical conclusion is you are seeing something that has all the weight and importance of a comment in the mount description, and not the actual IP used for the mount. Is ipv6 involved here? Does the samba/windows server accept Ipv6 connections? (I restricted my samba to operate on ipv4 because earlier (year or two) ago there was flaky stuff happening when ipv6 was used for connections). Also, which machine is providing WINS server functionality? -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
John Andersen
-
Roger Oberholtzer
-
Yamaban