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 solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?
how to check network card speed ? set it mode(half/full duplex)? ndd -get /dev/hme0 link-speed ndd -get /dev/hme0 link-mode
How to make ip address persistent across reboots?
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.
What are the last 2 columns listed with Vmstat? What is their significance?
Explain custom jumpstart procedure?
How to reset root password if root password is gone?
How can a user increase the number of pseudo-ttys?
What do you understand by irq assignments?
How to check version of NFS?
How can a user access a dos-format disk in solaris?
Explain the difference between sc> and lom>?