The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 02-26-2002
AtleRamsli AtleRamsli is offline
Registered User
 

Join Date: Feb 2002
Location: Brabant, Belgium
Posts: 65
One guy reportedly did this with cat:

# cat /dev/hda >/dev/hdb

The disks were 100% identical, important for such things as sector sizes, etc.

The paranoid way would be to make filesystem, mount the second disk, and use cp -r.

This is what I do when I add one disk and, fx. move the /usr or /home tree to the new disk

Atle
__________________
PS
All of the above is to be read as '... unless I am wrong'
ENDPS
Reply With Quote