Vinum + new disk for mirror

Rob Ellis rob at web.ca
Mon Apr 5 09:42:13 PDT 2004


We have a machine with a vinum mirror, all the partitions except
the root partition mirrored between two disks. The second
disk has died and I want to replace it. I can't find a disk exactly
the same, so I have a disk that's bigger (80GB, old one was 60GB).

Can I...

   - shutdown, replace the bad disk with the bigger new disk
   - boot single user, mount /
   - copy the good disk to the new disk with:
      dd bs=128k if=/dev/ad0 of=/dev/ad2
   - vinum start
   - restart any stale subdisks (?)
   - ...

?

Thanks.

- Rob


More information about the freebsd-questions mailing list