Root mirroring in SVM, in Veritas ?
Answers were Sorted based on User's Feedback
Answer / pawan
its for SVM only what about veritas...
for Veritas choose first run vxdiskadm command then choose
option 6 for mirroring.
| Is This Answer Correct ? | 1 Yes | 0 No |
SVM
first we take backup /etc/system and /etc/vfstab file
copy some size of two hard disk using prtvtoc cmd with
fmthard -s -
then create 3 replica using metadb -a -f -c c#t0d#s#
C#t1d#s# c#t2d#s#
create primary submirror metainit d21 1 1 c#t#d3s#
create 2nd submir metainit d22 1 1 c#t#d#s#
mappingg primry mir metainit d20 -m d21
metaroot d20 ( update /eyc/system to /etc/vfstab)
metaattach d20 d22
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sreenath
SVM
first we take backup /etc/system and /etc/vfstab file
copy some size of two hard disk using prtvtoc cmd with
fmthard -s -
then create 3 replica using metadb -a -f -c c#t0d#s#
C#t1d#s# c#t2d#s#
create primary submirror metainit d21 1 1 c#t#d3s#
create 2nd submir metainit d22 1 1 c#t#d#s#
mappingg primry mir metainit d20 -m d21
metaroot d20 ( update /eyc/system to /etc/vfstab)
metaattach d20 d22
Vxvm
vxassist -g dg1 make mirvol 100m layout=mirror
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / deepak kumar
In SVM, get new disk and partion the new disk same as boot
disk
# prtvtoc /dev/rdsk/<> |fmthard -s - <new_disk>
# create meta with metainit command and do metattach with
all volumes
# On root partion, run metaroot command to convert it under
meta. Also need to edit /etc/system with set
md:mirrored_root_flag=1
with veritas root mirroring.
1. Iniitalize the both disk under veritas and add into root
disk group
2. once initialize, encapsulate the disk so that no data to
be lost.
3. use vxrootmir command or vxdiskadm and option 6.
| Is This Answer Correct ? | 0 Yes | 3 No |
how to recover the boot block in soalris 9,i am able to get CDE desktop login.
how to add your own run control script in server?
how to set default runlevel in solaris.How to set the default Runlevel as INIT-2.
I have 20 GB free space in my file system but my inode size full. how will i increase or how will i fix this issue.
If system got crashed. How do u troubleshoot? What are starting steps?
How can a user login to solaris? What is the login shell?
How do you copy files from remote system using ftp?
How can searches be refined?
Explain how to view shared memory statistics?
User is not able to perform cron jobs. How do u troubleshoot?
What do you understand by irq assignments?
How do you connect to remote machines? I said using secure crt using ssh.