Carsten.Loeffler@command.de
2003-Nov-14 10:08 UTC
[Samba] Backup from Linux onto Win2K-share
Hi. I'm running Kernel 2.4.19 and Samba 2.2.5. I'm in need to do a backup out of big SAPDB database (60 GB) onto a share on a Win2K-box (all my databases have to backup onto this w2K-box where they get saved on tape). This works fine as long as it comes to 2 GB. Than it stops with the message "file size exceeded". Obviously there is a file size limit somewhere in Samba. How can I get rid of it? I've tried to use a different kernel (2.4.22) and I compiled as well as new Samba 3.0.1 from source (on a different machine). But I still have the problem. Whats wrong? (PS: NFS has a limit as well; 4 GB. But I need "unlimited" sizes) Regards Carsten L?ffler command ag mailto:carsten.loeffler@command.de ______________________________________________________________________ This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. command ag
Guten Tag Carsten.Loeffler@command.de, am Freitag, 14. November 2003 um 11:08 schrieben Sie: CLcd> Hi. CLcd> I'm running Kernel 2.4.19 and Samba 2.2.5. CLcd> I'm in need to do a backup out of big SAPDB database (60 GB) CLcd> onto a share on a Win2K-box (all my databases have to backup CLcd> onto this w2K-box where they get saved on tape). CLcd> This works fine as long as it comes to 2 GB. Than it stops with CLcd> the message "file size exceeded". Obviously there is a file size limit CLcd> somewhere in Samba. CLcd> How can I get rid of it? I've tried to use a different kernel (2.4.22) CLcd> and I compiled as well as new Samba 3.0.1 from source (on a CLcd> different machine). But I still have the problem. Whats wrong? CLcd> (PS: NFS has a limit as well; 4 GB. But I need "unlimited" sizes) Seems like you hit the limit of the filesystem on the w2k-box. Not that of Samba. regards, Stefan G. Weichinger mailto:monitor@oops.co.at
Carsten.Loeffler@command.de
2003-Nov-14 12:35 UTC
[Samba] Backup from Linux onto Win2K-share
2003. november 14. 12.35 d?tummal Stefan G. Weichinger ezt ?rta:> Guten Tag CarstendotLoeffler at commanddotde, > > am Freitag, 14. November 2003 um 11:08 schrieben Sie: > > CLcd> Hi. > > CLcd> I'm running Kernel 2.4.19 and Samba 2.2.5. > > CLcd> I'm in need to do a backup out of big SAPDB database (60 GB) > CLcd> onto a share on a Win2K-box (all my databases have to backup > CLcd> onto this w2K-box where they get saved on tape). > > CLcd> This works fine as long as it comes to 2 GB. Than it stops with > CLcd> the message "file size exceeded". Obviously there is a file size > limit CLcd> somewhere in Samba. > > CLcd> How can I get rid of it? I've tried to use a different kernel > (2.4.22) CLcd> and I compiled as well as new Samba 3.0.1 from source (ona> CLcd> different machine). But I still have the problem. Whats wrong? > > CLcd> (PS: NFS has a limit as well; 4 GB. But I need "unlimited" sizes) > > Seems like you hit the limit of the filesystem on the w2k-box. > Not that of Samba. > > regards, > Stefan G. Weichinger > mailto:monitor at oopsdotcodotat- I also think that Stefan. - May you use FAT32 on w2k? - - -- - - attiko Hi guys, I'm sorry, but you're wrong. I'm using NTFS (its a Win 2000 Advanced Server with ~ 1 TB Harddrive) because of security. I'm backing upwith SAP DB from a Windows-server to Windows-server without any of this problems. All other servers (except Linux) can backup tons of Gigabyte (the largest one is 120 GB) to that Windows-2000. I only have this problem with my Linux boxes. And I can resolve on any other Linux box running any distribution (Mandrake, RedHat, Suse ...). Regards, Carsten L?ffler ______________________________________________________________________ This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. command ag
Are you tar-ing onto the remote drive? tar is limited to 2gb unless you use the 'gnu format' archive option.... John Snowdon - IT Support Specialist -==========================================- Faculty of Medical Sciences Computing Dept School of Medical Education Development University of Newcastle>-----Original Message----- >From: Stefan G. Weichinger [mailto:monitor@oops.co.at] >Sent: 14 November 2003 12:53 >To: samba@lists.samba.org >Subject: Re: [Samba] Backup from Linux onto Win2K-share > > >Guten Tag Carsten.Loeffler@command.de, > >am Freitag, 14. November 2003 um 13:35 schrieben Sie: > >> I'm sorry, but you're wrong. >> >> I'm using NTFS (its a Win 2000 Advanced Server with ~ 1 TB Harddrive) >> because of security. > >Ok. > >> I'm backing upwith SAP DB from a Windows-server to >Windows-server without >> any of this problems. All other servers (except Linux) can >backup tons >> of Gigabyte (the largest one is 120 GB) to that Windows-2000. >> >> I only have this problem with my Linux boxes. And I can >resolve on any >> other Linux box running any distribution (Mandrake, RedHat, >Suse ...). > >You mean, you have this problem with ALL your linux-boxes? > >Please describe in more detail, I haven?t got the whole picture yet. > >You have a Linux/Samba-machine which tries to put files to a >W2K-share? > >Using smbclient? smbtar? >Have you mounted the share via smbfs, maybe? > >regards, >Stefan G. Weichinger >mailto:monitor@oops.co.at > > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba >
Carsten.Loeffler@command.de
2003-Nov-17 11:28 UTC
[Samba] Backup from Linux onto Win2K-share
2003. november 14. 12.35 d?tummal Stefan G. Weichinger ezt ?rta:> Guten Tag CarstendotLoeffler at commanddotde, > > am Freitag, 14. November 2003 um 11:08 schrieben Sie: > > CLcd> Hi. > > CLcd> I'm running Kernel 2.4.19 and Samba 2.2.5. > > CLcd> I'm in need to do a backup out of big SAPDB database (60 GB) > CLcd> onto a share on a Win2K-box (all my databases have to backup > CLcd> onto this w2K-box where they get saved on tape). > > CLcd> This works fine as long as it comes to 2 GB. Than it stops with > CLcd> the message "file size exceeded". Obviously there is a file size > limit CLcd> somewhere in Samba. > > CLcd> How can I get rid of it? I've tried to use a different kernel > (2.4.22) CLcd> and I compiled as well as new Samba 3.0.1 from source (ona> CLcd> different machine). But I still have the problem. Whats wrong? > > CLcd> (PS: NFS has a limit as well; 4 GB. But I need "unlimited" sizes) > > Seems like you hit the limit of the filesystem on the w2k-box. > Not that of Samba. > > regards, > Stefan G. Weichinger > mailto:monitor at oopsdotcodotat- I also think that Stefan. - May you use FAT32 on w2k? - - -- - - attiko>Hi guys, > >I'm sorry, but you're wrong. > >I'm using NTFS (its a Win 2000 Advanced Server with ~ 1 TB Harddrive) >because of security. > > >I'm backing upwith SAP DB from a Windows-server to Windows-server without >any of this problems. All other servers (except Linux) can backup tons >of Gigabyte (the largest one is 120 GB) to that Windows-2000.> > >I only have this problem with my Linux boxes. And I can resolve on any >other Linux box running any distribution (Mandrake, RedHat, Suse ...).>Are you tar-ing onto the remote drive? tar is limited to 2gb unless youuse the 'gnu >format' archive option....>> > John Snowdon - IT Support Specialist >-==========================================- > Faculty of Medical Sciences Computing Dept > School of Medical Education Development > University of Newcastle > You mean, you have this problem with ALL your linux-boxes? > >Please describe in more detail, I haven?t got the whole picture yet. > >You have a Linux/Samba-machine which tries to put files to a >W2K-share? > >Using smbclient? smbtar? >Have you mounted the share via smbfs, maybe? >Have you mounted the share via smbfs, maybe? > >regards, >Stefan G. Weichinger >mailto:monitor at oopsdotcodotatNo, I'm not really "taring". Right now I'm using following command to mount a share on the windows box: smbmount //ntsrvsr3/cmdhp5 /mnt/backupsmb -o username=kwhadm,dmask=777 I also tried "mount -f smbfs ...."; but this failed as well. Some more descriptions: I have a Windows-2000-domain with ten W2K servers. One of the servers is my backup server which has a share for each of the other servers where they can put their database-backups. As well I have a Linux box running a database; it also has to put its database backup to a share (named above). A few words on my database: I'm running SAP DB 7.3. It has the option to backup the database either on a tape or on into a file. If using "file-backup" this file can be anywhere on the linux, either in the local file system or in NFS or in SAMBA. SAP DB does not care on that as long as it can use a mount. In Windows this works out perfectly for me (same technique). Ive tried FTP, SAMBA and NFS: nothing can backup more than 2 or 4 Gigabyte. Ive tried Suse Enterprise 8, Suse 8.2, Mandrake 8.1: same problem everywhere. At home I tried to manage it with XP-Professional and Suse Linux 8.2; there I've tested a new compiled kernel and samba 3.0.1: same problem. Sorry, but I'm getting "frustrated". Regards, Carsten L?ffler ______________________________________________________________________ This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. command ag
Carsten.Loeffler@command.de
2003-Nov-17 15:43 UTC
[Samba] Backup from Linux onto Win2K-share
Hi. Stefan, thanks for your ongoing support. I believe your mothertongue is German as well but I will go on writing in English so everybody can participate In meantime I found in several other newsgroups that I'm not the only one, but I did not find a solution)>Hey, Carsten, > > am Montag, 17. November 2003 um 12:28 hast Du geschrieben: > No, I'm not really "taring". Right now I'm using following command tomount> a share on the windows box: > > smbmount //ntsrvsr3/cmdhp5 /mnt/backupsmb -o username=kwhadm,dmask=777 > > I also tried "mount -f smbfs ...."; but this failed as well.% What do your logfiles tell you when you try this? Set loglevel to 2 % and look that up. Good idea. I did not know that there are any logfiles. Can you give me a hint how to switch them on or switch them to level 2? Thanks.> Some more descriptions: > I have a Windows-2000-domain with ten W2K servers. One of the servers ismy> backup server which has a share for each of the other servers where they > can put > their database-backups. As well I have a Linux box running a database; it > also > has to put its database backup to a share (named above).% Off topic: Why not use Linux w/ Samba as backup-server? Yippie. I was wondering how long it might take before this question will come up. Yes, I did. And: the other way around may work (see a little later in that mail). BUT: I HAVE TO USE WINDOWS. (to many arguments in this company to tell).> A few words on my database: I'm running SAP DB 7.3. It has the option to > backup the database either on a tape or on into a file. If using > "file-backup" this > file can be anywhere on the linux, either in the local file system or in > NFS or in > SAMBA. SAP DB does not care on that as long as it can use a mount. > In Windows this works out perfectly for me (same technique). > > Ive tried FTP, SAMBA and NFS: nothing can backup more than 2 or 4Gigabyte.> Ive tried Suse Enterprise 8, Suse 8.2, Mandrake 8.1: same problem > everywhere. > At home I tried to manage it with XP-Professional and Suse Linux 8.2;there> I've tested a new compiled kernel and samba 3.0.1: same problem. > > Sorry, but I'm getting "frustrated".% I understand. Have you already thought of the possibility that the % limit lies in the Linux-Version of your SAP DB? AFAI understand the % problem occurs ONLY with that one DB. Yes I did. I have SAP support and asked them: they dont have any limit inside. % Can you create a db-backup-file on a local partition of that machine? Not yet anymore. The db exceeded the 50 % limit of the harddrive 2 weeks ago. Right now the only backup I can do is on tape. This is not working as well; but that's a different story. But before that date (it was shortly after installation of the db) we made a backup on harddrive. That worked out fine. With samba I've created a share on LINUX to access the backup's folder and we were able to squeeze the 55 GB out of the box. But that option is not available to me anymore. % Consult your manuals and support to make sure SAP has no limit on % doing that so we can focus on the problem. I did. SAP has no limit (un/fortunately). Stefan, do you think there may be a "switch" in the kernel, or something with my GLIBC? I've found some people telling others to create a new kernel with a new GLIBC?!?! I dont know if that really makes sense. In my eyes I would have made more sense to choose a newer version of SAMBA. % Keep up your head, it will work out ;-) % Stefan G. Weichinger % mailto:monitor at oopsdotcodotat I'm trying to keep my head up. With Linux books .... ;-) Regards, Carsten L?ffler ______________________________________________________________________ This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. command ag
Carsten.Loeffler@command.de
2003-Nov-17 22:04 UTC
[Samba] Backup from Linux onto Win2K-share
Hi!>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Guten Tag CarstendotLoeffler at commanddotde,> > >am Montag, 17. November 2003 um 16:43 schrieben Sie:> > >CLcd> Stefan, thanks for your ongoing support. I believe yourmothertongue>>CLcd> is German as well but I will go on writing in English so everybody >CLcd> can participate >So it is, I am from Austria. >CLcd> % What do your logfiles tell you when you try this? Set loglevel to2>CLcd> % and look that up. >CLcd> Good idea. I did not know that there are any logfiles. >CLcd> Can you give me a hint how to switch them on or switch >CLcd> them to level 2? Thanks. >Look into your smb.conf. Look for the option >log level >Set it to >log level = 2 >if it ain?t that already. >Also look for >log file >to find out where the log files are written to. >Usually this is something like /var/log/samba/log.smbd or >/var/log/samba/<clientname>. >--- >Reading those files will tell us much more about what?s going on.OK. I will try to do this tomorrow.>CLcd> % Off topic: Why not use Linux w/ Samba as backup-server? >CLcd> Yippie. I was wondering how long it might take before this question >CLcd> will come up. Yes, I did. And: the other way around may work (see a >CLcd> little later in that mail). >CLcd> BUT: I HAVE TO USE WINDOWS. (to many arguments in this company totell).> >Acknowledged for now. >CLcd> % Can you create a db-backup-file on a local partition of that machine? CLcd> Not yet anymore. The db exceeded the 50 % limit of the harddrive 2 weeks CLcd> ago. Right now the only backup I can do is on tape. This is not CLcd> working as well; but that's a different story. But before that date CLcd> (it was shortly after installation of the db) we made a backup on CLcd> harddrive. That worked out fine. With samba I've created a share on CLcd> LINUX to access the backup's folder and we were able to squeeze the CLcd> 55 GB out of the box. But that option is not available to me anymore.> >Can you use a NFS-share to dump your db to? Just to verify NOW. > >btw, which part of the process gives you the "filesize exceeded"? >And how is the SAP-backup done exactly? I assume it is using some kind >of tar... >Which version of tar are you using? Upgrade to the latest (or some >newer one) and try again.Ive tried NFS as well. Same situation but it stops at a different size; I think it was 2 GB (4 GB with Samba) I dont know which process gives me the "filesize exceeded"; how can I find out? I get this if try to use a "cp" (copy) with a file larger than 4 GB exactly in that Moment when it reaches the magic border. In case of using SAPDB I get an error from the database saying "Broken Connection". When I examine the datafile already backed up on the Windows box it has - surprisingly - again the magic filesize. I think that SAP Backup uses some kind of "internal TAR" because in case running SAPDB under Windows there is no OS-driven "TAR". But may be you are right. Right now I dont know how to figure out. Anyway: I cannot tell SAPDB to use a different TAR. Ive already thought about using STAR. CLcd> Stefan, do you think there may be a "switch" in the kernel, or CLcd> something with my GLIBC? I've found some people telling others to CLcd> create a new kernel with a new GLIBC?!?! I dont know if that really CLcd> makes sense. In my eyes I would have made more sense to choose a CLcd> newer version of SAMBA.> >I don?t KNOW this exactly but your kernel seems to be young enough to >support that. >Could be that your ext2-subsystem is too old to support. >Please try logging first, report to the list.OK. But to let you know: I'm using EXT3. At home Ive tried REISERFS and there it happened too.>If this doesn?t lead to something useful, we can trace the ext-path >off-list. >CLcd> I'm trying to keep my head up. With Linux books .... ;-) >that?s the way to learn.Neverending Process... ;-)>Stefan G. Weichinger >mailto:monitor at oopsdotcodotatKind Regards, Carsten ______________________________________________________________________ This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. command ag
|> I have a Windows-2000-domain with ten W2K servers. One of the |> servers is my backup server which has a share for each of the |> other servers where they can put their database-backups. As |> well I have a Linux box running a database; it also has to put |> its database backup to a share (named above). |> |> A few words on my database: I'm running SAP DB 7.3. It has the |> option to backup the database either on a tape or on into a |> file. If using "file-backup" this file can be anywhere on the |> linux, either in the local file system or in NFS or in SAMBA. |> SAP DB does not care on that as long as it can use a mount. Can you give your SAP DB backup program name of a pipe file as destination? Then you can read from that pipe through a decent "rsh" or "rexec" from W2K.