cp [was: Re: ** Emegancy Request **]

2000-08-22 Thread Marcin Owsiany
On Thu, Aug 17, 2000 at 10:19:52AM -0500, Keith G. Murphy wrote:
 
 There's always cp -a.

I've heard several times that cp is not very good at copying files when it
comes to copying something more than plain files. Some people suggest using
cpio. I used  cp -a  succesfully several times when copying whole partitions.
Does anyone know any problems when using cp in such situations?

regards

Marcin
-- 
++ The reason we come up with new versions
|Marcin Owsiany  | is not to fix bugs. It's the stupidest
|[EMAIL PROTECTED]| reason to buy a new version
++ I ever heard.- Bill Gates




** Emegancy Request **

2000-08-17 Thread Bill

Hi All,
Can someone please tell me the easiest and safest way to mirror
a Hard Drive,  keeping all permissions, owner, groups etc. intact

Thanks in Advance
Bill


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ** Emegancy Request **

2000-08-17 Thread Tamas TEVESZ

On Thu, 17 Aug 2000, Bill wrote:

  Can someone please tell me the easiest and safest way to mirror
  a Hard Drive,  keeping all permissions, owner, groups etc. intact

online or offline mirroring ?

(eg. do you want to make an emergency backup of a blown disk, ot do
you want raid mirroring ?)

-- 
[-]
``And there are plenty of other innovative pieces of software such as Napster
and ICQ.'' -- comment on ``Systems Software Research is Irrelevant'' at
http://freshmeat.net/news/2000/08/05/965534399.html


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ** Emegancy Request **

2000-08-17 Thread Keith G. Murphy

Bill wrote:
 
 Hi All,
 Can someone please tell me the easiest and safest way to mirror
 a Hard Drive,  keeping all permissions, owner, groups etc. intact
 
The absolute easiest and safest way that I know of would be to use
DriveImage, by PowerQuest.

Not ideologically correct, though.  ;-)

There's always cp -a.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ** Emegancy Request **

2000-08-17 Thread Youri Albinovanus


Bill wrote:
Hi All,

Can someone please tell me the easiest and safest way to mirror
a Hard Drive, keeping all permissions, owner, groups etc. intact
Thanks in Advance
Bill
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hello,
If you need to mirror a disk in the same machine, you can try dd comand,
this will really make an exact copy of your disk
the command should be something like :
dd if=/dev/hda of=/dev/hdb
--
Youri Albinovanus
System Administrator
Tiscali Belgium
29-31 Ch. d'Ixelles
1050 BRUXELLES
BELGIUM
Tel. : +32 2 4000888
Fax. : +32 2 4000899



Re: ** Emegancy Request **

2000-08-17 Thread B.C.J.O

On Thu, 17 Aug 2000, Youri Albinovanus wrote:

 Bill wrote:
 
  Hi All,
  Can someone please tell me the easiest and safest way to mirror
  a Hard Drive,  keeping all permissions, owner, groups etc. intact
 
  Thanks in Advance
  Bill
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 
 Hello,
 
 If you need to mirror a disk in the same machine, you can try dd comand, this
 will really make an exact copy of your disk
 the command should be something like :
 dd if=/dev/hda of=/dev/hdb

This is a good solution if the drive you're mirroring to is *exactly the
same* as the disk you're mirroring from. If the physical geometry of each
drive does not match identically (one is a 2g quantum and the other a 4g
IBM, for instance) and you mirror the smaller drive on the larger drive /w
dd, the larger drive will show as a 2g unit. If you don't have same size
disks, use tar, as root:

tar cvf - / | ssh -l root remote host tar xvf -

(assuming you're going from one machine to another)

If you're mirroring to a local disk, you can generate the appropriate
command line to untar the filestream on the other disk.

Brian
[EMAIL PROTECTED]

How often I found where I should be going only by setting out for
somewhere else..
   -- R. Buckminster Fuller



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ** Emegancy Request **

2000-08-17 Thread Áts Attila

Can someone please tell me the easiest and safest way to mirror
a Hard Drive,  keeping all permissions, owner, groups etc. intact

Symantec Norton Ghost
mekaes bit-by-bit copy and can even resize partition

Attila



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




** Emegancy Request **

2000-08-17 Thread Bill
Hi All,
Can someone please tell me the easiest and safest way to mirror
a Hard Drive,  keeping all permissions, owner, groups etc. intact

Thanks in Advance
Bill




Re: ** Emegancy Request **

2000-08-17 Thread Tamas TEVESZ
On Thu, 17 Aug 2000, Bill wrote:

  Can someone please tell me the easiest and safest way to mirror
  a Hard Drive,  keeping all permissions, owner, groups etc. intact

online or offline mirroring ?

(eg. do you want to make an emergency backup of a blown disk, ot do
you want raid mirroring ?)

-- 
[-]
``And there are plenty of other innovative pieces of software such as Napster
and ICQ.'' -- comment on ``Systems Software Research is Irrelevant'' at
http://freshmeat.net/news/2000/08/05/965534399.html




Re: ** Emegancy Request **

2000-08-17 Thread Keith G. Murphy
Bill wrote:
 
 Hi All,
 Can someone please tell me the easiest and safest way to mirror
 a Hard Drive,  keeping all permissions, owner, groups etc. intact
 
The absolute easiest and safest way that I know of would be to use
DriveImage, by PowerQuest.

Not ideologically correct, though.  ;-)

There's always cp -a.




Re: ** Emegancy Request **

2000-08-17 Thread Youri Albinovanus


Bill wrote:
Hi All,

Can someone please tell me the easiest and safest way to mirror
a Hard Drive, keeping all permissions, owner, groups etc. intact
Thanks in Advance
Bill
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hello,
If you need to mirror a disk in the same machine, you can try dd comand,
this will really make an exact copy of your disk
the command should be something like :
dd if=/dev/hda of=/dev/hdb
--
Youri Albinovanus
System Administrator
Tiscali Belgium
29-31 Ch. d'Ixelles
1050 BRUXELLES
BELGIUM
Tel. : +32 2 4000888
Fax. : +32 2 4000899



Re: ** Emegancy Request **

2000-08-17 Thread B.C.J.O
On Thu, 17 Aug 2000, Youri Albinovanus wrote:

 Bill wrote:
 
  Hi All,
  Can someone please tell me the easiest and safest way to mirror
  a Hard Drive,  keeping all permissions, owner, groups etc. intact
 
  Thanks in Advance
  Bill
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 Hello,
 
 If you need to mirror a disk in the same machine, you can try dd comand, this
 will really make an exact copy of your disk
 the command should be something like :
 dd if=/dev/hda of=/dev/hdb

This is a good solution if the drive you're mirroring to is *exactly the
same* as the disk you're mirroring from. If the physical geometry of each
drive does not match identically (one is a 2g quantum and the other a 4g
IBM, for instance) and you mirror the smaller drive on the larger drive /w
dd, the larger drive will show as a 2g unit. If you don't have same size
disks, use tar, as root:

tar cvf - / | ssh -l root remote host tar xvf -

(assuming you're going from one machine to another)

If you're mirroring to a local disk, you can generate the appropriate
command line to untar the filestream on the other disk.

Brian
[EMAIL PROTECTED]

How often I found where I should be going only by setting out for
somewhere else..
   -- R. Buckminster Fuller





Re: ** Emegancy Request **

2000-08-17 Thread Áts Attila
Can someone please tell me the easiest and safest way to mirror
a Hard Drive,  keeping all permissions, owner, groups etc. intact

Symantec Norton Ghost
mekaes bit-by-bit copy and can even resize partition

Attila