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?
Answers were Sorted based on User's Feedback
Answer / guest
u will use root mirroring process..
metainit d1 1 1 <existing root slice(c0t0d0s0>
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
ok>nvstore
ok>boot newdisk
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / 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 |
Answer / mohammed mukram
in the above answer type#/sbin/installgrub /boot/grub/stage1
/boot/grub/stage2 /dev/rdsk/cot1doso
instead of installboot ....
| Is This Answer Correct ? | 0 Yes | 0 No |
In TOP command, can you please explain what is the three numbers reported as part of the load average output "load average: 11.57, 9.84, 8.26"
what is the use of TCP wrappers
What is the difference between NFS version 2 and NFS version 3?
how many servers are maintaining and what is your 'user base' in the organization?------friends please tell me in what way the answer should be?
who to change the nis users passwd
How can you unencapsulate a boot disk in VxVM?
What is process id of init daemon?
how to take backup and restore with Ufsdump and Ufsrestore and full backup
what is port no for LDAP?
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?
How to detect a newly added device if you are not able to detect the device using devfsadm?
What are the two settings you can change to make a system boot faster?