[Samba] AIX/Samba vs. Large Files
jojowil at hvcc.edu
Wed Mar 9 13:59:44 GMT 2005
On Wed, 9 Mar 2005, Cameron Hanover wrote:
> /etc/security/limits has fsize at -1, and i've used chuser to make sure
> all the users are set the same [some were created before I figured that
> part out].
Yeah, but look at default and root. Edit the file by hand, it's easier
that way. Setting the default user is the simplest way to go.
> Unfortunately, I didn't set up anything on this machine initially, I'm
> just trying to figure it out after the fact. [I've run linux servers,
> so they thought I could do AIX administration.]
> Anyway, it looks like you may be on to something:
> /dev/lv01 =A0 =A0 =A0 -- =A0 =A0 =A0 =A0 /ancept =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0jfs =A0 41156608 rw =A0 =A0
> =A0 =A0 yes =A0no
> =A0(lv size: 41156608, fs size: 41156608, frag size: 4096, nbpi: 4096,
> compress: no, bf: false, ag: 8)
> What's weird, though, is scp can copy a 1296MB file to that mount, but
> Samba can't. Is there a way I can set bf=3Dtrue without losing all the
> data on it?
Was the scp done as root? This just plays into the default/root thing
> So shines a good deed in a weary world.
Willy Wonka rules! :-)
> On Mar 9, 2005, at 8:43 AM, William Jojo wrote:
> > On Wed, 9 Mar 2005, Cameron Hanover wrote:
> >> I'm having trouble getting Samba 3.0.11 working properly on AIX
> >> 184.108.40.206. =A0I've got a share set up, and I can connect fine, but I can=
> >> get it to transfer files >1GB. =A0I've already set ulimit fsize to -1,
> >> and I can transfer large files via scp to the same directory just
> >> fine.
> >> =A0The directory is on a JFS volume. There are no quotas on this
> >> system.
> >> I've even tried adding -D_LARGE_FILES to the cppflags [there was one
> >> google hit that mentioned that]. The log files tell me nothing [with
> >> loglevel ranging anywhere from 1-5]. The Max Volume Size is set to 0.
> >> When the configure script is run, it says "checking if large file
> >> support can be enabled... yes". According to config.log: #define
> >> HAVE_EXPLICIT_LARGEFILE_SUPPORT 1.
> > What does your /etc/security/limits look like?
> > Also did you create the FS with large file support? JFS by default does
> > not have this turned on. Did you create this with mkfs or smit?
> > If it was mkfs the "-o bf=3Dtrue" needed to be used and the fragment si=
> > must be 4096.
> > Bill
> >> When I try it from OS X, it'll transfer until it hits 1GB, then it'll
> >> report the disk is full, and delete the file. =A0From command line
> >> smbclient, it does the same, but doesn't delete the file, and tells me
> >> "NT_STATUS_DISK_FULL". =A0From Windows XP, it just reports that there'=
> >> not enough space before the transfer starts. =A0The disk has 13GB free=
> >> I've also tried 3.0.9 and got the same results.
> >> Any thoughts on what I could try next?
> >> -c.
> >> So shines a good deed in a weary world.
More information about the samba