Breakout of mirror disk from Veritas for dual boot

Hello,

Our system was built using 2 system disks that were mirrored under Veritas 3.5. I want to remove one disk and make a complete copy of the first disk on it. Boot it and remove old compiliers and old versions of Java and applications, then install new compiliers, Java and applications for testing. If all goes well with Oracle 10.2, I'll make it the primary boot disk and use the old one to mirror it. If not I can boot the old and allow users the use of the Oracle instances while I solve the outstanding issues with the new disk and Oracle version.

I broke one out with mirror->remove. I wanted to make a copy of the first disk on to the second dynamic disk using snap-creat, snap->start, snap-end.

It didn't work, read the notes and discovered that it doesn't work with anything other than VXFS, we are using UFS. I noticed afterward the newly removed disk made with snap volume didn't contain a file system. So I tried making a UFS filesystem in Veritas Enterprise Administrator on one of the partitions and mounting it. It made a filesystem and It mounts, but I'm unable to create any files on it. DD copies of one disk partition to another fail as well. I haven't bothered with tar since I changed directory and tested it with Vi which can't write any files either. After unmounting it and looking underdisks-volume view it shows no filesystem.

Also the root partition shows a layout type of root ,But I can't find a way to specify that with create layout. It appears I need to delete it entirely out of Veritas and operate on it with standard system tools.

Any help you can provide for this process would be appreciated, I haven't found much in the docs dealing with this type situation.

Thanks,

Greg.

Message was edited by:

Greg_Devereaux

[1829 byte] By [Greg_Devereaux] at [2007-11-26 9:10:50]
# 1

the easiest way to do this may not necessarily be snap - but rather to do the standard root disk mirroring, mirror all volumes from one rootdisk to another, (all the "NOTE" filesystems mentioned in /etc/vfstab) - once mirrored, fix the vtoc if not done automatically and then break the mirror via plex disassociation, fsck the sliced disk, vi the sliced disk's /etc/vfstab and /etc/system to make it so you can boot from slices (remove the two rootdev entries in /etc/system and fix the vfstab to boot from c#t#d#s# instead of /dev/vx/dsk/rootvol, etc)

once you do that, you're good to go

I have a script I can send to you that helps accomplish this, or for just the high level overview, look at the Gene Trantham Veritas Best Practices blueprint in the sun.com/blueprints area

I've run our script several hundred times now and never since running it have had an issue with doing a rootmirror split/veritas bootup/etc

if you need more info, please don't hesitate to respond

jeffreys at 2007-7-6 23:30:13 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Hi Jeffery,Thanks for your reply... I'll get started with it. I'll update this thread if I have any other issues or questions.I would like to get the script you mentioned. If possible please mail it to:devereaux@hartford.eduThanks Jeffery,Greg.
Greg_Devereaux at 2007-7-6 23:30:13 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
Hi Jeffrey,I too would be interested in your script. Could you send me a copy?Thanks, _Gary
casterln at 2007-7-6 23:30:13 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

I'm interested in that script. Could yo send it me (jalonsom@capgemini.es)? Please

I've tried differents ways of doing it, all of then quite hard:

- After un-encapsulate the rootdisk and start from partitions, make new volumes witch the plexes of the mirror disk

- Try to make alternative root volumes in rootdg, like rootvol2, swapvol2, etc.... this doesn磘 work

Thanks,

JMAlonso

Message was edited by:

jmalonso

jmalonso at 2007-7-6 23:30:13 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5
Hi Jeffrey - I too am interested in seeing that script. Would you mind sending me a copy (mike dot farnam at gmail dot com) ? ThanksMike
mfarnam at 2007-7-6 23:30:13 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...