Re: [SLUG] can't write superblock when unmounting SMB share

2003-07-29 Thread Brett Fenton
umount -l ?

On Tue, 2003-07-29 at 20:48, Douglas Stalker wrote:
 RedHat 9.0, SAMBA 3.0.0beta3
 
 I'm having problems unmounting a remote SMB share, and I'd like to get
 it unmounted without resorting to rebooting the linux system.  The
 problem I get when trying to unmount it:
 
 [EMAIL PROTECTED] pristic01]# umount share_images
 umount: share_images: can't write superblock
 
 I also can;t go into the directory:
 bash: cd: share_images: Input/output error
 
 
 Does anyone know any tricks to forcefully unmount the directory?
 
 
 
 
   Doug Stalker
 
 Technical Support Engineer
 Rational Software, an IBM CompanyPhone: +612-9419-0111
 Fax: +612-9419-0123
 Email: [EMAIL PROTECTED]
 Web: http://www.rational.com/support
 Did you know you can search for solutions at:
 http://solutions.rational.com/solutions/
 
 __
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] can't write superblock when unmounting SMB share

2003-07-29 Thread Rowling, Jill
Possibly share_images is mounted read-only or if it's a share on another
machine, it's not allowed to write.
Root on one machine is just Joe Hickey on the other.
On the machine that has the physical disk, you probably need to set the
share rwx for all.
If the machine that has the physical disk is a Windoze thing you might want
to let user root to have the same privileges as an admin user on the
Windoze thing.
If it's a Unix of some sort, you would need to enable root user in the fstab
entry for that share.

Regards,

Jill.
-- 
Jill Rowling, System Administrator
Eng. Systems Dept, Aristocrat Technologies Australia
Level 2, 55 Mentmore Ave Rosebery NSW 2018
Phone: (02) 9697-4484 Fax: (02) 9663-1412 Email: [EMAIL PROTECTED]

-Original Message-
From: Douglas Stalker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 30 July 2003 1:22 PM
To: Brett Fenton
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] can't write superblock when unmounting SMB share




 On Tue, 2003-07-29 at 20:48, Douglas Stalker wrote:
  RedHat 9.0, SAMBA 3.0.0beta3
  

  [EMAIL PROTECTED] pristic01]# umount share_images
  umount: share_images: can't write superblock
  


 umount -l ?

This shows the same problem.  even combining -l with -f fails to unmount the
share. 

 - Doug 
  

--
IMPORTANT NOTICES
This email (including any documents referred to in, or attached, to this
email) may contain information that is personal, confidential or the subject
of copyright or other proprietary rights in favour of Aristocrat, its
affiliates or third parties. This email is intended only for the named
addressee. Any privacy, confidence, copyright or other proprietary rights in
favour of Aristocrat, its affiliates or third parties, is not lost because
this email was sent to you by mistake.

If you received this email by mistake you should: (i) not copy, disclose,
distribute or otherwise use it, or its contents, without the consent of
Aristocrat or the owner of the relevant rights; (ii) let us know of the
mistake by reply email or by telephone (+61 2 9413 6300); and (iii) delete
it from your system and destroy all copies.

Any personal information contained in this email must be handled in
accordance with applicable privacy laws.

Electronic and internet communications can be interfered with or affected by
viruses and other defects. As a result, such communications may not be
successfully received or, if received, may cause interference with the
integrity of receiving, processing or related systems (including hardware,
software and data or information on, or using, that hardware or software).
Aristocrat gives no assurances in relation to these matters.

If you have any doubts about the veracity or integrity of any electronic
communication we appear to have sent you, please call +61 2 9413 6300 for
clarification.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] can't write superblock when unmounting SMB share

2003-07-29 Thread Douglas Stalker



 Possibly share_images is mounted read-only or if it's a share on another
 machine, it's not allowed to write.


I think that's the problem - The share is a Windows
read-only share, but I had 'rw' in the /etc/fstab line for it. The
lesson here is be careful when you cut and paste. :-)

I'll reboot the linux system to kill the connection
(easier than getting permission's changed on the Windows box) and now that
I've fixed the fstab file the problem shouldn't recur. This also
explains why severla other (read-only) shares were acting a bit erratically.


- Doug



 
 -Original Message-
 From: Douglas Stalker [mailto:[EMAIL PROTECTED] 
 
   [EMAIL PROTECTED] pristic01]# umount share_images
   umount: share_images: can't write superblock
   
 
 
  umount -l ?
 
 This shows the same problem. even combining -l with -f fails
to unmount the
 share. 
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug