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 |
What is the difference between NFS version 2 and NFS version 3?
in RAID 5 and RAID 0+1 which u will preffer (Veritas)
what is incident management and change management and prob management in ticketing tool ,can u explain briefly?
6 Answers BlueStacks, HCL, IBM, TCS,
what r the port numbers for HTTP and DNS
how will u create user with out asking a password?
how to share a directory with nfs server and how client mount the nfs share
For maintenance purpose the system will be down and up as per weekly or monthly in production mode ,what are the needed points to mind ,what are that?
What does init 5 do?
What is a Split brain scenario ?
How to use disk quotas in solaris (command mode) ? what is the procedure for checking disk space of the particular user in command mode?
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 kill the process