<?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/"
	>

<channel>
	<title>Unix SysAd&#039;s Technology Blog</title>
	<atom:link href="http://www.sysadmindayph.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sysadmindayph.com/blog</link>
	<description>SysAdmin Blog, TechTips and Reviews</description>
	<lastBuildDate>Sat, 20 Mar 2010 05:08:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPad Spoof</title>
		<link>http://www.sysadmindayph.com/blog/ipad-spoof/</link>
		<comments>http://www.sysadmindayph.com/blog/ipad-spoof/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 05:08:25 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Gadget]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ipad]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=196</guid>
		<description><![CDATA[Apple had open their system for pre-order of their much awaited iPad. April 3 is the start of shipping of the iPad.
It feels like everyone is very much looking forward for this neat device. Although the device is getting tons of positive buzz, there will always be some flaws on that &#8216;perfect product&#8217;. 
Check out [...]]]></description>
			<content:encoded><![CDATA[<p>Apple had open their system for pre-order of their much awaited iPad. April 3 is the start of shipping of the iPad.</p>
<p>It feels like everyone is very much looking forward for this neat device. Although the device is getting tons of positive buzz, there will always be some flaws on that &#8216;perfect product&#8217;. </p>
<p>Check out this spoof video, an ipad parody of the missing features of the IpAd such as a built-in camera, printing support, voice and others.</p>
<p>Funny.</p>
<p><span id="more-196"></span></p>
<p><center><br />
<object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/vZHQ7hcdh9U&#038;hl=en_US&#038;fs=1&#038;color1=0x3a3a3a&#038;color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/vZHQ7hcdh9U&#038;hl=en_US&#038;fs=1&#038;color1=0x3a3a3a&#038;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/ipad-spoof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>getfacl and setfacl &#8211; Unix Access Control (acl) Tool</title>
		<link>http://www.sysadmindayph.com/blog/getfacl-and-setfacl-unix-access-control-acl-tool/</link>
		<comments>http://www.sysadmindayph.com/blog/getfacl-and-setfacl-unix-access-control-acl-tool/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 14:12:06 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[access list]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[getfacl]]></category>
		<category><![CDATA[setfacl]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=194</guid>
		<description><![CDATA[Today&#8217;s topic is all about Access List&#8230; For Unix and Unix-like system, the usual command to set the file permission is the &#8216;chmod&#8217; command. However there are instances that we need more flexibility in giving access and control for files and folders. Get it? Access and Control? In this situation, there is a file utility [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s topic is all about <strong>Access List</strong>&#8230; For Unix and Unix-like system, the usual command to set the file permission is the &#8216;chmod&#8217; command. However there are instances that we need more flexibility in giving access and control for files and folders. Get it? Access and Control? In this situation, there is a file utility built in Unix called &#8216;<strong>getfacl</strong>&#8216; and &#8216;<strong>setfacl</strong>&#8216;.</p>
<p><strong><br />
getfacl</strong> is a file utility for viewing the access control list information associated with a file or directory.</p>
<p>For a memory aid, you can think of &#8216;getfacl&#8217; as &#8220;<strong>G</strong>et <strong>F</strong>ile <strong>ACL</strong>&#8220;.. ACL being Access Control List.</p>
<p>Access control lists are extended attributes added to most major file systems in the 2.6 kernel to improve ability to control the access of files. They allow permissions to be set for individual groups and users and not just the owning user, owning group, and all other users.</p>
<p><strong>setfacl</strong> is a command that allows you to set the Access Control List information for a file or directory.</p>
<p>Access control lists are extended attributes added to most major file systems in the 2.6 kernel to improve ability to control the access of files. They allow permissions to be set for individual groups and users and not just the owning user, owning group, and all other users.</p>
<p>You can read man pages for both <a href="http://www.unix.com/man-page/All/1/getfacl/">getfacl</a> and <a href="http://www.unix.com/man-page/All/1/setfacl/">setfacl</a> for more information.</p>
<p>getfacl and setfacl example&#8230;.</p>
<p>Here&#8217;s an example of using the basic funtion of getfacl and setfacl</p>
<p># getfacl</p>
<p>#setfacl</p>
<p>setfacl -m default:user::rwx,default:group::r-x,default:other:r-x,default:mask:rwx /u06/OneSource/datapump_dbdump</p>
<p>setfacl -m default:user:rcodapp1:r-x,default:group:r-x,default:other:&#8212;,default:mas:rwx /u06/OneSouce/datapump_dbdump</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/getfacl-and-setfacl-unix-access-control-acl-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZFS Cheat Sheet Including Zpool, Quotas and Reservations</title>
		<link>http://www.sysadmindayph.com/blog/zfs-cheat-sheet-including-zpool-quotas-and-reservations/</link>
		<comments>http://www.sysadmindayph.com/blog/zfs-cheat-sheet-including-zpool-quotas-and-reservations/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 14:01:27 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[ZFS]]></category>
		<category><![CDATA[zfs filesystem]]></category>
		<category><![CDATA[zpool]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=192</guid>
		<description><![CDATA[Sorry for the long title post. I just want to easily distinguish this post from my other ZFS post. The reason? For this week, I&#8217;ll be working on a server with ZFS filesystem and looks like the SAs for the servers is not yet familiar with the filesystem. I am the newest member of the [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for the long title post. I just want to easily distinguish this post from my other ZFS post. The reason? For this week, I&#8217;ll be working on a server with ZFS filesystem and looks like the SAs for the servers is not yet familiar with the filesystem. I am the newest member of the UNIX team and there&#8217;s this request to grow a filesystem that is directly mounted from a disk slice.. Told the guy that we may need to modify the disk geometry and we may have to repartition the disk.. Then I noticed that there is a 140G disk under ZFS partition. I will convince the user to use that spare disk for his project.</p>
<p>And here are the cheat sheet for ZFS/zpool that is related to this week&#8217;s project.</p>
<p><span id="more-192"></span></p>
<p>The whole exaple uses virtual devices.. that is chucks of files that represents disk.. of course if you have physical disk available, you may use those.</p>
<p>Here&#8217;s how to create &#8220;virtual devices” or vdevs as described in the zpool documentation. These can also be real disk slices if you have them available.</p>
<p><code>$ su<br />
Password:<br />
# cd /<br />
# mkfile 100m disk1 disk2 disk3 disk5<br />
# mkfile 50m disk4<br />
# ls -l disk*<br />
-rw------T 1 root root 104857600 Sep 11 12:15 disk1<br />
-rw------T 1 root root 104857600 Sep 11 12:15 disk2<br />
-rw------T 1 root root 104857600 Sep 11 12:15 disk3<br />
-rw------T 1 root root 52428800 Sep 11 12:15 disk4<br />
-rw------T 1 root root 104857600 Sep 11 12:15 disk5<br />
</code></p>
<p>Here&#8217;s how to create a storage pool and check the size and usage.</p>
<p><code># zpool create myzfs /disk1 /disk2<br />
# zpool list<br />
NAME SIZE USED AVAIL CAP HEALTH ALTROOT<br />
myzfs 191M 94K 191M 0% ONLINE -</code></p>
<p>When you created a disk pool, you can create a ZFS Filesystem which also in turn,</p>
<p>Create a second file system. Note that both file system show 159M available because no quotas are set. Each “could” grow to fill the pool.</p>
<p># zfs create myzfs/colin2<br />
# zfs list<br />
NAME           USED  AVAIL  REFER  MOUNTPOINT<br />
myzfs          172K   159M    21K  /myzfs<br />
myzfs/colin     18K   159M    18K  /myzfs/colin<br />
myzfs/colin2    18K   159M    18K  /myzfs/colin2</p>
<p>Reserve a specified amount of space for a file system ensuring that other users don’t take up all the space. </p>
<p># zfs set reservation=20m myzfs/colin<br />
# zfs list -o reservation<br />
RESERV<br />
  none<br />
   20M<br />
  none</p>
<p>Set and view quotas </p>
<p># zfs set quota=20m myzfs/colin2<br />
# zfs list -o quota myzfs/colin myzfs/colin2<br />
QUOTA<br />
 none<br />
  20M</p>
<p>Destroy a filesystem</p>
<p># zfs destroy myzfs/colin2<br />
# zfs list<br />
NAME               USED  AVAIL  REFER  MOUNTPOINT<br />
myzfs             20.1M   139M    22K  /myzfs<br />
myzfs/colin         18K   159M    18K  /myzfs/colin<br />
myzfs/colin@test      0      &#8211;    18K  -<br />
myzfs/colin3          0   139M    18K  /myzfs/colin3</p>
<p>That&#8217;s what I need for now.. will continue addiction ZFS cheat sheet if needed.. Pardon me, but my primary use of this blog site is for my use <img src='http://www.sysadmindayph.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/zfs-cheat-sheet-including-zpool-quotas-and-reservations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limesurvey PHPSurveyor</title>
		<link>http://www.sysadmindayph.com/blog/limesurvey-phpsurveyor/</link>
		<comments>http://www.sysadmindayph.com/blog/limesurvey-phpsurveyor/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 00:59:25 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Limesurvey]]></category>
		<category><![CDATA[phpsurveyor]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=190</guid>
		<description><![CDATA[LimeSurvey (formerly PHPSurveyor) is a Webapplication that interacts with MySQL, MSSQL, orPostgres to develop surveys, publish surveys, andcollect responses to surveys. 
Once a survey has been created, data can be inserted into the survey either by a &#8220;pretty&#8221; public screen which presents each question one at a time, or by a quick and nasty data [...]]]></description>
			<content:encoded><![CDATA[<p>LimeSurvey (formerly PHPSurveyor) is a Webapplication that interacts with MySQL, MSSQL, orPostgres to develop surveys, publish surveys, andcollect responses to surveys. </p>
<p>Once a survey has been created, data can be inserted into the survey either by a &#8220;pretty&#8221; public screen which presents each question one at a time, or by a quick and nasty data entry screen. It includes the capacity to generate individualized &#8220;tokens&#8221;, so that invitation can be issued to participants. It also has the capacity to set conditions on whether questions will display (branching), numerous question types, and a basic statistics function. Changes: A Malay translation was added, several minor bugs were fixed, and translations were updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/limesurvey-phpsurveyor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2 Newest Wordpress Plugin in Sysadmindayph</title>
		<link>http://www.sysadmindayph.com/blog/2-newest-wordpress-plugin-in-sysadmindayph/</link>
		<comments>http://www.sysadmindayph.com/blog/2-newest-wordpress-plugin-in-sysadmindayph/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 01:13:29 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[backlink]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=186</guid>
		<description><![CDATA[
There&#8217;s this 2 new Wordpress plugin here in Sysadmindayph dot com (the newest that I installed at least). I just want to share this one for the readers of this blog who is also Wordpress user.
The two new plugins here are:

SEO Smart Link
Broken Link Checker

SEO Smart Link &#8211; SEO Smart Links can automatically link keywords [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sysadmindayph.com/blog/wp-content/plugins/wordpress-plugin.jpg"><img class="alignright size-full wp-image-187" style="margin-left: 10px; margin-right: 10px;" title="wordpress-plugin" src="http://www.sysadmindayph.com/blog/wp-content/plugins/wordpress-plugin.jpg" alt="" width="234" height="220" /></a></p>
<p>There&#8217;s this 2 new <strong>Wordpress plugin</strong> here in <strong>Sysadmindayph dot com</strong> (the newest that I installed at least). I just want to share this one for the readers of this blog who is also Wordpress user.</p>
<p>The two new plugins here are:</p>
<ul>
<li><a href="http://i-am-root.com/wordpress/wordpress-backlink-plugin-seo-smart-links/">SEO Smart Link</a></li>
<li><a href="http://i-am-root.com/wordpress/broken-link-checker-fix-broken-link-in-blogs/">Broken Link Checker</a></li>
</ul>
<p><strong>SEO Smart Link</strong> &#8211; SEO Smart Links can automatically link keywords and phrases in your posts and comments with corresponding posts, pages, categories and tags on your blog.</p>
<p><strong>Broken Link Checker</strong> &#8211; This plugin will monitor your blog looking for broken links and let you know if any are found.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/2-newest-wordpress-plugin-in-sysadmindayph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Veritas Volume Manager VxVM Basics Commands Cheats</title>
		<link>http://www.sysadmindayph.com/blog/veritas-volume-manager-vxvm-basics-commands-cheats/</link>
		<comments>http://www.sysadmindayph.com/blog/veritas-volume-manager-vxvm-basics-commands-cheats/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 09:11:05 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Veritas Volume Manager]]></category>
		<category><![CDATA[diskgroups]]></category>
		<category><![CDATA[veritas]]></category>
		<category><![CDATA[vxfs]]></category>
		<category><![CDATA[vxvm]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=181</guid>
		<description><![CDATA[Veritas Volume Manager VxVM Basics Commands Cheats.. The authority site for this topic, the VXVM on VXFS, if you do a Google search for any tutorial or command cheat sheet is Cuddletech.
I want to post&#8230; say, borrowing, the content of that page to this post for my own personal reference&#8230; Love your own page right? [...]]]></description>
			<content:encoded><![CDATA[<p>Veritas Volume Manager <a href="http://www.sysadmindayph.com/blog/veritas-volume-manager-vxvm-basics-commands-cheats/">VxVM Basics Commands Cheats</a>.. The authority site for this topic, the VXVM on VXFS, if you do a Google search for any tutorial or command cheat sheet is Cuddletech.</p>
<p>I want to post&#8230; say, borrowing, the content of that page to this post for my own personal reference&#8230; Love your own page right? And since I am more likely to open SysadminPH that cuddletech, I thought we not copy the Veritas tutorial page here for my ease of access?</p>
<p><span id="more-181"></span></p>
<p>  The Cuddletech Veritas Cheat Sheet</p>
<p>		by: B. Rockwood<br />
	      benr@cuddletech.com</p>
<p>Overview:<br />
&#8212;&#8212;&#8211;</p>
<p>        The purpose of this paper is to<br />
quickly get you up to speed in Veritas,<br />
and to act as a quick referance.  All new<br />
users to Veritas are HIGHLY encouraged to<br />
first read the Veritas users guides enlucded<br />
with Veritas, and found on docs.sun.com</p>
<p>Remember!: Almost all commands can use several<br />
        diffrent options that are similar<br />
        across all commands.  The most used<br />
        of these is &#8220;-g <diskgroup>&#8221; which<br />
        specifies which Disk Group the command<br />
        will be executed on.  For instance,<br />
        vxinfo will only display volume information<br />
        for volumes in the rootdg, to see<br />
        volumes in the datadg, for instance, use:<br />
        Ex: &#8220;vxinfo -g datadg&#8221;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
        DISPLAY and MONITORING<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>vxdisk list<br />
        List all disks used by Veritas (VX).</p>
<p>vxdisk list <diskname><br />
        Display detailed information about a<br />
        single disk, including mutlipathing<br />
        information, size, type, Vx version,<br />
        and more.</p>
<p>vxprint<br />
        Display report style information about<br />
        the current status of all Vx componants,<br />
        including disks, subdisks, plexes, and<br />
        volumes.</p>
<p>vxprint <componant><br />
        Display report style information about<br />
        the current status of ONLY the componant<br />
        you request.  So for instance,<br />
        &#8220;vxprint vol01&#8243; shows information about<br />
        all subcomponants of vol01.  This works<br />
        for plexes, disk groups, etc.</p>
<p>vxprint -hrt<br />
	Display detailed information about all<br />
	Vx componanats, including stwdith,<br />
	ncolumns, offsets, layout type, read-<br />
	policy, and more.  This is best for<br />
	a true picture of your configuration.</p>
<p>vxdg list<br />
        Display listing and state information<br />
        of all Disk Groups.</p>
<p>vxdg list <diskgroup name><br />
        Display detailed information about<br />
        a diskgroup, including flags, version,<br />
        logs status, etc.</p>
<p>vxinfo<br />
        Display volume status and volume type.<br />
        By default, only displays &#8220;rootdg&#8221;,<br />
        to display a diffrent Disk Group,<br />
        use &#8220;vxinfo -g <dgname>&#8220;.</p>
<p>vxassist maxgrow <volume><br />
        This command will output the maximum size<br />
        the volume specified can increased by,<br />
        specified in sectors.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
        DISK TASKS and COMMANDS<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>vxdiskadd <devname><br />
        Adds a disk to Vx by Initializing and Encapsolating<br />
        it.  Specified by its device name (ex: c0t1d0s2).<br />
        NOTE: You&#8217;ll need to reboot to finalize the<br />
        disk addition!</p>
<p>        This command, can also be used to add a disk to<br />
        a specified disk group.  Just follow the prompts.<br />
        No reboots needed for changing DG&#8217;s.</p>
<p>vxedit rename
<oldname> <newname><br />
        Rename a Vx disk. Ex: &#8220;vxedit rename disk01 disk05&#8243;</p>
<p>vxedit set reserve=on <diskname><br />
        Sets the &#8220;reserve&#8221; flag to a Vx disk.  This<br />
        is used to keep specific disks from being<br />
        accidentally, or generally used.</p>
<p>vxdisk offline <diskname><br />
        Used to &#8220;offline&#8221; a disk.  The disk should<br />
        be removed from its diskgroup before being<br />
        offlined.</p>
<p>vxdisk rm <devname><br />
        Used to remove disks from Vx control completely.<br />
        Ex: &#8220;vxdisk rm c0t1d0s2&#8243;  Make sure to<br />
        removed the disk from its diskgroup, and offline<br />
        the disk before removing it.</p>
<p>vxedit set spare=on <diskname><br />
        Sets the &#8220;spare&#8221; flag to a Vx disk.  This is used<br />
        to make the specified disk a hot spare, which<br />
        is then added to the &#8220;hot spare pool&#8221;.</p>
<p>vxedit set spare=off <diskname><br />
        Same as above but removes the disk from the<br />
        &#8220;hot spare pool&#8221;.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
        DISK GROUPS and COMMANDS<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>vxdg init <diskgroup> <diskname>=<devname><br />
        Creates a new disk group, and assigns the naming<br />
        scheme to the first disk added to the group.<br />
        ex: &#8220;vxdg init newdg newdg01=c0t10d0s2&#8243;.<br />
        NOTE: This is kinda tricky because the disk that<br />
        you&#8217;re adding can&#8217;t be a member of ANY DG, but<br />
        must be initialized.  It&#8217;s easier to use<br />
        &#8220;vxdiskadd&#8221;, and add the disk to a newdg by<br />
        specifying a new DG name for the DG field.</p>
<p>vxdg deport <diskgroup><br />
        Disabled a diskgroup, but doesn&#8217;t remove it.  Often<br />
        used as an organized pool of disk to realocate, and<br />
        to moved DG&#8217;s from one system to another.</p>
<p>vxdg import <diskgroup><br />
        Reverse of above.  Enables local access to the specified<br />
        disk group.</p>
<p>vxdg -n <newdgname>
<olddgname>
        Change a Disk Groups name.</p>
<p>vxdg list <dgname><br />
        Use this to check the version numbers of Disk<br />
        Groups.  Shows other details about the DG too.</p>
<p>vxdg destroy <dgname><br />
        Removes the specified DG, and frees all its disks<br />
        back to general use by Vx.</p>
<p>-= Quick Chart!: Disk Group Version Number Translation</p>
<p>        VxVM          Introduced                Supported<br />
        Release         Version                 Versions<br />
        &#8212;&#8212;-       &#8212;&#8212;&#8212;&#8212;              &#8212;&#8212;&#8212;<br />
        1.2             10                        10<br />
        1.3             15                        15<br />
        2.0             20                        20<br />
        2.2             30                        30<br />
        2.3             40                        40<br />
        2.5             50                        50<br />
        3.0             60                       20-60</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
        SUBDISKS and COMMANDS<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;                                       </p>
<p>vxmake sd <subdiskname> <disk>,<offset>,<length><br />
        Creates a subdisk with the specified name,<br />
        and by the offset and length specified.<br />
        ex: &#8220;vxmake sd disk02-01 disk02,0,8000&#8243;<br />
        NOTE: If you are going to add this subdisk<br />
        to a plex, its good to check the other<br />
        subdisks in that plex to see what their<br />
        lengths and offsets are, use the command:<br />
        &#8220;vxprint -st&#8221;</p>
<p>vxedit rm <subdiskname><br />
        Removes a subdisk.                       </p>
<p>vxsd assoc
<plexname> <subdiskname>,&#8230;.<br />
        Associates the specified subdisks to<br />
        the specified plex.  Example:<br />
        &#8220;vxsd assoc vol01-03 disk01-01,disk02-01&#8243;<br />
        NOTE: Striped volumes are diffrent,<br />
        you need to specify the column# so<br />
        use the following:                                           </p>
<p>vxsd -l<br />
<col#/offset> assoc
<plexname> <subdiskname>,&#8230;<br />
        Same as above, but used for associating<br />
	subdisks to a striped plex.  Use the command<br />
        &#8220;vxprint -st&#8221; to see what other subdisk<br />
        in the plex look like, and then set the<br />
        new subdisks column number and offset<br />
        (found in the seventh column of output)<br />
        to the appropriate value.</p>
<p>vxsd aslog
<plex> <subdiskname><br />
        Adds a log subdisk to the specified plex.<br />
        Ex: &#8220;vxsd aslog vol01-02 disk03-01&#8243; </p>
<p>vxsd dis <subdiskname><br />
        Disassociates the specified subdisk from its<br />
        current plex.                                                      </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
        PLEXS and COMMANDS<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>vxmake plex
<plexname> sd=<subdiskname>,<subdiskname>,&#8230;.<br />
        Creates a new plex by the name specified and<br />
        assigns the specified subdisks to it.</p>
<p>vxmake plex
<plexname> layout=<layout> stwidth=<stwidth> ncolumn=<ncolumn> sd=&#8230;<br />
	Like above command, but specifies layout type<br />
	as defined by <layout>, which is used for creation<br />
	of striped and RAID5 plexes.  The layout is<br />
	constrained by the defined number of columns,<br />
	and stripe width.  Subdisks specified are<br />
	added to the created plex.	</p>
<p>vxplex att <volname>
<plexname>
        Associates specified plex with specified volume.<br />
        (Adds a mirror)<br />
        NOTE: Attachment will take a while.  Watch<br />
        it with Vxtask, or via vxprint</p>
<p>vxplex dis
<plexname>
        Disassociate specified plex from its connected<br />
        volume.</p>
<p>vxedit -r rm
<plexname>
        Remove the plex.</p>
<p>vxmend off
<plexname>
        Offlines a plex for repair to it&#8217;s disks.</p>
<p>vxplex det
<plexname>
        Detaches specified plex from its connected<br />
        volume, but maintians association with it&#8217;s<br />
        volume.  The plex is no longer used<br />
        for I/O untill it is (re)attached.</p>
<p>vxmend fix clean
<plexname>
        Used to clean plexes that are in the<br />
        &#8220;unclean&#8221; state.  Used with unstartable<br />
        volumes.</p>
<p>vxplex mv <originalplex> <newplex><br />
        Moves the data content from the origonal<br />
        plex onto a new plex.<br />
        NOTE: The old plex must be active (ENABLED).<br />
        The new plex should be the same length, or<br />
        larger than the old plex.  The new plex<br />
        must not be associated with another volume.<br />
        (duh)</p>
<p>vxplex cp <volume> <newplex><br />
        Copies the data from the specified volume<br />
        to a new plex.<br />
        NOTE: The new plex cannot be associated<br />
        with any other volume.  The new plex,<br />
        further, will NOT be attached to<br />
        the specified volume.  (Also, see notes<br />
        from above)</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
        VOLUMES and COMMANDS<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>vxassist make <volumename> <length><br />
        Creates a new volume with the name specified<br />
        and is made to the length specified.<br />
        Ex: &#8220;vxassist make newvol 10m&#8221;<br />
        NOTE: This command will pull disk space<br />
        from the generally avalible Vx disk space.</p>
<p>vxassist make <volname> <length> layout=<layouttype> <disk> <disk> &#8230;.<br />
        Like the above command, but with layout specified.<br />
        The most common layouts are: striped and raid5<br />
        ex: &#8220;vxassist make newvol 100m layout=raid5 disk01 disk02 disk03&#8243;<br />
        NOTE: See the vxassist(1M) man page for more information.</p>
<p>vxmake vol <volname> len=<length> plex=
<plexname>,&#8230;<br />
        Creates a new volume of specified length (usually<br />
        in sectors), and attachs the specified plexes to that<br />
        volume.  Useful for creating volumes to house<br />
        copied or moved plexes.<br />
        NOTE: See the vxmake(1M) man page for more information.</p>
<p>vxvol init <state> <volname> [plexname]<br />
        Manually sets the state of a volume.<br />
        NOTE: Not for the squimish.</p>
<p>vxassist maxsize [layout=raid5]<br />
        Returns the maximum size avalible via Vx to create<br />
        a new volume.  By adding &#8220;layout=raid5&#8243; to the command<br />
        the calulations take into account losse due<br />
        to raid5.  Output is in sectors and Megs.</p>
<p>vxassist maxgrow <volname><br />
        Returns the maximum ammount of Vx space that<br />
        can be added to the specified volume.</p>
<p>vxassist mirror <volname><br />
        Creates a mirror for the specified volume.<br />
        NOTE: Think of this as &#8220;handsfree plex creation&#8221;.<br />
        This is fast, but the disks you want used<br />
        may not be used&#8230; often best to do manually.</p>
<p>vxassist addlog <volname><br />
        Adds a Dirty Region Log (DRL) for the specified volume.</p>
<p>vxassist remove log <volname><br />
        Reverse of above.</p>
<p>vxvol start <volname><br />
        Starts a volume</p>
<p>vxvol stop <volname><br />
        Stops a volume.  Alternately you can use command as<br />
        such: &#8220;vxvol stopall&#8221; in order to stop all volumes.</p>
<p>vxassit growto/growby/shrinkto/shrinkby <volname> <length><br />
        Resizes the volume specified.  Use one of the<br />
        following: growto, growby, shrinkto, and shrinkby<br />
        in order to descide what <length> specifies.<br />
        By default length is specified in sectors.<br />
        This does not resize the filesystem inside the volume.<br />
        NOTE: Don&#8217;t shrink volumes to be less that<br />
        its contained filesystem! (duh)</p>
<p>vxvol set len=<length> <volname><br />
        An alternate to above command.  Sets the absolute<br />
        lenths of the specified volume to the length<br />
        specified, by default, in sectors.  This<br />
        does not resize the filesystem inside the volume.</p>
<p>        NOTE: There is also a resize(1M) command, used<br />
        for resizing both volume AND filesytem.  See<br />
        the man page for that one.</p>
<p>vxedit rm <volname><br />
        Removes the specified volume. (poof!)<br />
        NOTE: If the volume specified is in the ENABLED<br />
        state, you will need to use the command<br />
        &#8220;vxedit -f <volname>&#8220;.  Also, using the &#8220;r&#8221;<br />
        with &#8220;f&#8221; will remove all plexes and subdisks<br />
        with the volume.  If you didn&#8217;t guess, &#8220;r&#8221;<br />
        is Recursive, and &#8220;f&#8221; is Force.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Misc Stuff:</p>
<p>To calculate the size of a filesystem inside a volume, use<br />
the command:<br />
	fstyp -v <volume-device-path> | head -30 | grep ncg<br />
Ignore the errors.  Output will look this this:<br />
  # fstyp -v /dev/vx/rdsk/datadg/vol01 | head -30 | grep ncg<br />
  ncg     17152   size    70254592        blocks  65863396<br />
  # Broken Pipe<br />
  Unknown_fstyp (no matches)<br />
The size found after the label &#8220;size&#8221; is presented in kilobytes.<br />
You can convert to sectors by multiplying by 2.</p>
<p>		&#8212;&#8212;&#8212;&#8211;</p>
<p>To calculate the size of a volume, use vxprint, and look for the<br />
&#8220;len&#8221;.  The volume length is in sectors.  Convert to kilobytes<br />
by dividing by 2.</p>
<p>		&#8212;&#8212;&#8212;&#8212;-</p>
<p>Volume Growth Procudure:<br />
1) You can use vxassist to estimate the max size of<br />
a given volume based on the disks you wish to add:<br />
ex: # vxassist -g rootdg maxgrow vol01 disk01 disk02 disk03</p>
<p>2) Next, actually grow the volume (NOT THE FS) via the<br />
command (assuming maxgrow outputed 10639360 as the maxsize):<br />
ex:# vxassist -g rootdg growto vol01 10639360 disk01 disk02 disk03</p>
<p>3) Now VxVM grinds away, monitor with vxtask.</p>
<p>4) Now Grow the Filesystem, for UFS use:<br />
# /usr/lib/fs/ufs/mkfs -F ufs -M /export /dev/vx/rdsk/rootdg/vol01 10639360</p>
<p>for VXFS ufs:<br />
# /usr/lib/fs/vxfs/fsadm -b 10639360 -r /dev/vx/rdsk/rootdg/vol01 /mnt<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>5) Done!</p>
<p>	&#8212;&#8212;&#8212;-</p>
<p>Changing User/Group of a Raw Volume: (ex:)<br />
 vxedit -g xxxdg set group=dba data_vol_123<br />
 vxedit -g xxxdg set user=oracle data_vol_123</p>
<p>Thanks to Ben Rockwood! Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/veritas-volume-manager-vxvm-basics-commands-cheats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVM: Determine Free Space on Soft Partition</title>
		<link>http://www.sysadmindayph.com/blog/svm-determine-free-space-on-soft-partition/</link>
		<comments>http://www.sysadmindayph.com/blog/svm-determine-free-space-on-soft-partition/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 03:28:43 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[metadevice]]></category>
		<category><![CDATA[metastat]]></category>
		<category><![CDATA[soft partition]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=178</guid>
		<description><![CDATA[SVM: Determine Free Space on Soft Partition , we use the metastat -c  command&#8230;
[root@localhost] /work/users&#62; metastat -c d103
d103             p   32GB d100
d100         m   68GB d101 d102
d101     s [...]]]></description>
			<content:encoded><![CDATA[<p>SVM: Determine Free Space on Soft Partition , we use the metastat -c  command&#8230;</p>
<p><code>[root@localhost] /work/users&gt; metastat -c d103<br />
d103             p   32GB d100<br />
d100         m   68GB d101 d102<br />
d101     s   68GB c1t2d0s0<br />
d102     s   68GB c1t3d0s0</code></p>
<p>[root@localhost] /work/users&gt; metastat -p d103<br />
d103 -p d100 -o 32 -b 58720256  -o 127926432 -b 8388608<br />
d100 -m d101 d102 1<br />
d101 1 1 c1t2d0s0<br />
d102 1 1 c1t3d0s0</p>
<p>So from the first metastat -c d103.. that&#8217;s a mirrored 68G partition, d100 and a 32G soft partition d103..  We still have around 35G of space.</p>
<p>update: &#8212; someone comment please.. this information is incomplete!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/svm-determine-free-space-on-soft-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Login &#8211; Facebook Updates News and Proxy</title>
		<link>http://www.sysadmindayph.com/blog/facebook-login-facebook-updates-news-and-proxy/</link>
		<comments>http://www.sysadmindayph.com/blog/facebook-login-facebook-updates-news-and-proxy/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 14:38:12 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[Website Review]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[facebook login]]></category>
		<category><![CDATA[facebook proxy]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=176</guid>
		<description><![CDATA[Facebook is almost equivalent to cash nowadays. I read somewhere that Facebook is positive cash! Everyone wants to take advantage on how popular Facebook is. Many are making money (tons of money) with &#8220;Facebook&#8221; additional services like Facebook games (Farmville), Facebook proxies and other related application for Facebook.


There is a downside of Facebook&#8217;s popularity though. [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" href="http://www.facebook.com">Facebook</a> is almost equivalent to cash nowadays. I read somewhere that Facebook is positive cash! Everyone wants to take advantage on how popular <strong>Facebook</strong> is. Many are making money (tons of money) with &#8220;Facebook&#8221; additional services like Facebook games (<a href="http://elizarpalad.com/blog/farmville-cheat-codes/">Farmville</a>), <a href="http://all-proxy.com/">Facebook proxies</a> and other related application for Facebook.</p>
<p>
<img src="http://lapoesiaelospirito.files.wordpress.com/2009/05/facebook-logo.jpg" alt="" width="325" height="244" align="left" /></p>
<p>There is a downside of <strong>Facebook</strong>&#8217;s popularity though. It is a large enough site that it is worthwhile for phishers to target users on this site. <strong>Facebook phishing website</strong> looks almost idential to Facebook real website.</p>
<h3>Face book Login</h3>
<p>From <strong>Facebook Login</strong> to <strong>Facebook proxy</strong>, we&#8217;ll be updating this page for any related and relevant news about Facebook! Since everyone is doing post about the most popular social networking site in the internet this is our own way of contributing to the fans.<br />
<span id="more-176"></span></p>
<h3>Facebook.com Site Info</h3>
<p><a href="http://tube-master.info/">Tube Master</a> usually will be displaying site info for high traffic website. Let&#8217;s put in some fast fact about Facebook.com on our Facebook Login page:</p>
<p>Registrar: TUCOWS INC.<br />
Whois Server: whois.tucows.com<br />
Referral URL: http://domainhelp.opensrs.net<br />
Status: clientTransferProhibited, clientUpdateProhibited, serverDeleteProhibited, serverTransferProhibited, serverUpdateProhibited</p>
<p>Expiration Date: 2010-03-30<br />
Creation Date: 1997-03-29<br />
Last Update Date: 2009-07-10</p>
<p>Stay tuned this page will be updated for the News and Scams of Facebook.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/facebook-login-facebook-updates-news-and-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BMC/Veritas Netbackup Daemon (bpcd bprd) Restart</title>
		<link>http://www.sysadmindayph.com/blog/bmcveritas-netbackup-daemon-bpcd-bprd-restart/</link>
		<comments>http://www.sysadmindayph.com/blog/bmcveritas-netbackup-daemon-bpcd-bprd-restart/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 19:53:37 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[bmc netbackup]]></category>
		<category><![CDATA[nbu]]></category>
		<category><![CDATA[nbu daemon]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[veritas netbackup]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=175</guid>
		<description><![CDATA[Here&#8217;s some tips in bouncing off NBU client daemon. BMC Netbackup (formerly with Veritas apparently) may have a number of ways to accomplish this (specially if you&#8217;re not the backup admin) and depending on the version of the Netbackup software.
The following general guidelines can be used to determine if a restart of NetBackup is required [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some tips in bouncing off NBU client daemon. BMC Netbackup (formerly with Veritas apparently) may have a number of ways to accomplish this (specially if you&#8217;re not the backup admin) and depending on the version of the Netbackup software.</p>
<p>The following general guidelines can be used to determine if a restart of NetBackup is required after making changes to the /usr/openv/netbackup/bp.conf file on a system.</p>
<p><span id="more-175"></span></p>
<ul>
<li> Client daemons such as bpcd, bpbkar, tar and database agents are not persistent and are called only to complete an individual backup or restore.  As a result, there are no client daemons to restart.  Changes to the bp.conf on a client will take effect when new job streams start, they will not affect jobs that are already started.</li>
</ul>
<ul>
<li> Media Server daemons such as bpbrm, bptm, bpdm are not persistent and are called only to complete a backup, restore, duplication, or other operation.  Changes to the bp.conf on a media server should take effect once a new backup or restore is run, they will not affect existing backups.  The exception to this is any configuration value that is passed to bpbrm by a master server process such as bpsched.  Note: Other Media Manager daemons such as ltid, vmd, avrd and robotic daemons on the media server read from the /usr/openv/volmgr/vm.conf file.  These daemons are persistent and typically require a restart of NetBackup.</li>
</ul>
<ul>
<li> Master server daemons bprd, bpdbm and bpjobd are persistent.  As a result, these need to be restarted to recognize changes to the NetBackup configuration.  The bpsched daemon is called by bprd and is continuously active until all queued jobs have completed.  The bpsched daemon must be restarted if jobs are continuously active and the configuration change needs to be picked up before the queued jobs execute.</li>
</ul>
<p>Anyway, startup scripts of NBU netbackup usually is in /etc/init.d/ aptly called netbackup, or nbuclient. You can check out the scripts also in NBU&#8217;s home, i.e /usr/openv/netbackup/bin/goodies</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/bmcveritas-netbackup-daemon-bpcd-bprd-restart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metastat Needs Maintenance Metareplace</title>
		<link>http://www.sysadmindayph.com/blog/metastat-needs-maintenance-metareplace/</link>
		<comments>http://www.sysadmindayph.com/blog/metastat-needs-maintenance-metareplace/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 16:41:57 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[meta device]]></category>
		<category><![CDATA[metareplace]]></category>
		<category><![CDATA[metastat]]></category>
		<category><![CDATA[svm]]></category>
		<category><![CDATA[volume manager]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=174</guid>
		<description><![CDATA[Guilty! Putting all those Metastat keywords on one subject, that&#8217;s me! ANyway, I don&#8217;t want to stale this blog so once in a while I&#8217;m going to be posting some bits and pieces of Unix tools/tips.. and here&#8217;s a new one about SVM&#8230; Responding to Disk Errors courtesy of BigAdmin!

Got a page.. something like &#8220;Fault [...]]]></description>
			<content:encoded><![CDATA[<p>Guilty! Putting all those Metastat keywords on one subject, that&#8217;s me! ANyway, I don&#8217;t want to stale this blog so once in a while I&#8217;m going to be posting some bits and pieces of Unix tools/tips.. and here&#8217;s a new one about SVM&#8230; Responding to Disk Errors courtesy of BigAdmin!</p>
<p><span id="more-174"></span></p>
<p>Got a page.. something like &#8220;Fault found by metastat&#8221; in short description in Remedy&#8230; </p>
<p><code># metastat | grep Need<br />
      State: Needs maintenance<br />
    State: Needs maintenance </code></p>
<p>Which disk?</p>
<p><code># metastat d9<br />
d9: Mirror<br />
    Submirror 0: d19<br />
      State: Needs maintenance<br />
    Submirror 1: d29<br />
      State: Okay<br />
    Pass: 1<br />
    Read option: roundrobin (default)<br />
    Write option: parallel (default)<br />
    Size: 134221440 blocks (64 GB)</p>
<p><strong>d19: Submirror of d9</strong><br />
    State: Needs maintenance<br />
    Invoke: metareplace d9 c0t2d0s5 <new device><br />
    Size: 134221440 blocks (64 GB)<br />
    Stripe 0:<br />
        <strong>Device </strong>    Start Block  Dbase        State Reloc Hot Spare<br />
        <strong>c0t2d0s5</strong>          0     No     Maintenance   Yes </p>
<p>d29: Submirror of d9<br />
    State: Okay<br />
    Size: 134221440 blocks (64 GB)<br />
    Stripe 0:<br />
        Device     Start Block  Dbase        State Reloc Hot Spare<br />
        c0t3d0s5          0     No            Okay   Yes </p>
<p>Device Relocation Information:<br />
Device   Reloc  Device ID<br />
c0t2d0   Yes    id1,sd@SSEAGATE_ST373307LSUN72G_3HZ6Y1EN000074312CVW<br />
c0t3d0   Yes    id1,sd@SSEAGATE_ST373307LSUN72G_3HZ6Y46Y0000743249BK<br />
</code></p>
<p>Check for hard errors to verify if this disk can really be replaced&#8230; if it passed (on your criteria), you can try re-syncing it&#8230;</p>
<p><code>c# metareplace -e  d9 c0t2d0s5<br />
d9: device c0t2d0s5 is enabled</code></p>
<p>Verify that it&#8217;s doing what it is expected..</p>
<p><code># metastat d9<br />
d9: Mirror<br />
    Submirror 0: d19<br />
      State: Resyncing<br />
    Submirror 1: d29<br />
      State: Okay<br />
    Resync in progress: 0 % done<br />
    Pass: 1<br />
    Read option: roundrobin (default)<br />
    Write option: parallel (default)<br />
    Size: 134221440 blocks (64 GB)</p>
<p></code></p>
<p>And we wait&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/metastat-needs-maintenance-metareplace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
