Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Kyle Bowerman on January 14, 2003, 06:55:54 PM

Title: Can't umount samba
Post by: Kyle Bowerman on January 14, 2003, 06:55:54 PM
I mounted a share from another box to my mitel box using with my primary html directory

    mount -t smbfs //yoda/pub /home/e-smith/files/primary/html/pub/yoda

when I try to unmount  /home/e-smith/files/primary/html/pub/yoda
I get a device busy.  Even if no shell or browser are at that mount point.

even if I try to force a umount I get device busy

Any help?
Thanks
Title: Re: Can't umount samba
Post by: bud on January 14, 2003, 07:16:11 PM
cd /
umount /home/e-smith/files/primary/html/pub/yoda

1. You can't be in the same directory that you are trying to unmount.  You may get a device busy.

2. I'm sure that it's "umount" NOT unmount.
Title: Re: Can't umount samba
Post by: Kyle Bowerman on January 14, 2003, 09:27:27 PM
I was not in the directory I was trying to unmount.

If I use /mnt as my mount point I have no problem unmounting.
but for some reason
/home/e-smith/files/primary/html imediately becomes busy.
when I try to umount it.
Title: Re: Can't umount samba
Post by: Kyle Bowerman on January 15, 2003, 03:48:51 AM
I fixed this problem but I think it may be a bug.

I stopped apache first with:
/usr/sbin/apachectl stop
umount /www/pub/foxtrot
  (/www is symbolic linked to //home/e-smith/files/primary/html/)
then I ran /etc/e-smith/events/action/ restart-httpd-full

Is this an e-smith issue or an apache one?