how to copy vtoc to a new disk?

Asif Iqbal vadud3 at gmail.com
Wed Feb 2 02:54:22 UTC 2011


How to apply the vtoc of /dev/sda to /dev/sdb ?

On solaris I do it like this
   prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2

I am looking at the man page of sfdisk and but not quite sure the
exact one liner


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?




More information about the ubuntu-server mailing list