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



i have sun ultra10 machine,OS is solaris 9 and i have single harddisk, now i want same ,exact copy ..

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

i have sun ultra10 machine,OS is solaris 9 and i have single harddisk, now i want same ,exact copy ..

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

i have sun ultra10 machine,OS is solaris 9 and i have single harddisk, now i want same ,exact copy ..

Answer / rohit

use dd command

Is This Answer Correct ?    3 Yes 2 No

i have sun ultra10 machine,OS is solaris 9 and i have single harddisk, now i want same ,exact copy ..

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

Post New Answer

More Solaris AllOther Interview Questions

If you can ping a server, but can't telnet or ssh to it, what could be the problem?

8 Answers  


Custom jumpstart works on which protocol? or What basis custom jumpstart works on?

4 Answers   IBM,


What is the difference between private and public regions in Veritas Volume manager?

4 Answers  


If you mistype a password, how do you clear it out to retype the password again?

11 Answers   Genpact, WNS,


in RAID 5 and RAID 0+1 which u will preffer (Veritas)

1 Answers   IBM,






what r d boot options?

2 Answers   TCS,


what is the difference b/w /etc/system profile and user profile...?

2 Answers  


Difference between secure copy and remote copy

1 Answers  


kernel patch installation in solaris?

1 Answers   HP, TCS,


If a users is logged in to your system, and now you want to restrict that user what will you do?

1 Answers  


How to findout particular file in the backup tape with the help of ufsdump

2 Answers   IBM,


what are the questions that will be asked for a 3yrs experienced candidate in solaris system admin. how to face first hr round if one puts fake experience of 2or 3 yrs in solaris system admin. please respond with an opt answer. thank you in advance...

2 Answers   HCL, Wipro,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)