[X4U] How do I clone to a NAS?

Stroller macmonster at myrealbox.com
Fri Apr 6 07:51:25 PDT 2007


On 15 Mar 2007, at 16:57, Neil wrote:

> I have a Buffalo Terrastation network attached RAID storage drive.   
> I also have a LaCie Big Disk FW800/USB2 RAID external drive.  I  
> would like to clone the contents of my LaCie drive to my new NAS.   
> I can mount my NAS share in the Finder and copy files to it, but I  
> can't select the share in Carbon Copy Cloner nor Super Duper.

No, you wouldn't be able to. I'm pretty sure this is because the CCC  
& SuperDuper are front-end for the `ditto` command - they're probably  
protecting you from trying to blindly copy resource-forks across the  
network.

>   I tried just copying the files, but I got an error message that  
> the file name is too long so it stopped copying.  The NAS has a web  
> interface that says that the file format is XFS.  I thought it  
> should handle long file names.  So, does anybody have any  
> suggestions?  Thanks.
> (The NAS supports SMB and AFP out of the box.)

Hmmmn... how are you mounting the NAS?
Have you tried using Apple-K in Finder and then afp://NAS.name as  
well as smb://NAS.name ?

What filesystem is the LaCie drive formatted with?

I wouldn't be at all surprised to find that Samba has long filename  
issues, but would be surprised if it couldn't handle files from a  
FAT32-formatted drive. Apple's HFS, on the other hand, and the way  
that Finder allows you to put punctuation in filenames, seems be very  
flexible (far more than many other filesystems or network file- 
sharing protocols, I'd imagine).

I don't think you'll find this easy to overcome. I'm sure that just  
making a tar or zip archive of the files on the LaCie drive would be  
unsatisfactory, although you might find that you can copy a .dmg disk  
image of it onto the NAS which can be mounted acceptably.

You might try copying via the command-line and redirecting stderr to  
a text file (you might have to use the find command to cp each file  
individually, piping through tar twice to preserve directory  
structure), so that afterwards you can examine in that which  
filenames have failed. If it's only a handful then you might be able  
to simply rename them.

I'd have most confidence in taking the XFS disk out of the NAS unit  
and connecting it & the LaCie to a Linux box. If this is successful  
then the drive can be placed back in the NAS & you _should_ be able  
to access the files ok, but if there are significant numbers of files  
that can't be copied that way then you're h0sed.

Stroller.



More information about the X4U mailing list