This is a discussion on How to clone a disk within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hello, I am planning to dump my disk to newer disk with different partition. Which method I have to ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Hi, If you are dumping to a disk with different partitions, not sure that dd is the best method - I'd use ufsdump or flarcreate (uses cpio). anyway here are some examples that may help you dd (when target disk on same bus and is at least big as source disk): Bring system into single user mode (its better): Check the controller and target numbers (in this example I'm copying c1t0d0 to c1t1d0) # dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c1t1d0s2 bs=64k Flarcreate: # flarcreate -n "image name" -c -S -R / -x /var/tmp /var/tmp/flash_image.flar -c = compression -S = don't calculate the size which makes it faster! (only recommended if you are sure you have enough space in available in /var/tmp) -x = directory to exclude from the image (can temporarily move other files in here that you don't really need to copy such as database dumps etc.) Once you have the flash image, ftp it to the network you want and make it available on an NFS shared directory. Then install solaris on the new CTP using "boot cdrom - w" to access the installer program, choose all the normal solaris build options and when asked; choose "Flash install" and input the location of the NFS directory containing the image. The advantage of this method allows you to make multiple clones, and you don't need to edit host names and IP addresses etc. Rgds, Trev gvelmurugan@gmail.com wrote: > Hello, > > I am planning to dump my disk to newer disk with different partition. > Which method I have to handle for best result, Whether tar, dd, cpio, > ufsdump..... and how to do it. > > Thanks, > Velmurugan G |
| |||
| Hello Trev, We are have 2 nodes and some shared disk. We have to install according to the projects specification. As the projects will change with in few months we have to go for the fresh installation for the second project. If the first project comes back for some maintance or testing we have to go from the scratch for installation. Is there is any tools for Fast System Recovery? . Please let me know about this. Thanks, Velmurugan G |
| ||||
| gvelmurugan@gmail.com <gvelmurugan@gmail.com> wrote: > Hello, > > I am planning to dump my disk to newer disk with different partition. > Which method I have to handle for best result, Whether tar, dd, cpio, > ufsdump..... and how to do it. Either flarcreate, or live upgrade (lu). Check the man pages. Colin |
| Thread Tools | |
| Display Modes | |
|
|