WebNFS copy 3Gb file results in arrayindexoutofboundsexception

Hi,
Using webNFS to copy a backupfile to a SAN via a NFS share
the file is 3Gb, and hence com.sun.nfs.Nfs.write results in a exeption
XFileInputStream in = new XFileInputStream(srcFile);
XFileOutputStream out = new XFileOutputStream(dstFile);
int c;
byte[] buf = new byte[32768];
while ((c = in.read(buf)) > 0)
out.write(buf, 0, c);
srcFile is c:\tempbackup.tar
dstFile is nfs://sanserver/backup/myserver/tempbackup.tar
it looks like the nfs classes are using Int for filesize,
but file is bigger thatn int, and needs long...
Any ideas of how to solve this?
Thanks a lot.
Sascha

sorry, I should have inculded that;
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -2048
at com.sun.nfs.Nfs.write(Nfs.java:447)
at com.sun.nfs.XFileAccessor.write(XFileAccessor.java:336)
at com.sun.xfile.XFileOutputStream.XFAwrite(XFileOutputStream.java:143)
at com.sun.xfile.XFileOutputStream.write(XFileOutputStream.java:181)
at xcopy.main(xcopy.java:55)

Similar Messages

  • Can only copy few files at a time from DVD

    I received two DVDs from our wedding photographer and when trying to copy a DVD with about 400 images to my Mac it always fails somewhere in the process, with the drive making a disconcerting scratching noise just before it stops. Once it fails the only option is to force quit Finder and then force restart. Tried copying all the files at once from the second DVD and same result.
    I have been able to copy small batches files, a few at a time, and am up to about 100 of the 400 on disk one but it has taken hours. Sometimes it fails on a batch of 10, sometimes not, and I can always eventually copy the files in the failed batch do I don't think the files are corrupt on the DVD, nor do there appear to be any scratches. Each time it fails my only recourse is to force restart and try the batch again. At this rate it could take 20 hours to copy images from both DVDs.
    Any idea how to fix this? Here is info on my drive:
    MATSHITA DVD-R UJ-867:
    Firmware Revision: HA13
    Interconnect: ATAPI
    Burn Support: Yes (Apple Shipping Drive)
    Cache: 2048 KB
    Reads DVD: Yes
    CD-Write: -R, -RW
    DVD-Write: -R, -R DL, -RW, +R, +R DL, +RW
    Write Strategies: CD-TAO, CD-SAO, DVD-DAO
    Media: To show the available burn speeds, insert a disc and choose View > Refresh

    Thank you for the replies. After using both my laptop and another laptop to copy the files we finally got them all copied. Both laptops exhibited similar behavior on both DVDs so it probably is the type of DVDr (. The scratching was not the laser motor seeking to read the disk, rather it was relative to the spinning speed of the dvd, as if it were warped or had a piece sticking off of it, and it scratched more the faster the DVD spun, but the DVD looked to be fine. I have since tried other DVDs and they work fine so still not sure what the problem was but the files are on my HD now so that problem is solved.
    -Lewis

  • Easiest Way to Copy many Files, Songs, Photos, ... From One Mac to Another?

    My daughter is about to buy a MacBook for school.
    What is the easiest way to copy files from my computer to her new one (while leaving originals in place)?
    There are three kinds of files -- documents, photos and music.
    I have a pile of cables -- USB, Firewire, Ethernet, ... -- and an external hard drive with copies of everything on my internal HD.
    Any advice?
    Thanks

    Two methods for the same result.
    Your way:
    Using the external the OP would need to connect it to the computer with all the files, then copy the files onto the external. Once the copy was finished the OP would then need to connect the external to the other computer and copy the files off.
    If the OP already has a complete back up of the original computer than the files just need to be copied off the external, so your way would be easier. But I find that I usually don't have a completely up to date backup so I assume at least a few files would need to be copied off the original computer first, anyway.
    My way:
    Connect the computers with a firewire cable. Start one in Target Disk Mode. Copy the files across. When the copy is done, restart the TDM computer. No worries about missing any files that may not be on the external backup yet.
    Which is better is simply a matter of preference and perception.

  • Can't copy some files from Windows 7 to Mac OSX over network

    Hi,
    I'm running the latest version of Max OSX v10.8.4 on a brand new Macbook Pro.
    I have followed the setup instructions at http://www.7tutorials.com/how-change-workgroup-mac-os-x-easy-networking to access my Macbook from Windows, and http://www.howtogeek.com/howto/24950/how-to-share-a-folder-in-os-x-with-windows/ to share some folders from my Macbook to Windows.
    I am now trying to copy some files from my Windows 7 Pro (SP1) computer to my Mac, and have hit the following problems:
    I can view my Macbook in my list of local networked computers on WIndows, but I cannot access it. Clicking on it causes Windows 7 to try and access it, but then I get a message after a minute saying the network path could not be found. However, if I manually enter the IP address of my Macbook in the Windows address bar (\\192.168.0.191), I can view and access all the shared folders. I can never access the Macbook via it's computer name (\\MACBOOK-ROB).
    I cannot copy some files from Windows to my Macbook shared folders via Windows. There is nothing to distinguish these files from the hundereds of other files that I have successfully copied to my Macbook. They are pictures and music with no special characters in the filenames, not overly long filenames or folder paths, no access restrictions, or any other security restriction that I can see. However, every single attempt to copy these files to my Macbook results in WIndows reporting that access to the destination was denied.
    I have tried both these above scenarios on WiFi and Ethernet, and the results are the same.
    So:
    Why am I unable to access my Macbook by it's computer name on the network? How can Windows see it, but not access it?
    What are the limitations on transferring files over SMB that is (presumably) causing these specific files to fail?
    Thanks for any help you can offer.

    I have a fix for inability to copy files. I had the same problem moving a lot of old files across my LAN from a Windows XP machine to a Mac Mini running Mountain Lion. After confirming copy of some special file, I would get an error that terminated the copy operation, and info on the Mac side would show a locked folder.
    I finally decided to eliminate all special files on the Windows side, before copying, by running
         attrib -s -h -r /s /d [drive or folder]\*.*
    in a command window. Running attrib /?  tells what the arguments mean, but it doesn't explain that you need the *.* to make the command go through the hierarchy clearing the special attributes on all the files.
    After I did that, and then used drag and drop between two Windows Explorer windows (one on the Windows drive, on on the target drive on the Mac), the whole move operation ran to completion without stopping either for error or to ask for confirmation.
    I do not have a fix for the inability to access some computers by name rather than by IP address. I'm looking into the possibility of activating bind on the Mac but I haven't done anything yet.

  • Can't Copy Large Files To External Drive

    This is driving me nuts. I'm running 10.4.11 with an external Newer Tech Ministack 320GB hard drive that's only ten weeks old. Yesterday I downloaded some large (50mb or so) QuickTime files to my desktop, which is to say my internal drive. I then tried to copy them to my external drive, since that's where I keep my movie files since they take up so much room. One copied over without any trouble, but numerous attempts to copy the others result in the process freezing after anywhere from 1/4 to 3/4 of the data has been copied, or else I get the "error 36" message. My first thought was that the external drive was failing, but I can copy small movie files (10mb or so) back and forth between the two drives with no problem. What's the point of having a large external drive if you can't use it for your large files? Repaired permissions on both drives, no improvement.

    I have repaired permissions and run disk repair on the internal drive as well. Yes, I've played the clips in their entirety, but I'm going to do it again and look for any hiccups. That's an interesting theory and I want to check it out.
    It has occurred to me that a workaround, although it by no means addresses the underlying problem, is to use QuickTime Pro to chop the clips up into several smaller files, copy them to the external drive, and then reassemble them via QuickTime Pro on the external drive.
    FWIW, I neglected to mention (although I don't know if it's pertinent or not) that immediately after installing the external drive ten weeks ago I used SuperDuper to clone my entire internal drive onto the external firewire drive. I then erased the movies from the internal drive, which was bumping up against maximum capacity. I am able to boot from the external drive, and I want to retain this capacity should the internal drive (which is, after all, six and a half years old) fail.

  • Error message when I try to copy new files (images, documents) to mac from flash drive/SD card

    I am recieving an error message when I try to copy new files (images, documents) to mac from flash drive/SD card. The message is saying "operation cannot be completed because an item already exists with that name." They are brand new therefore not the same name? I cannot even put them in a brand new folder...  How can I fix this?
    Please help me!

    You don't need to recover the system.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press the space bar:
    dot_clean -m
    Switch to the Finder and drag the icon of the flash drive into the Terminal window. Some text will appear after what you entered. Press return.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear. Then quit Terminal and try the copy again.

  • Copying large file sets to external drives hangs copy process

    Hi all,
    Goal: to move large media file libraries for iTunes, iPhoto, and iMovie to external drives. Will move this drive as a media drive for a new iMac 2013. I am attempting to consolidate many old drives over the years and consolidate to newer and larger drives.
    Hardware: moving from a Mac Pro 2010 to variety of USB and other drives for use with a 2013 iMac.  The example below is from the boot drive of the Mac Pro. Today, the target drive was a 3 TB Seagate GoFlex ? USB 3 drive formatted as HFS+ Journaled. All drives are this format. I was using the Seagate drive on both the MacPro USB 2 and the iMac USB 3. I also use a NitroAV Firewire and USB hub to connect 3-4 USB and FW drives to the Mac Pro.
    OS: Mac OS X 10.9.1 on Mac Pro 2010
    Problem: Today--trying to copy large file sets such as iTunes, iPhoto libs, iMovie events from internal Mac drives to external drive(s) will hang the copy process (forever). This seems to mostly happen with very large batches of files: for example, an entire folder of iMovie events, the iTunes library; the iPhoto library. Symptom is that the process starts and then hangs at a variety of different points, never completing the copy. Requires a force quit of Finder and then a hard power reboot of the Mac. Recent examples today were (a) a hang at 3 Gb for a 72 Gb iTunes file; (b) hang at 13 Gb for same 72 Gb iTunes file; (c) hang at 61 Gb for a 290 Gb iPhoto file. In the past, I have had similar drive-copying issues from a variety of USB 2, USB 3 and FW drives (old and new) mostly on the Mac Pro 2010. The libraries and programs seem to run fine with no errors. Small folder copying is rarely an issue. Drives are not making weird noises. Drives were checked for permissions and repairs. Early trip to Genius Bar did not find any hardware issues on the internal drives.
    I seem to get these "dropoff" of hard drives unmounting themselves and other drive-copy hangs more often than I should. These drives seem to be ok much of the time but they do drop off here and there.
    Attempted solutions today: (1) Turned off all networking on Mac -- Ethernet and WiFi. This appeared to work and allowed the 72 Gb iTunes file to fully copy without an issue. However, on the next several attempts to copy the iPhoto and the hangs returned (at 16 and then 61 Gb) with no additional workarounds. (2) Restart changes the amount of copying per instance but still hangs. (3) Last line of a crash report said "Thunderbolt" but the Mac Pro had no Thunderbolt or Mini Display Port. I did format the Seagate drive on the new iMac that has Thunderbolt. ???
    Related threads were slightly different. Any thoughts or solutions would be appreciated. Better copy software than Apple's Finder? I want the new Mac to be clean and thus did not do data migration. Should I do that only for the iPhoto library? I'm stumped.
    It seems like more and more people will need to large media file sets to external drives as they load up more and more iPhone movies (my thing) and buy new Macs with smaller Flash storage. Why can't the copy process just "skip" the parts of the thing it can't copy and continue the process? Put an X on the photos/movies that didn't make it?
    Thanks -- John

    I'm having a similar problem.  I'm using a MacBook Pro 2012 with a 500GB SSD as the main drive, 1TB internal drive (removed the optical drive), and also tried running from a Sandisk Ultra 64GB Micro SDXC card with the beta version of Mavericks.
    I have a HUGE 1TB Final Cut Pro library that I need to get off my LaCie Thunderbolt drive and moved to a 3TB WD USB 3.0 drive.  Every time I've tried to copy it the process would hang at some point, roughly 20% of the way through, then my MacBook would eventually restart on its own.  No luck getting the file copied.  Now I'm trying to create a disk image using disk utility to get the file from the Thunderbolt drive and saved to the 3TB WD drive. It's been running for half an hour so far and appears that it could take as long a 5 hours to complete.
    Doing the copy via disk image was a shot in the dark and I'm not sure how well it will work if I need to actually use the files again. I'll post my results after I see what's happened.

  • Copying large files to internal HD works for a bit, then freezes

    Hello fellow Mac users,
    I have a fairly heavily modified G4 Digital Audio. It was originally the 533Mhz model, then upgraded to a Dual 1.2. All in all, it is a workhorse, but I have a very strange issue that seems to be creeping up - when I copy files, particularly large ones (I originally thought greater that 4GB, but now it has happened to files that are less than 3GB). Files will start to copy just fine, then the progress bar will stop and the file transfer freezes. Sometimes I get the spinning pinwheel, sometimes not. When I press 'stop', it does nothing and I end up having to crash the machine and reboot.
    I recently installed a Sonnet ATA/133 card and a large 300GB drive. The whole point of having a large drive like this is to copy large files, right? Seems that whenever I try to copy files to the new drive, the process begins and things are very quick, until it hits a particular file and then just stops.
    There doesn't seem to be anything wrong with either the Sonnet ATA133 or the drive, necessarily. I've run Disk Warrior, repaired permissions, zapped PRAM and NVRAM. I've tried eliminating devices and nothing seems to really work. The new drive is a Maxtor 300GB. The jumper setting was set to 'CS Enabled'. I'm not really sure what that means. I then changed it to Master and made sure that is was the master on the ATA bus, but the problem persists either way.
    I'm wondering if anyone else has had trouble copying large files (I'm sure many of you have installed large drives on a G4), if this is an anomoly, or if any of you have any advice.
    Cheers,
    Shane

    Update as to how I got it to work:
    I did get it to work... although it's still a little perplexing as to exactly why:
    I mentioned previously that I'd switched the jumpers on the HD's from 'CS enabled' to 'Master'. This actually made things worse. Files started freezing after only copying 100MB or so. So I switched them back. Once I switched the jumpers back to 'CS enabled', things started working. I even copied over an 86GB MP3 folder in under an hour! This solution is odd, as I'm sure that this is how I had it set previously. However, maybe something wasn't connecting right or the computer was finally in the mood to do it... I don't know.. but I am grateful that it's working...
    Shane

  • Error -36 when trying to copy AVI files from External Drive to Mac

    Hi
    Hoping for some help with a problem I appreciate others have faced.
    I bought a new video camera recently and have just tried to copy the AVI files from the first few videos to my mac but am getting the error code 36 that states the files cannot be read or written.
    The format of the camera is MS-DOS (FAT 32) but when I tried changing it to MAC OS Extended it did something to the camera so the mac could then not recognise it when I tried to re-connect it via the USB port.
    I've been able to copy the files onto my friends Windows laptop no problem so don't believe them to be corrupt.
    Have also tried the dot_clean fix but this didn't work.
    Could there be another reason for the error? Any help or advice would be much appreciated.
    Thanks

    BDAqua wrote:
    I hear 3rd Party, or HW Raid 0/1/5/10 are OK, but 6 months is the absolute most I got out of my many screaming RAID setups before they completely lost it!
    Bummer. I'm not really doing this for speed though, just for total storage volume and constant, worry-free, no-brainer back-up. I guess RIAD in general is something I need to study up on. Would a simple mirror of one 500GB drive to another (back-up) - and do that twice - be a better, more reliable way to go?
    I've used Tri-Backup3/4 for years for Backups, it's fast, automatic, reliable, works in the background if you wish...
    Back-up software always seemed to have some kind of a hiccup to it, but I'll certainly look into Tri-Backup3/4. I used to Retrospect years ago, a rather fussy thing if I recall.
    Now, on the Safe Mode boot - not a success BUT a different result!
    I got the -36 again, but this time it was the external drive FILE that errored, not the OS-resident drive.
    In other words, pre-Safe Mode the error said "...because some data in "ZillaHAL" could not be read or written." (ZillaHAL is my OS-X drive).
    In Safe, it read, "...because some data in "WinXP Pro.vmem" could not be read or written."
    "WinXP Pro.vmem" is the virtual machine file - which basically is a simple Mac volume (folder) containing all of the files to run my XP virtual machine.
    Also, this time, a file* did manage to remain on the external drive whereas before, after the error, no file at all remained.
    * a generic icon appears, but it shows a size of 16+GBs. The actual file is 18.13GB - I did manage to shrink it down the other day (from it's previous 25GB).
    Well, that's it for now. I'll be away for three days, so don't mind me if I cannot reply back for a spell.
    Thanks BD,
    mp

  • External Hard Drive will not copy/open files.

    Today, I went to edit photos on my iMac. I have a 1tb G-Drive Mobile that I have been using lately to store photos/videos on. I last used the hard drive this past friday, 4/4/2014. When I opened Lightroom to open my photos the whole program froze. I them went to the hard drive to see if there was something wrong with the folder and I soon found out that I was not able to open any files on the hard drive. I can see all the folders and individual files on the hard drive in finder but I am unable to open/copy/ or view any of these files. Every time I attempt to open/copy a file my whole computer freezes. Once I unplug the hard drive (w/o ejecting) everything goes back to normal. I have absolutely no idea what is going on. It worked fine one day and the next it doesn't function. I have tried using it on 2 MacBook Pros and my iMac and same result with all three computers.
    Any help would be very much appreciated.
    Thanks,
    Jaison

    when I tried to copy all files
    Exactly which files did you copy?
    Quit iTunes.
    Copy the entire /iTunes/ folder frn one external to the other.
    Hold Shift, launch iTunes.
    Select Choose library... and select the iTunes folder you want on the external.

  • USB Drive Resets during file copy, interrupting file operations

    Fresh Arch Linux install, working USB thumb drive (Windows, previous Arch Linux setups, etc.), formatted FAT32.
    Seems to randomly reset, eject, and auto-re-mount during extensive file operations (i.e. copying 4gb worth of 800 files from the USB thumb drive to disk).
    I've tried various USB ports to no avail; no external hub being used.
    Thoughts? Not sure where to begin diagnosing:
    dmesg:
    usb 1-1: configuration #1 chosen from 1 choice
    scsi17 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 15
    usb-storage: waiting for device to settle before scanning
    scsi 17:0:0:0: Direct-Access OCZ RALLY2 1100 PQ: 0 ANSI: 0 CCS
    sd 17:0:0:0: Attached scsi generic sg2 type 0
    usb-storage: device scan complete
    sd 17:0:0:0: [sdb] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
    sd 17:0:0:0: [sdb] Write Protect is off
    sd 17:0:0:0: [sdb] Mode Sense: 43 00 00 00
    sd 17:0:0:0: [sdb] Assuming drive cache: write through
    sd 17:0:0:0: [sdb] Assuming drive cache: write through
    sdb: sdb1
    sd 17:0:0:0: [sdb] Assuming drive cache: write through
    sd 17:0:0:0: [sdb] Attached SCSI removable disk
    usb 1-1: reset high speed USB device using ehci_hcd and address 15
    sd 17:0:0:0: [sdb] Unhandled error code
    sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
    end_request: I/O error, dev sdb, sector 7589504
    sd 17:0:0:0: [sdb] Unhandled error code
    sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
    end_request: I/O error, dev sdb, sector 7589744
    sd 17:0:0:0: [sdb] Unhandled error code
    sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
    end_request: I/O error, dev sdb, sector 7589776
    usb 1-1: USB disconnect, address 15
    FAT: bread failed in fat_clusters_flush
    FAT: FAT read failed (blocknr 3805)
    FAT: Directory bread(block 24147944) failed
    FAT: FAT read failed (blocknr 3818)
    <snip lots of repeats>
    FAT: FAT read failed (blocknr 4032)
    FAT: bread failed in fat_clusters_flush
    FAT: bread failed in fat_clusters_flush
    FAT: bread failed in fat_clusters_flush
    usb 1-1: new high speed USB device using ehci_hcd and address 16
    usb 1-1: configuration #1 chosen from 1 choice
    scsi18 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 16
    usb-storage: waiting for device to settle before scanning
    scsi 18:0:0:0: Direct-Access OCZ RALLY2 1100 PQ: 0 ANSI: 0 CCS
    sd 18:0:0:0: Attached scsi generic sg2 type 0
    usb-storage: device scan complete
    sd 18:0:0:0: [sdb] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
    sd 18:0:0:0: [sdb] Write Protect is off
    sd 18:0:0:0: [sdb] Mode Sense: 43 00 00 00
    sd 18:0:0:0: [sdb] Assuming drive cache: write through
    sd 18:0:0:0: [sdb] Assuming drive cache: write through
    sdb: sdb1
    sd 18:0:0:0: [sdb] Assuming drive cache: write through
    sd 18:0:0:0: [sdb] Attached SCSI removable disk
    lsusb -v for the drive:
    Bus 001 Device 016: ID 0325:ac02 OCZ Technology Inc ATV Turbo / Rally2 Dual Channel USB 2.0 Flash Drive
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    idVendor 0x0325 OCZ Technology Inc
    idProduct 0xac02 ATV Turbo / Rally2 Dual Channel USB 2.0 Flash Drive
    bcdDevice 11.00
    iManufacturer 1 OCZ Technology
    iProduct 2 RALLY2
    iSerial 3 AA04012700275633
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
    (Bus Powered)
    MaxPower 300mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 2
    bInterfaceClass 8 Mass Storage
    bInterfaceSubClass 6 SCSI
    bInterfaceProtocol 80 Bulk (Zip)
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 255
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 EP 2 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 255
    Device Qualifier (for other device speed):
    bLength 10
    bDescriptorType 6
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    bNumConfigurations 1
    Device Status: 0x0000
    (Bus Powered)
    Last edited by lieut_data (2009-12-26 17:39:56)

    Jithin wrote:
    When ever I copy some files or create a file in my external USB drive which is a FAT32 one. file permissions are not preserved.
    From <http://support.apple.com/kb/HT3764>:
    "The MS-DOS (FAT32) file system format does not support permissions, file owners, and groups. Such permissions are synthesized on Mac OS X with some default permissions. Because of this all files will have the same permissions […]"
    So it's not "how it work in mac", but it's a limitation of the FAT32 file system.

  • OS X 10.4.7 server: Samba leaking ram when copying large files from windows

    Hi.
    I'm having problems with:
    Copying files from windows clients to OS X Server 10.4.7 uses up the RAM needed for the files to be copied.
    If I copy a 3GB file, it uses 3GB of RAM
    If I copy a 5GB file, it uses its 4GB of RAM, plus VM.
    If I copy 11GB of files (that is several little files, plus some big by dropping a folder to the share), it consumes all the RAM the machine has, and because of VM paging, whatever other clients are reading from the disk (XRaid) start to have hiccups.
    The RAM of the machine NEVER gets flushed after the copying has finished. So Samba is unusable as it is. I have four Xserves with 4GB of RAM, with 4 XRaids connected each one to each Xserve with its Apple Fiber Channel card and cables.
    I already did the ack=0 thing, got the size of inet.tcp.sendspace and rcvspace to 8388608 and the buffer to 16777216.
    The transfers rates are up to 70MB/s with 2 channel 1gb trunking, and at very sustained rates..
    We are using these to edit video content (DV 25) in Sony Vegas with 2 or 3 clients for each server.
    Any suggestions?
    Thanks very much.
    XServe G5 cluster node (4) / XRaid 7TB (4)   Mac OS X (10.4.7)  

    Michael, I occasionally notice anomolous behaviour when files get dragged between volumes. Mostly the copying window shows an accurate and immediate indication of what's going on, but other times it just looks like nothing's happening, the display never changes, yet, it is in fact copying the files over. Now, if you're copying 2gb files from DVD to HD, it's gonna take some time, more than 5 minutes, so I'm wondering how long you've left it before forcing it to quit?

  • Macbook pro 10.6 Copying larger files to external

    I'm stuck. I am trying to copy MOV and MTS files from one hard drive to another. I keep getting an error message. Here are the facts:
    Macbook Pro
    OS 10.6.8
    Hitachi hard drive 2tb
    Copying MOV and MTS files
    Hitachi has been formatted many times to Mac OS extended (journaled). One time I even tried creating 1 partition with the same.
    I am dragging and dropping the files
    I am able to move smaller files (pdf, doc, ai) up to about 50mb with no problem.
    After a file results in an error it is impossible to copy anything else to the drive no matter how small
    Also, the Hitachi will not eject after and I have to unplug it to get it off line.
    I was able to plug in another drive I have here (different brand) and copy everything I wanted to that but I need another dedicated backup of the files.
    I spent quite a bit of time reading on similar problems and practically everyone has a problem because they are formatted in FAT32. That is not the case here. What am I doing wrong? Is there a way to find out if there is something wrong with this drive?

    kwmlr439 wrote:
    CSOUND Read the title please:
    Re: Macbook Pro 10.6.8 RAM Upgarde to 8 GB
    The amount of RAM is not dependant on the operating system. It is all about the model of you Mac.
    10.6.8 is the version of OS X that is installed on your system. It has no real baring on the amount of RAM that CAN be installed.
    Personally I have never had good luck with Corsair RAM. I have always had good luck with Crucial and Kingston.
    Message was edited by: Shootist007
    Message was edited by: Shootist007

  • How to add process model results to the sequence file results?

    After my sequence file runs, I would like to add some additional results using the process model. I need to log my equipment list which is obtained by the process model. Alternatively, I could add a sub-sequence to the end of each of my sequence files for doing this, but that would create maintenance problems if I ever needed to change the way equipment is logged. Does anyone know a way to (1) append process model results to the sequence file results or (2) force each client sequence file to call a sub-sequence before returning to the process model.

    Mark -
    The report and database process model routines expect a single subsequence step result that invoked MainSequence. This result contains the results from the sequence call.
    In TestStand after the process model root sequence call to MainSequence is performed, the property Locals.ResultList[0] is the MainSequence result. The subproperty Locals.ResultList[0].TS.SequenceCall.ResultList contains the results from the steps in MainSequence.
    One option is to create a subsequence call in the process model that logs the equipment info in the results for its steps. The call to the subsequence should not be checked to record results.
    This subsequence would have a parameter called ResultList. The Result type does not exist in the Insert menu, so you can only create the parameter by copying the empty Locals.ResultList and pasting it in the parameters. Then change its type from By Value to By Reference.
    In the setup of the subsequence, add the following steps which do not record results. These steps rename the Locals.ResultList parameter to ResultListOrig, and then create a new Locals.ResultList alias property that really references Parameters.ResultList. This way any additions to the Locals.ResultList really append to the Parameter.ResultList.
    Setup
    Step: "Rename Locals.ResultList"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Set PropertyObject.Name = "ResultListORIG"
    Record Results: False
    Step: "Create Alias in Locals"
    StepType, Adapter: Actioin, Active-X
    Description:
    Action, Call PropertyObject.SetPropertyObject ("ResultList",
    0x201 ' Not Owning and Create, Parameters.ResultList)
    Record Results: False
    In the Main steps, you add your equipment info steps which record results.
    In the Cleanup steps you undo the steps performed in Setup.
    Cleanup
    Step: "Delete Alias in Locals"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Call PropertyObject.DeleteSubProperty ("ResultList",
    0x400 ' Refer to Alias)
    Record Results: False
    Step: "Rename Locals.ResultListORIG"
    StepType, Adapter: Action, Active-X
    Description:
    Action, Set PropertyObject.Name = "ResultList"
    Record Results: False
    I have attached a TS 2.0 version of SequentialModel.Seq that has a AppendResults subsequence in it and this is invoked after MainSequence in Single Pass entry point.
    Hope this helps...
    Scott Richardson (NI)
    Scott Richardson
    National Instruments
    Attachments:
    SequentialModel.Seq ‏174 KB

  • Please Help! I Need To Copy Some Files.

    Hi, everyone.
    I had a couple corrupt files on a TM backup so I copied the folders System, Library, and Applications from the most recent backup to another drive. I replace the corrupted files.
    Now, I just need to copy the folders from the external disk to the internal (boot) drive.
    I can't do this with Finder because OS X uses the folders and won't let me touch them.
    So, the solution I've come up with is to boot from the OS X install DVD and use Terminal to copy the files.
    (Let me know if there's a better way.)
    I tried the following code, which I got off Wikipedia:
    cp -R /volumes/drive/folder /
    The result was a source disk that needed some cleaning up in Disk Utility and a destination Applications folder containing only the Apple applications.
    During the operation, Terminal very rapidly cycled through error messages for apparently every non-Apple program. It said things like 'no such directory' and 'unable to copy extended attributes'.
    So, I ask of you, smart people, a better command.
    Where did I go wrong with this?
    What should I do differently?
    Is this even possible?
    Thanks in advance!
    I'm just trying to get my files back.

    Thanks!
    I thought that as well, until I saw the size of the folders I was copying.
    But if that's how it works, I guess I'll work on fixing the corrupt backups.
    The Finder seemed to do OK with copying the folders, but I guess they probably don't have everything.
    Thanks again, you just saved me a lot of time!

Maybe you are looking for