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 |
Jumpstart?
They have user like aa with home dir /export/home/aa. They want to change home dir to /export/home/bb & username remains same. User files in /export/home/aa moved to bb? What do u do?
How can a user increase the number of pseudo-ttys? what is their use?
Explain the more details of vmstat output?
How to make ip address persistent across reboots?
solaris booting process.
How can a user increase the number of pseudo-ttys?
Explain the vmstat output?
how to configure remote console login for a server sunfire v440 or v490?
How to use disk quotas in solaris (command mode) ? what is the procedure for how to allocate particular space to particular user
What is the cmd used to print default values get by user? Useradd –D
how to know which version of solaris is installed? uname –a /etc/release