colonialiu20
asked on
copy iphoto library
I have a 120gb iphoto library. I/m trying to offload it to my nas. The gui keeps on failing. ive read that it might be better to transfer large files through the terminal, however, i keep getting errors in the terminal too. Ive tried cp -r /Users/missy/Pictures/iPho to\ Library smb://192.168.1.1/Missy, but that is throwing errors too. some of the errors im getting is No such file or directory and unable to copy extended attributes.
Perhaps it has something to do specifically with the iphoto library. Is it a directory or one file? Please help me get my huge iphoto library over to my nas.
Thank you
Perhaps it has something to do specifically with the iphoto library. Is it a directory or one file? Please help me get my huge iphoto library over to my nas.
Thank you
ASKER
no, its ext3
The maximum block size for ext3 can be as low as 16GB if the drive is formatted with a 1K block size. Do you know what your block size is?
http://en.wikipedia.org/wiki/Ext3#Size_limits
http://en.wikipedia.org/wiki/Ext3#Size_limits
ASKER
output of fdisk
Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 243201 1953512001 83 Linux
I don't think the problem has anything to do with maximum file size, as iPhoto library contains many files.
Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 243201 1953512001 83 Linux
I don't think the problem has anything to do with maximum file size, as iPhoto library contains many files.
The iPhoto library is in fact one "package" file and it looks to me as if your block size is in fact 1KB. I think you are going to have to reformat your NAS if you want to move the iPhoto library to it.
ASKER
would you mind sharing how you get a 1kb block size with the above data. just curious.
ASKER
in addition, how do you calculate the maximum file size?
Disk size = 2000398934016 bytes
No. of Blocks = 1953512001
2000398934016 / 1953512001 = 1024 = 1 KB
No. of Blocks = 1953512001
2000398934016 / 1953512001 = 1024 = 1 KB
Maximum file size for a 1 KB block size is 16 GB, per the Wiki article linked in my earlier post.
ASKER
after i reformat w a 2kb block size, whats the best way to proceed to copy the iPhoto library to the nas? what command will work best?
Why not reformat to a 4 KB block size? That will give you a maximum file size of 2TB. A 2 KG block size will only give you a 256 GB maximum file size.
You should just be able then to do a straight finder copy of the iPhoto library. No need to use terminal.
You should just be able then to do a straight finder copy of the iPhoto library. No need to use terminal.
The iPhoto Library is NOT a single file (it is in effect a FOLDER with a file extension of .photolibrary) and OSX interprets such folders as a package or single file but you can simply right click( or Ctrl + left click) on the folder and select "View Package Contents" and you will open the folder and see all the files and folders inside.
Therefore the problem is probably NOT the size of the iPhoto Library but problems copying file and folder attributes from the OSX hard drive to the ext3 formatted NAS.
How are you connecting to the NAS .. via SMB or CIFS or what?
Have you tried any of the command-line copying options like "cp", "ditto" or even "rsync"?
Therefore the problem is probably NOT the size of the iPhoto Library but problems copying file and folder attributes from the OSX hard drive to the ext3 formatted NAS.
How are you connecting to the NAS .. via SMB or CIFS or what?
Have you tried any of the command-line copying options like "cp", "ditto" or even "rsync"?
If you're not comfortable with command line tools you could look at creating an Automator script to automate the ditto command .. like this one
http://superuser.com/questions/260655/how-to-use-automator-to-give-a-gui-to-ditto
There are several applications which provide an interface for "rsync"
https://www.macupdate.com/app/mac/20983/arrsync
https://www.macupdate.com/app/mac/38120/ultracopier
http://superuser.com/questions/260655/how-to-use-automator-to-give-a-gui-to-ditto
There are several applications which provide an interface for "rsync"
https://www.macupdate.com/app/mac/20983/arrsync
https://www.macupdate.com/app/mac/38120/ultracopier
ASKER
I'm connecting to the NAS via smb, and tried using the cp command that was in my original post. Please take a look at my cp command in the original question. Perhaps I have something wrong?
Have you mounted the volume smb://192.168.1.1/Missy so that it appears in the Volumes folder
Create a folder in the Missy Directory called iPhoto Library
Then you should use the command
cp -r /Users/missy/Pictures/iPho to\ Library /Volumes/Missy/iPhoto\ Library
Create a folder in the Missy Directory called iPhoto Library
Then you should use the command
cp -r /Users/missy/Pictures/iPho
ASKER
I used the above command, and I didn't get any errors. The command is just sitting there, I don't see any visual progress, like a status or progress. How should I proceed? Is there a way I can monitor the copy?
Unfortunately there's no feedback for the cp command .. sit back and wait .. could be some time!!
ditto and rsync can be better as they can copy just changed files from source to destination
ditto and rsync can be better as they can copy just changed files from source to destination
You could also open the Missy drive in the finder ... and you should see the contents updating
Iain is right and I was wrong. Although the Mac finder treats the iPhoto library as a single file for viewing purposes, it appears that it is treated as a folder for the purposes of SMB copying.
Further to Iain's last post, you could also open Console on the Mac to see if there are any error messages with respect to the copying operation.
Further to Iain's last post, you could also open Console on the Mac to see if there are any error messages with respect to the copying operation.
Oops. Sorry Eoin. I really am screwing things up this morning! Shouldn't try to type before my morning coffee.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/what-is-the-maximum-file-size-fat-fat32-ntfs-file/1663db6b-490e-4021-9e36-f7a6976ac0c0