| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 53456 | 2005-01-18 05:39:00 | Unix/Windows deleting issues | Mike (15) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 315367 | 2005-01-19 03:16:00 | I have come across mentions of some special things which happen when a mv is between different file systems. A quick look at Google didn't refresh my vaguye memories. A "move" in the same directory or in the same file system is just a rename, so is very quick. A move between file systems involves actual copying. |
Graham L (2) | ||
| 315368 | 2005-01-19 04:02:00 | I can rename files fine. I can move them, but instead of moving they just copy (eg the copy doesn't delete once it's moved). Overwriting the file works fine, as does opening and editing the contents of the file. I just can't remove the file. Mike. Well, now it is beginning to sound like you are only dealing with copies living in Samba when you are on your Windows box. The real files live in Solaris - deleating the Samba copies won't delete the real ones in Solaris. The write and copy/move/rename (i.e., these are echoed as simply write commands) functions would work OK on the Samba copies and get relayed to Solaris, but not delete. From memory a similar thing happens when trying to send a file living in Linux to be printed via a Samba print-server - you can only delete the Samba copy from the Windows box, but to delete the actual Linux file you have to do it from the console. |
vinref (6194) | ||
| 315369 | 2005-01-19 07:30:00 | Well, now it is beginning to sound like you are only dealing with copies living in Samba when you are on your Windows box. The real files live in Solaris - deleating the Samba copies won't delete the real ones in Solaris. That doesn't sound right to me - SAMBA is SMB (Server Message Block) - emulating a real Windows host. I do not think that when you view a file on a UNIX or Linux server from a Windows PC that you are seeing a copy? |
johnd (85) | ||
| 315370 | 2005-01-19 08:20:00 | That doesn't sound right to me - SAMBA is SMB (Server Message Block) - emulating a real Windows host. I do not think that when you view a file on a UNIX or Linux server from a Windows PC that you are seeing a copy? Yeah, you may be right. But for writing, editing and printing files, isn't there some sort of temporary file generated somewhere always? Even in a one-OS case - editing a MS Word file comes to mind. Because of the behaviour described, I assumed this temporary file/copy might be in Samba. Hey it could even be in Windows. |
vinref (6194) | ||
| 315371 | 2005-01-20 07:57:00 | If you work for a reasonable size organisation, would they have some support agreement with the suppliers of the unix servers, or would you have to pay per incident . Do the servers ever get rebooted? Although we are not talking Windows here, you never know, a reboot could clear it up . Certainly very strange . |
dolby digital (5073) | ||
| 315372 | 2005-01-20 08:51:00 | If you work for a reasonable size organisation, would they have some support agreement with the suppliers of the unix servers, or would you have to pay per incident. Do the servers ever get rebooted? Although we are not talking Windows here, you never know, a reboot could clear it up. That's a good point, although I don't know if the maintenance contract covers software/setup issues rather than just hardware. The server does get rebooted occasionally, and I think it has been rebooted as we try to solve this problem, but I can't guarantee it just this minute (seeing as I'm at home :p) Mike. |
Mike (15) | ||
| 315373 | 2005-01-21 03:07:00 | The server does get rebooted occasionally, and I think it has been rebooted as we try to solve this problem, but I can't guarantee it just this minute (seeing as I'm at home :p) I was wrong - the server hasn't been rebooted for at least 4 months, so they'll do that on Tuesday night and we'll see... Mike. |
Mike (15) | ||
| 315374 | 2005-01-22 01:47:00 | There is a command to check whether the Samba server is happy with its configuration file ... ./testparm in the appropriate directory. Have a read of this article on Solaris samba installation (www.kempston.net). It looks as if the person knows about it. There's a section on testing. "Samba on Solaris" to Google finds that, and a fair few more links. I was surprised to find that MSD wasn't solely guilty for SMB (http:samba.anu.edu.au/cifs/docs/what-is-smb.html) -- IBM (when they were still talking to MS) were always more interested in networks, and they produced the original PC LAN (and various versions of LAN Manager). Of course MS are responsible for its present form, and the fact that it is not documented. :( SAMBA was a result of reverse engineering ... Andrew T did lots of transfers and captured the messages. :D) |
Graham L (2) | ||
| 1 2 3 | |||||