Mirroring a hard drive?

  • Thread starter Thread starter Deleted member 2077
  • Start date Start date
D

Deleted member 2077

Guest
I would like to mirror a disk. Both are same type/size/model of disk. I would like to include all the boot information so it's also bootable. Any ideas?
 
Use GMirror:
Code:
# kldload geom_mirror
# gmirror label  rootfs ad0
# gmirror insert rootfs ad1

# gmirror status
         Name    Status  Components
mirror/rootfs  COMPLETE  ad0
                         ad1

then You may create bsdlabel ...
Code:
# bsdlabel -B -w /dev/mirror/rootfs
 
I need to come up with a better acronym than GCFIWWDB

respite said:
Why not just use dd?

dd(1)

I thought the point of RAID was fault-tolerance through redundancy, not guaranteed corruption and filesystem inconsistency while wasting device bandwidth. ;)
 
Back
Top