cancel
Showing results for 
Search instead for 
Did you mean: 

I cannot copy files to smbfs NAS drive with SLES-8 Linux - SAP

Former Member
0 Kudos

Hi,

I mounted a filesystem onto a Linux SLES-8 server as follows:

As root

mount -t smbfs //IP/nas-back -o uid=orasid,username=user,password=userpw,rw  /sich1

I tried this:

mount -t  smbfs  -o   uid=orasid,username=user,password=userpw //IP/nas-back /sich1

INFO: Debug class all level = 1   (pid 27097 from pid 27097)

srv0002:/oracle/DA2/920_32/dbs #

I tried this also:

mount -t  cifs  -o   uid=orasid,username=user,password=userpw //IP/nas-back /sich1

mount: wrong fs type, bad option, bad superblock on //172.16.4.31/nas-back,

       or too many mounted file systems

srv0002:/oracle/DA2/920_32/dbs #

With no success.

srv0002:/oracle/DA2/920_32/dbs # uname -a

Linux srv0002 2.4.21-190-smp #1 SMP Tue Feb 10 01:07:03 UTC 2004 i686 unknown

srv0002:/oracle/DA2/920_32/dbs # cat /etc/*-release

SuSE SLES-8 (i386)

VERSION = 8.1

UnitedLinux 1.0 (i586)

VERSION = 1.0

LSB_VERSION="1.2"

DISTRIB_ID="UnitedLinux"

DISTRIB_RELEASE="1.0"

DISTRIB_DESCRIPTION="UnitedLinux 1.0 (i586)"

srv0002:/oracle/DA2/920_32/dbs

I can copy 10 files with a size of 4096 but not one file with the size of 4097 bytes.

The filesystem has 465GB free

srv0002:/oracle/DA2/920_32/dbs # df -h /sich1

Filesystem            Size  Used Avail Use% Mounted on

//<IP-Address>/nas-back

                      2.0T  1.6T  465G  78% /sich1

srv0002:/oracle/DA2/920_32/dbs #

No brarchive or brbackup calls are possible.

Thank you for you help.

Jean

Message was edited by: Juan Reyes

Accepted Solutions (0)

Answers (1)

Answers (1)

bxiv
Active Contributor
0 Kudos

So it looks like you have 2 issues:

1. you can't mount a share using smbfs?

2. you can't copy more then 4 MB or 4 GB?

Can you browse/mount the windows share from a Windows system?  Can you copy a file from that same Windows system?

Former Member
0 Kudos

Hi,

Thank you for your response.

1. I can mount the samba share but I cannot copy files larger than 4095 Bytes. These are tiny files.

Of course, I want to backup Oracle archive redologs but I am trying first with tiny files to see if it works and I am trying to diagnose the problem. If the file is one Byte larger than 4095 Bytes the cp command fails. I can copy several 4095 Bytes large files.

2. I mean 4095 Bytes about 4KB.

Yes, the filesystem share is accessible from all other systems.I can access it from Windows and Linux servers. I can see the share in a Windows explorer and move and delete files as I wish. Only this Linux server cannot. It does not matter if I use sidadm or root. Both cannot write large files to it. I can copy large files to the Linux server from this share though. I backup several GB files to this share from other systems daily.

Thank you.

Jean

bxiv
Active Contributor
0 Kudos

I don't think you have any security issues to be concerned with if other systems using the same ID can write larger files to the share.

Is there a quota coming into play with the Share, the Linux server in question, the network?

Another consideration would be that perhaps there is a bug in smbfs or something else on the Linux server?  Can it connect to other Windows shares and send more then 4 K?