Hi to all! I've been using samba for about six months: I've set up a file server, replacing a small windows 2000 server. I'm using samba 3.0.21c on a linux slackware 10.2. It is used to share two spreadsheet programs and file connected to them... Everything runs fine, except for a file, which is processed and saved several times in a day. After few weeks, this files got corrupted and is no longer available to the software which is using it (an heavy-modified spreadsheet): I need to replace it with a previous backup. Samba's volume is a linux partition formatted in reiserfs: is it a good file-system for my purpose? do you recommend me other filesystem? The corrupted file is 4.3mb... I used it with two smb clients: windows 2000 e windows 98. I set samba as a master server, domain logon (for win98 box) and simply user security. It doesn't seem to have any file permission problems... But, anyway, is a very little server: it has only got two users! Should I change filesystem? Maybe using fat volume could help? Thanks for your feedbacks! urza
On Mon, 2006-03-20 at 21:39 +0100, urza wrote:> Hi to all! > I've been using samba for about six months: I've set up a file server, > replacing a small windows 2000 server. I'm using samba 3.0.21c on a > linux slackware 10.2. It is used to share two spreadsheet programs and > file connected to them... > Everything runs fine, except for a file, which is processed and saved > several times in a day. After few weeks, this files got corrupted and is > no longer available to the software which is using it (an heavy-modified > spreadsheet): I need to replace it with a previous backup. > Samba's volume is a linux partition formatted in reiserfs: is it a good > file-system for my purpose? do you recommend me other filesystem? The > corrupted file is 4.3mb... > I used it with two smb clients: windows 2000 e windows 98. I set samba > as a master server, domain logon (for win98 box) and simply user > security. It doesn't seem to have any file permission problems... But, > anyway, is a very little server: it has only got two users! > Should I change filesystem? Maybe using fat volume could help? > Thanks for your feedbacks!I do not like reiserfs particularly, but I would not blame it yet. I would first check that the difference in platforms libraries and, perhaps, version of the program you are using is not the mixture that made the corruption. Differences even at the redirector level on how oplocks are used may well account for shared files corruption. If you are able to reliably reproduce the problem we can see if t is a client or samba bug, if you can reproduce it only on a samba server but not on a windows hosted share, we are really interested in seeing traces and samba at debug level 10. Simo. -- Simo Sorce Samba Team GPL Compliance Officer email: idra@samba.org http://samba.org
HiHo! urza wrote:> Hi to all! > I've been using samba for about six months: I've set up a file server, > replacing a small windows 2000 server. I'm using samba 3.0.21c on a > linux slackware 10.2. It is used to share two spreadsheet programs and > file connected to them... > Everything runs fine, except for a file, which is processed and saved > several times in a day. After few weeks, this files got corrupted and is > no longer available to the software which is using it (an heavy-modified > spreadsheet): I need to replace it with a previous backup.Sorry for asking but which spreadsheet software are you using? Did you use exactly the same software on you old Windows 2000 server without any problems? I'm asking because I've experienced such problems quite often with MS Office when using the "Tracing changes" functionality (Sorry, I only know the menu entry of this function from the German version). Making heavy changes in such a documents finally leads to a corrupted document... Markus -- Senior Executive - Systemadministration Direct Phone: + 49 / 234 9787-57 Direct Fax: +49 / 234 9787-77 Viisage Technology AG Universitaetsstrasse 160 44801 Bochum Germany http://www.viisage.com ----------------------------------------------