Click to See Complete Forum and Search --> : input output errors when trying to remove a dir


nagchampa
09-07-2001, 06:09 PM
I set up some dirs on my home area and I used them as mount points for Samba. I can't mount to those dirs anymore, when I try to delete the dir I get

rmdir: warez: No such file or directory

when I try just rm
rm: cannot remove `warez': Input/output error

any insight on that?

Pras
09-07-2001, 06:12 PM
Are the directories still there? You could try rm -rf warez which will recursively & forcefully remove it.

nagchampa
09-07-2001, 09:12 PM
yes and I still get the input output error. from a telnet session. I will try to get it from the console but that shouldn't matter

Pras
09-07-2001, 09:48 PM
Try unmounting them first (smbumount), and then deleting them.

[ 07 September 2001: Message edited by: Pras ]

nagchampa
09-07-2001, 09:52 PM
as superuser you should have all rights so that you can remotely administer the machine...

tehn again

nagchampa
09-10-2001, 08:41 PM
ok here is a new one... now more DIRs that are to be mount points are getting input output errors in them...

anyone have any idea?

Evil Jeff
09-10-2001, 10:54 PM
Are you trying to delete remote directories that have been smbmounted in a local directory or delete local directories that you are using to smbmount remote shares on? If it is a local share, make sure that you have umounted the share/directory. If it is remote, make sure that you have the correct permissions for that share. Try passing the -o username=foo option for protected shares.

nagchampa
09-12-2001, 07:57 PM
well I forgot (becauase of a short power loss) that some of the mounts were lost. the linux server stayed up but freaked out.

after I rebooted the server ( perish the thought) they showed up fine and were deletable..