Re: Cold copy of /dev - how can this be done?

1999-03-23 Thread A James Lewis
I copy entire filesystems regularly... the best method to copy sda1 to sdb1 I have found is (assuming it's /).. mount /dev/sdb1 /mnt cd / for i in `ls | grep -v mnt | grep -v proc` cp -dpR $i /mnt done mkdir /mnt/proc mkdir /mnt/mnt This filesystem will then be fine You can even tinker wit

Re: Cold copy of /dev - how can this be done?

1999-03-23 Thread Louis Mandelstam
On 19 Mar 1999, anoah wrote: > are you familiar with the program \'dd\'? > > i use dd to copy the raw partitions ie /dev/sda1 to /dev/sdb1 on a couple older > boxes. I do this on our most important servers also, but you want to keep in mind that you're (a) copying open filesystems and (b) copy

Re: Cold copy of /dev - how can this be done?

1999-03-19 Thread Stephen Denny
This is the command that works for me to copy an entire disk. tar cflps - / | (cd /mnt/tmp; tar xfps -) mount dir of your new raid disk It squawks about a leading /, but it works. I haven't even looked it up to see what the man page says ab

Re: Cold copy of /dev - how can this be done?

1999-03-19 Thread anoah
you are wrong about not being able to mirror / you need the latest alpha raid patches for this. as well as the latest raid tools from your local ftp.XX.kernel.org mirror. see the archives of this list, and esp the documentation that comes in the latest raid 19990309 patches. are you familiar wi

Cold copy of /dev - how can this be done?

1999-03-19 Thread ClassiFIND - John Sinnott
Hi everyone, let me introduce myself. My name is John Sinnott and I am a system/network/database administrator. The boxes at the company where I work have been primarily NT, but we are starting to phase in some Linux boxes. My experience with Linux is somewhat limited. I have just finished set