i have sun ultra10 machine,OS is solaris 9 and i have single
harddisk, now i want same ,exact copy of data in anoher
harddisk so that i should be able boot from new harddisk,
how do yo do this? is it called as cloning?

Answer Posted / sukanta ghosh

The 1st answer is correct, however you need to user fmthard
command to cp disk partition info in order to have exact
disk size.

metainit d1 1 1 <existing root slice(c0t0d0s0>

prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2

metainit d2 1 1 <new harddisk slice (cot1dos0)

metainit d12 -m d1

metaroot d12

lockfs -af

init6

metattach d12 d2

metastat

installboot /usr/platform/'uname -
i'/lib/fs/ufs/booblk /dev/rdskcot1doso

init 0

ok>nvalias newdisk /phisicalpathname(/pci@1f........)

ok>setenv boot-device disk newdisk

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh

2835


what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?

2372


How do u know that,what patch can be applicable on the system?

1897


when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?

2116


What is cachefs?

2018






hi to all,, i need few real time issues please provide me,, if you have any,,,

1829


How to create a gateway?

6609


What is the zone in DNS?

1984


In a two node cluster i have typed #hastart command in one node.The cluster is starting in second node also,what is going in background?

1842


What is the use of Sam utility in solaris

2471


Local zone in shutting down state.how to bring state of zone to installed?

1736


how can u give space garentee for volume in netapp storage

2902