<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Birut Patel's Weblog</title>
	<atom:link href="http://birutpatel.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://birutpatel.wordpress.com</link>
	<description>Just another Weblog</description>
	<lastBuildDate>Sat, 12 Jul 2008 18:07:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='birutpatel.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/7baf5ec94332e4cab81da98cd3780537?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Birut Patel's Weblog</title>
		<link>http://birutpatel.wordpress.com</link>
	</image>
			<item>
		<title>Veritas VxVM &amp; VxFS Upgrade</title>
		<link>http://birutpatel.wordpress.com/2008/07/12/veritas-vxvm-vxfs-upgrade/</link>
		<comments>http://birutpatel.wordpress.com/2008/07/12/veritas-vxvm-vxfs-upgrade/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 17:33:02 +0000</pubDate>
		<dc:creator>birutpatel</dc:creator>
				<category><![CDATA[Veritas Volume Manager & File Systems]]></category>
		<category><![CDATA[Storage Foundation]]></category>
		<category><![CDATA[Veritas FileSystems]]></category>
		<category><![CDATA[Vertias Upgrade]]></category>
		<category><![CDATA[Volume Manager]]></category>

		<guid isPermaLink="false">http://birutpatel.wordpress.com/?p=15</guid>
		<description><![CDATA[Veritas VxVM &#38; VxFS 3.2 &#8211; 5.0 upgrade procedure
(this procedure should work for upgrading pre-4.0 versions to 4.1 and above)
**   prior to starting, create the file: /etc/vx/reconfig.d/state.d/install-db
SUMMARY:
o    if using EMC arrays/Powerpath for external storage, configure appropriately (see DETAILS below)
o    break root mirror &#38; unencapsulate
**  (if any [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birutpatel.wordpress.com&blog=3856480&post=15&subd=birutpatel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2><span style="color:#800000;"><strong>Veritas VxVM &amp; VxFS 3.2 &#8211; 5.0 upgrade procedure</strong></span></h2>
<p>(this procedure should work for upgrading pre-4.0 versions to 4.1 and above)</p>
<p>**   prior to starting, create the file: /etc/vx/reconfig.d/state.d/install-db</p>
<p><strong>SUMMARY:</strong></p>
<p>o    if using EMC arrays/Powerpath for external storage, configure appropriately (see DETAILS below)<br />
o    break root mirror &amp; unencapsulate<br />
**  (if any additional volumes have been created in the rootdg diskgroup, they should be backed up<br />
as they will go away when the root drive is unencapsulated; it is never a good idea to<br />
define data volumes on the boot drive in rootdg diskgroup)  **<br />
o    uninstall 3.2 (remove pkgs &amp; kill processes)<br />
o    install Storage Foundation 5.0 (and Maintenance Patch; MP1)<br />
o    if data disks are connected, verif the output of vxdisk list (the TYPE column)<br />
o    encapsulate &amp; mirror root drive<br />
o    upgrading data disks</p>
<p><strong>DETAILS:</strong></p>
<p>o   if using EMC arrays/Powerpath for external storage, configure appropriately<br />
- decide if PowerPath should be upgraded or leave uninstalled to use Volume Manager DMP<br />
(DMP will be automatically configured)<br />
o  if PowerPath will be upgraded, check with EMC for current compatible version of PowerPath<br />
- see installation guide page 71 (Unsuppressing DMP for EMC PowerPath disks).<br />
(http://support.veritas.com/docs/283887)</p>
<p>o   break root mirror &amp; unencapsulate</p>
<p>- &#8230; deport data disk groups &#8230;<br />
(command: vxdg deport datadg (diskgroup)<br />
(if the root drive is not mirrored, skip to &#8220;Unencapsulate boot drive&#8221; below)<br />
- vxplex -g rootdg -o rm dis &lt;plex name&gt;<br />
(do this for each of the mirror drive plexes)<br />
- vxdg -g rootdg rmdisk &lt;root mirror disk&gt;<br />
- /usr/lib/vxvm/bin/vxdiskunsetup &lt;c#t#d# or mirror drive&gt;<br />
- cd /etc<br />
- ls *.prevm<br />
(verify that vfstab &amp; system exist, if so)<br />
mv system system-<br />
mv vfstab vfstab-<br />
cp system.prevm system<br />
cp vfstab.prevm vfstab<br />
**  (the mounts in the vfstab.prevm should match the slices in the output of:<br />
prtvtoc /dev/rdsk/&lt;bot_device&gt;s2)  **<br />
o  unencapsulate boot drive<br />
- vxunroot (yes to reboot)<br />
(returns boot drive to booting from native slices)</p>
<p>o   uninstall 3.2 (remove pkgs &amp; kill processes)<br />
- &#8230; kill vx processes if they exist (ps -aef|grep vx) &#8230;<br />
- cp -r /etc/vx/licenses/elm /var/tmp<br />
- pkgrm &lt;all &#8220;VRTS&#8221; pkgs in /opt&gt; (ls /opt/VRTS*|grep -v VRTS)<br />
- rm -r /opt/VRTS*<br />
- rm -r /etc/vx /var/vx<br />
- reboot</p>
<p>o   install SF 5.0 (and MP2 or latest release)<br />
- &#8230; verify that no vx processes have started &#8230;<br />
- uncompress &amp; untar installation archive<br />
(5.0 base release; must be downloaded from Customer Care; serial # require via license upgrade)<br />
- run installsf<br />
(or install&lt;product_initials&gt; ; ie &#8230; installvm for Volume Manager)<br />
- uncompress &amp; untar MP1 archive<br />
(http://support.veritas.com/docs/288505)<br />
- run installmp<br />
(see included README and release notes)</p>
<p>o   if data disks are connected, verify the output of vxdisk list (the TYPE column)<br />
- auto:none (new uninitialized disks)<br />
- auto:sliced (encapsulated disks containg slices)</p>
<p>o   encapsulate &amp; mirror root drive<br />
- use vxdctl bootdg rootdg to create default rootdg disk group<br />
- use vxdiskadm to encapsulate and mirror boot drive<br />
(a spare drive must be initialized as sliced and belong to rootdg; vxdiskadm option 1)<br />
(options 2 &amp; 6)<br />
- reboot</p>
<p>o   upgrading data disks<br />
- &#8230; import data disk groups &#8230;<br />
- vxdg import datadg<br />
- use &#8220;vxdg upgrade&#8221; to upgrade diskgroup versions<br />
command: vxdg upgrade &lt;diskgroup name&gt;<br />
- mount all data volumes<br />
- use vxupgrade to upgrade vxfs filesystem versions one version at a time if appropriate<br />
o  use &#8216;fstyp &lt;device&gt; | grep version&#8217; to determine starting version<br />
- use fsck (-o full) then vxupgrade to next version<br />
(command: vxupgrade [-n new_version] mount_point )<br />
(repeat until version 7 is reached)<br />
(repititious fsck -o full can be timely but is best practice)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/birutpatel.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/birutpatel.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/birutpatel.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/birutpatel.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/birutpatel.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/birutpatel.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/birutpatel.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/birutpatel.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/birutpatel.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/birutpatel.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/birutpatel.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/birutpatel.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birutpatel.wordpress.com&blog=3856480&post=15&subd=birutpatel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://birutpatel.wordpress.com/2008/07/12/veritas-vxvm-vxfs-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d69c971798d94c018f5f5e29a95c73a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">birutpatel</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamic Relocation of HDD&#8217;s in Solaris Volume Manager</title>
		<link>http://birutpatel.wordpress.com/2008/05/30/dynamic-relocation-of-hdds-in-solaris-volume-manager/</link>
		<comments>http://birutpatel.wordpress.com/2008/05/30/dynamic-relocation-of-hdds-in-solaris-volume-manager/#comments</comments>
		<pubDate>Fri, 30 May 2008 18:53:54 +0000</pubDate>
		<dc:creator>birutpatel</dc:creator>
				<category><![CDATA[Solaris Volume Manager]]></category>
		<category><![CDATA[Sun Solaris OS]]></category>

		<guid isPermaLink="false">http://birutpatel.wordpress.com/?p=5</guid>
		<description><![CDATA[ Dynamic Relocation of HDD&#8217;s in Solaris Volume Manager
===========================================
 Let say you have a Solaris 10 box connected to StorEdge S1 Array&#8217;s
 having boot disks in it as below.
 Array 1:   Array 2: 
 c0t0d0 (rootdisk) c1t0d0  (mirrordisk)
 c0t1d0 (not in use) c1t1d0  (rootdg)  
 c0t2d0 (rootdg)  c1t2d0  (rootdg) 
 Now you are doing live-upgrade to Solaris 10 on disk c0t1d0, and
 mirroed the disk with c1t0d0 using Solaris Volume [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birutpatel.wordpress.com&blog=3856480&post=5&subd=birutpatel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> <strong>Dynamic Relocation of HDD&#8217;s in Solaris Volume Manager</strong><br />
===========================================</p>
<p> Let say you have a Solaris 10 box connected to StorEdge S1 Array&#8217;s<br />
 having boot disks in it as below.</p>
<p> Array 1:   Array 2: </p>
<p> c0t0d0 (rootdisk) c1t0d0  (mirrordisk)<br />
 c0t1d0 (not in use) c1t1d0  (rootdg)  <br />
 c0t2d0 (rootdg)  c1t2d0  (rootdg) </p>
<p> Now you are doing live-upgrade to Solaris 10 on disk c0t1d0, and<br />
 mirroed the disk with c1t0d0 using Solaris Volume Manager. Later<br />
 on decided to move that disk to location c0t0d0. Is it possible<br />
 without breaking the mirror?</p>
<p> YES, you can do it as Solaris 10 SVM allows HOT Relocation of disk<br />
 similar to Veritas Volume Manager.</p>
<p> Run metastat and look for field &#8220;Reloc&#8221;. If it say Yes, that means<br />
 you can relocate the disk.</p>
<p> d17: Submirror of d7<br />
    State: Okay<br />
    Size: 196437504 blocks (93 GB)<br />
    Stripe 0:<br />
        Device     Start Block  Dbase        State <strong>Reloc</strong> Hot Spare<br />
        c1t0d0s7          0     No            Okay  <strong>  Yes</strong></p>
<p> Device Relocation Information:<br />
 Device   Reloc  Device ID<br />
 c0t1d0   Yes    id1,sd@n5000c5000781e83f<br />
 c1t0d0   Yes    id1,sd@n5000c500078208c7</p>
<p> Follow the procedure:</p>
<p> - bring down the machine to ok prompt.<br />
 - swap the disk c0t1d0 with c0t0d0.<br />
 - boot the system up.<br />
 - SVM will update the database automatcally without affecting the<br />
   mirror.<br />
 - verify the state of mirror using metastat.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/birutpatel.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/birutpatel.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/birutpatel.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/birutpatel.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/birutpatel.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/birutpatel.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/birutpatel.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/birutpatel.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/birutpatel.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/birutpatel.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/birutpatel.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/birutpatel.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birutpatel.wordpress.com&blog=3856480&post=5&subd=birutpatel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://birutpatel.wordpress.com/2008/05/30/dynamic-relocation-of-hdds-in-solaris-volume-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d69c971798d94c018f5f5e29a95c73a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">birutpatel</media:title>
		</media:content>
	</item>
		<item>
		<title>Working with Solaris Volume Manager</title>
		<link>http://birutpatel.wordpress.com/2008/05/30/working-with-solaris-volume-manager/</link>
		<comments>http://birutpatel.wordpress.com/2008/05/30/working-with-solaris-volume-manager/#comments</comments>
		<pubDate>Fri, 30 May 2008 15:41:49 +0000</pubDate>
		<dc:creator>birutpatel</dc:creator>
				<category><![CDATA[Sun Solaris OS]]></category>

		<guid isPermaLink="false">http://birutpatel.wordpress.com/?p=4</guid>
		<description><![CDATA[How to boot from SDS mirror disk
=======================================
 - c0t0d0 &#8211; rootdisk
 - c0t1d0 &#8211; mirrordisk
 - Find out the alias if any in eeprom
 - Boot from CD or jumpstart or anyway and mount the S0 of mirror disk.
 
 e.g. # mount /dev/dsk/c0t1d0s0 /mnt
 # vi /mnt/etc/vfstab
 modify all /dev/md/dsk/d0 ,d1, d2, d3 entries back to cxtxdxsx format.
 # vi /etc/system
 comment out rootdev:/pseudo/md@0:0,10,blk [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birutpatel.wordpress.com&blog=3856480&post=4&subd=birutpatel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>How to boot from SDS mirror disk<br />
=======================================</p>
<p> - c0t0d0 &#8211; rootdisk<br />
 - c0t1d0 &#8211; mirrordisk</p>
<p> - Find out the alias if any in eeprom<br />
 - Boot from CD or jumpstart or anyway and mount the S0 of mirror disk.<br />
 <br />
 e.g. # mount /dev/dsk/c0t1d0s0 /mnt</p>
<p> # vi /mnt/etc/vfstab</p>
<p> modify all /dev/md/dsk/d0 ,d1, d2, d3 entries back to cxtxdxsx format.</p>
<p> # vi /etc/system</p>
<p> comment out rootdev:/pseudo/md@0:0,10,blk entry as below.</p>
<p> * rootdev:/pseudo/md@0:0,10,blk</p>
<p> # init 0 :go to ok prompt</p>
<p> {0} ok boot mirrordisk</p>
<p>System Should come up normally.<br />
Boot from main disk &#8211; root disk after mirror detach:<br />
==========================================================</p>
<p>No modification required, system should boot normally</p>
<p> </p>
<p>How to clear out all meta devices even from root disk:<br />
==========================================================</p>
<p> - detach mirror<br />
 - clear mirror metadevices (submirrors)<br />
 - modify /etc/vfstab and /etc/system in mirror disk, so incase you have to<br />
   boot from mirror, you can boot from it.<br />
 - modify /etc/vfstab and /etc/system same way as mirror disk, to completely<br />
   clear md devices and change back to ctd format.</p>
<p> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/birutpatel.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/birutpatel.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/birutpatel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/birutpatel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/birutpatel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/birutpatel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/birutpatel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/birutpatel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/birutpatel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/birutpatel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/birutpatel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/birutpatel.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birutpatel.wordpress.com&blog=3856480&post=4&subd=birutpatel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://birutpatel.wordpress.com/2008/05/30/working-with-solaris-volume-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d69c971798d94c018f5f5e29a95c73a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">birutpatel</media:title>
		</media:content>
	</item>
	</channel>
</rss>