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