xfs
[Top] [All Lists]

Re: VERY URGENT: "cp -a" creates mysteriously "hidden" files?!

To: "Ralf G. R. Bergs" <rabe@xxxxxxxxxxxxxx>
Subject: Re: VERY URGENT: "cp -a" creates mysteriously "hidden" files?!
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 18 Dec 2001 14:33:54 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1008707293.19597.6.camel@xxxxxxxxxxxxxxxxxxxxxx>
References: <200112182107.fBIL7Ss07123@xxxxxxxxxxx> <1008707293.19597.6.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 2001-12-18 at 15:07, "Ralf G. R. Bergs" <rabe@xxxxxxxxxxxxxx>
wrote:

> Hi there,
> 
> I hope to get help from you folks ASAP since it's 2100 local time and we have 
> to otherwise can cel migration of our hardware RAID from ext2 to XFS... :-((
> 
> This is what I currently have: A Debian Linux stable system with the "Bunk" 
> packages making it 2.4-compatible, running today's CVS snapshot kernel 
> (2.4.16.)
> 
> Furthermore, two hardware RAIDs:
> 
>     /dev/sdc5             343G  111G  232G  32% /mnt/raid
>     /dev/sdb5             152G  143G  323M 100% /mnt/raid2
> 
>     /dev/sdc5 on /mnt/raid type xfs (rw,usrquota)
>     /dev/sdb5 on /mnt/raid2 type ext2 (rw)
> 
> I'm copying from sdb5 to sdc5 like this:
> 
>     /mnt/raid# cp -ax /mnt/raid2/*

Hm, for starters, shouldn't that be:
      /mnt/raid# cp -ax /mnt/raid2/ . (<== destination)

I'm not sure how cp will behave if you don't have a destination.

Anyway...

> (No, I'm not missing hidden files/directories in /mnt/raid since there
> aren't any.)
> 
> When I invoke "ls -lahR /mnt/raid" I get TONS of messages like the
> following:
> 
>     ls: /mnt/raid/daten/cd/Atlas/PROG.MOV/SHAHOT.CST: No such file or 
> directory
>     ls: /mnt/raid/daten/cd/Basf Beams Screws Snaps 
> No such file or directory
>     ls: /mnt/raid/daten/cd/Good Fellow/Deutsch/GY/INDEX/WORK: No such
> file or directory
>     ls: /mnt/raid/daten/cd/K2001/Install/K2001/Deutsch/Bilder: No such
> file or directory

So it looks like your stuff is only half way there... can you try the
released 2.4.14 patches, and see if that works any better for you?
 
> The strange this is that the files/directories ARE PRESENT on the
> source filesystem, but I can't see it on the destination filesystem
> using "ls."
> 
> Any ideas what's happening? I'd very much appreciate a prompt reply, 
> even it's only wild guesses... :-)
> 
> Thanks,
> 
> Ralf

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.



<Prev in Thread] Current Thread [Next in Thread>