* repeated nfs mounts..
@ 2001-09-14 23:18 volodya
2001-09-15 10:32 ` Erik Mouw
0 siblings, 1 reply; 4+ messages in thread
From: volodya @ 2001-09-14 23:18 UTC (permalink / raw)
To: linux-kernel
Weird thing: I can repeatedly mount nfs filesystem over the same mount
point.. Anyone has an explanation ? I am running 2.4.9.
Vladimir Dergachev
inspire:/home/volodya# mount
/dev/hda2 on / type ext2 (rw)
/dev/hda7 on /u type ext2 (rw)
/dev/hda1 on /c type vfat (rw)
/dev/hdc on /cdrom type iso9660 (ro,nosuid,nodev)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /devfs type devfs (rw)
none on /proc/bus/usb type usbdevfs (rw)
inspire:/home/volodya# mount /
mount: /dev/hda2 already mounted or / busy
mount: according to mtab, /dev/hda2 is already mounted on /
inspire:/home/volodya# mount /nfs/storage/
inspire:/home/volodya# mount /nfs/storage/
inspire:/home/volodya# mount /nfs/storage/
inspire:/home/volodya# mount /nfs/storage/
inspire:/home/volodya# ls /nfs/storage/
samba u
inspire:/home/volodya# mount
/dev/hda2 on / type ext2 (rw)
/dev/hda7 on /u type ext2 (rw)
/dev/hda1 on /c type vfat (rw)
/dev/hdc on /cdrom type iso9660 (ro,nosuid,nodev)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /devfs type devfs (rw)
none on /proc/bus/usb type usbdevfs (rw)
node4:/storage/ on /nfs/storage type nfs (rw,nosuid,nodev,addr=192.168.0.4,addr=192.168.0.4)
node4:/storage/ on /nfs/storage type nfs (rw,nosuid,nodev,addr=192.168.0.4,addr=192.168.0.4)
node4:/storage/ on /nfs/storage type nfs (rw,nosuid,nodev,addr=192.168.0.4,addr=192.168.0.4)
node4:/storage/ on /nfs/storage type nfs (rw,nosuid,nodev,addr=192.168.0.4,addr=192.168.0.4)
inspire:/home/volodya# umount /nfs/storage/
inspire:/home/volodya# ls /nfs/storage/
samba u
inspire:/home/volodya#
inspire:/home/volodya# umount /nfs/storage/
inspire:/home/volodya# ls /nfs/storage/
samba u
inspire:/home/volodya# umount /nfs/storage/
inspire:/home/volodya# ls /nfs/storage/
samba u
inspire:/home/volodya# umount /nfs/storage/
inspire:/home/volodya# ls /nfs/storage/
inspire:/home/volodya#
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: repeated nfs mounts..
2001-09-14 23:18 repeated nfs mounts volodya
@ 2001-09-15 10:32 ` Erik Mouw
2001-09-15 16:21 ` volodya
0 siblings, 1 reply; 4+ messages in thread
From: Erik Mouw @ 2001-09-15 10:32 UTC (permalink / raw)
To: volodya; +Cc: linux-kernel
On Fri, Sep 14, 2001 at 07:18:36PM -0400, volodya@mindspring.com wrote:
> Weird thing: I can repeatedly mount nfs filesystem over the same mount
> point.. Anyone has an explanation ? I am running 2.4.9.
I think http://www.tux.org/lkml/#s14-6 answers your question.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: repeated nfs mounts..
2001-09-15 10:32 ` Erik Mouw
@ 2001-09-15 16:21 ` volodya
2001-09-15 19:04 ` Erik Mouw
0 siblings, 1 reply; 4+ messages in thread
From: volodya @ 2001-09-15 16:21 UTC (permalink / raw)
To: Erik Mouw; +Cc: linux-kernel
On Sat, 15 Sep 2001, Erik Mouw wrote:
> On Fri, Sep 14, 2001 at 07:18:36PM -0400, volodya@mindspring.com wrote:
> > Weird thing: I can repeatedly mount nfs filesystem over the same mount
> > point.. Anyone has an explanation ? I am running 2.4.9.
>
> I think http://www.tux.org/lkml/#s14-6 answers your question.
But for a mount to succeed aren't we supposed to do this over an empty
directory ? So we should not be able to mount the same filesystem twice in
the same place (provided it has some files in it).
Vladimir Dergachev
>
>
> Erik
>
> --
> J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
> of Electrical Engineering, Faculty of Information Technology and Systems,
> Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
> Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
> WWW: http://www-ict.its.tudelft.nl/~erik/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: repeated nfs mounts..
2001-09-15 16:21 ` volodya
@ 2001-09-15 19:04 ` Erik Mouw
0 siblings, 0 replies; 4+ messages in thread
From: Erik Mouw @ 2001-09-15 19:04 UTC (permalink / raw)
To: volodya; +Cc: linux-kernel
On Sat, Sep 15, 2001 at 12:21:19PM -0400, volodya@mindspring.com wrote:
> On Sat, 15 Sep 2001, Erik Mouw wrote:
> > I think http://www.tux.org/lkml/#s14-6 answers your question.
>
> But for a mount to succeed aren't we supposed to do this over an empty
> directory ?
No, that has never been the case.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-15 19:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-14 23:18 repeated nfs mounts volodya
2001-09-15 10:32 ` Erik Mouw
2001-09-15 16:21 ` volodya
2001-09-15 19:04 ` Erik Mouw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).