Veritas root disk mirroring


 
Thread Tools Search this Thread
Operating Systems Solaris Veritas root disk mirroring
# 1  
Old 12-07-2006
Veritas root disk mirroring

Hi there,

My task is to replace the two 73 G disks with two 143 G disks , which has vxvm 4.1 running on it. I would like to know whether the steps iam following are correct.
1. Break the sub-disks, plexes of the root mirror.
2. Remove the sub-disks,plexes of the root mirror.
3. Remove one of the hard disk(eg. c0t1d0) and replace new.
4. Initialize the new disk and create subdisks and plexes
5. Attach the subdisks and plexes to the existing volumes
6. once there's no task in vxtask, do the same for the primary root disk(c0t0d0) also.

i would like to know whether i need to de-encapsulate the root disk before i do this.and also do i need to perform these in single-user mode? and also do i need to export the disk-group before i do these?

Please correct me if iam wrong.

Any help would be greatly appreciated.
# 2  
Old 12-07-2006
The answer depends somewhat on the reason for replacing the disks, are you going to change the sizes of encapsulated filesystems or do you want to add new partitions or something else, you may or may not need to de-encasulate depending on your reply.
# 3  
Old 12-07-2006
also as this is a rootdisk, when mirroring you MUST use vxrootmir to mirror the root filesystem or the second mirror will not boot.
# 4  
Old 12-07-2006
Hi,

Thanks for your quick reply, actually due to size constraints i decided to replace 73G with 143G drive but i need the same data to be there in new disk and i dont need to increase the root file system, i want to create some new volumes in those new disks.

I was thinking about vxdiskadm, option to remove failed disk and replace.

Once i replace one disk at a time,it'll initialise it and can i mirror it using vxdiskadm itself?

Thanks
# 5  
Old 12-07-2006
Ok, you have something of a messy situation to deal with here.

And just a couple of comments:
1. If you have any other diskgroups, condier using them instead.
2. If you only have 2 disk why use veritas? Encapsulated roots are a pain SVM is a whole lot simpler for boot disks.

I generally don't like to use vxdiskadm, so I'm not
sure what options you've got there.

The basics:

for each plex on the mirror:
Code:
vxplex -g bootdg -o rm dis <plex>

then
Code:
vxdg -g bootdg rmdisk <mirror_disk_name>
/etc/vx/bin/vxdiskunsetup <mirror_disk_media_name>

remove mirror disk, and replace.
Code:
devfsadm -Cv
vxdctl int
vxdctl enable

layout the new partitions on disk
Code:
/etc/vx/bin/vxdisksetup -i c0t1d0 format=sliced
vxdg -g bootdg adddisk rootmirror=c0t1d0 
/etc/vx/bin/vxrootmir rootmirror

for each other volume
Code:
vxassist -g bootdg mirror <volname>

repeat the procedure for rootdisk, no need to unencapsulate.
# 6  
Old 12-08-2006
Hi,

Iam sorry for not quoting the details properly.

Actually I have 4 disks of which the other 2 disks belong to other diskgroup. I understand that SVM is more simpler and effecive for mirroring root disks but the company std. is like that.I cant do anything abt that.

Thanks for your step by step procedure. I'll try these steps.

Thanks.
# 7  
Old 12-08-2006
Quote:
Originally Posted by Jartan
Actually I have 4 disks of which the other 2 disks belong to other diskgroup.
It makes sense now, still that is a legacy thing, we have it here too. In the old days you had to have encapsuled disks if using veritas, now it's not required, but most companies continue to do so anyway, besides netbackup disn't play nice with SVM and a lot of folks have netbackup for backups.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How to increase the /var (UFS) filesystem and root disk under veritas control?

I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated # df -k /var Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/var 13241195 12475897 674524 96% /var # fstyp /dev/vx/dsk/var ufs # pkginfo... (1 Reply)
Discussion started by: amity
1 Replies

2. UNIX for Beginners Questions & Answers

How to extend a disk in veritas volume manager in veritas cluster?

Hi Experts, I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system. #hastatus -sum -- System State Frozen A node1 running 0 A node2 running 0 -- Group State -- Group System Probed ... (1 Reply)
Discussion started by: Skmanojkum
1 Replies

3. Solaris

Root disk mirroring in Solaris 10

I would like to perform root disk mirroring task. Can someone please help me out on this. Thanks !! Regards, Rama (2 Replies)
Discussion started by: ramagore85
2 Replies

4. Solaris

Root disk mirroring in SVM

I tried doing rootdisk mirroring in my local host , i added a new Ide disk in my system and copied the prtvtoc from root disk to the newly added disk, and then when i tried to add database replicas on both the disks, it was added for boot disk but for the newly added disk i gave the error, which... (6 Replies)
Discussion started by: Laxxi
6 Replies

5. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

6. Solaris

Disk mismatch while trying to zfs mirroring non-root disks

Hello All, I am trying to mirror two non-root hard drives using zfs. But "fmthard" fails when I try to copy the vtoc due to disk mismatch. Please help me. --- iostat command shows the disk to be similiar --- format command shows disk to be different :confused: --- c1t2d0 is the active... (8 Replies)
Discussion started by: pingmeback
8 Replies

7. Solaris

Root Disk mirroring in SVM

Dear All, Please help me to configure root mirroring using SVM in Solaris 9. Thanks and Regards, Lakkireddy BR (3 Replies)
Discussion started by: lbreddy
3 Replies

8. Solaris

mirroring root disk using svm - but no free slices for metadb's

Hi all, we have an existing system that was configured using just one of the (two) internal disks. I want to mirror the disk using SVM, but have realised there is no free slice for creating the metadb's. Is there a workaround I can use for this? In the past we have always kept slice 7 free -... (8 Replies)
Discussion started by: badoshi
8 Replies

9. Solaris

Solaris mirroring / non-root disk

Hi Guys, Need to add 2 disks into a JBOD array (3310). Does anyone see anything wrong with my Procedure / Doco below? 1> Logon to system, check system logs for abnormal entries. 2> Make backups of related system files: A>cp -p /etc/system /etc/system.backup.081505 B>cp -p /etc/vfstab... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
Login or Register to Ask a Question