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
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
what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?
How do u know that,what patch can be applicable on the system?
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?
What is cachefs?
hi to all,, i need few real time issues please provide me,, if you have any,,,
How to create a gateway?
What is the zone in DNS?
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?
What is the use of Sam utility in solaris
Local zone in shutting down state.how to bring state of zone to installed?
how can u give space garentee for volume in netapp storage