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 |
If My Server is Suddenly Down what are the reasons? Tell me Exact time of Ping?
How to detect a newly added device if you are not able to detect the device using devfsadm?
what r the daily responsibilities of u as a system administrator
10 Answers ADP, IBM, Infosys, Wipro,
how to recover boot-block, if it it corrupted. and what happens to the os if it gets corruted.
what is sticky bit,setuid setgid and setfacl used for
How do you replace a failed boot disk under meta in solaris? Step by step explanation?
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?
u have 10 solaris boxes and u have given to add 200 users? At fast how can u add the 200 users?
in RAID 5 and RAID 0+1 which u will preffer (Veritas)
If a users is logged in to your system, and now you want to restrict that user what will you do?
how to kill the process
how to find the nic card name in x86, if it is not installed?