<?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>Wed, 24 Feb 2010 00:59: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>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>
		<item>
		<title>Send Break on XSCF &#8211; Sun M5000 Servers</title>
		<link>http://www.sysadmindayph.com/blog/send-break-on-xscf-sun-m5000-servers/</link>
		<comments>http://www.sysadmindayph.com/blog/send-break-on-xscf-sun-m5000-servers/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 20:38:24 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Console Access]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[XSCF]]></category>
		<category><![CDATA[m5000]]></category>
		<category><![CDATA[send break]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=173</guid>
		<description><![CDATA[From our last post about XSCF Cheat sheet, we put there some commands on an XSCF management interface card. I thought that was the most common one, but we forgot to put in how to send &#8216;break&#8217; to the host console!  
Here&#8217;s how:

XSCF> sendbreak -d 0 [sends break command to domain 0]
You can then [...]]]></description>
			<content:encoded><![CDATA[<p>From our last post about <a href="http://www.sysadmindayph.com/blog/xscf-console-command-cheat-sheet/">XSCF Cheat sheet</a>, we put there some commands on an XSCF management interface card. I thought that was the most common one, but we forgot to put in how to send &#8216;break&#8217; to the host console! <img src='http://www.sysadmindayph.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here&#8217;s how:</p>
<p><span id="more-173"></span></p>
<p>XSCF> sendbreak -d 0 [sends break command to domain 0]</p>
<p>You can then continue with the console and do what you&#8217;re suppose to do.. sync? reboot? etc&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/send-break-on-xscf-sun-m5000-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XSCF Console Command Cheat sheet</title>
		<link>http://www.sysadmindayph.com/blog/xscf-console-command-cheat-sheet/</link>
		<comments>http://www.sysadmindayph.com/blog/xscf-console-command-cheat-sheet/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 14:34:54 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Console Access]]></category>
		<category><![CDATA[XSCF]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=172</guid>
		<description><![CDATA[Here are a couple of commands for the XSCF console specifics for the M-series servers of Sun. There are &#8217;stolen&#8217; from Review Ninja plus more! Thanks Jon!
To Connect to a domain
XSCF> console -d 
To Show status of a domain
XSCF> showdomainstatus -d 


XSCF> showdomainstatus
Invalid parameter.
usage : showdomainstatus -a
        showdomainstatus [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a couple of commands for the XSCF console specifics for the M-series servers of Sun. There are &#8217;stolen&#8217; from Review Ninja plus more! Thanks Jon!</p>
<p>To Connect to a domain<br />
XSCF> console -d <domain number></p>
<p>To Show status of a domain<br />
XSCF> showdomainstatus -d <domain number></p>
<blockquote><p>
<code><br />
XSCF> showdomainstatus<br />
Invalid parameter.<br />
usage : showdomainstatus -a<br />
        showdomainstatus -d domain_id<br />
        showdomainstatus -h<br />
XSCF> showdomainstatus -a<br />
DID         Domain Status<br />
00          Running<br />
01          Running<br />
02          Running<br />
03          Running<br />
04          -
</p></blockquote>
<p></code></p>
<p>To displays the domain information specified for a system board.<br />
XSCF> showdevices</p>
<p>To displays the temperature, humidity, voltage, and fan rotation speed.<br />
XSCF> showenvironment</p>
<p>To lists degraded components.<br />
XSCF> showstatus</p>
<p>To displays users who login to the XSCF.<br />
XSCF> who</p>
<p>To reset domain there are 3 modes for reset command</p>
<p>    * por: Domain system reset<br />
    * request: Domain panic instruction<br />
    * xir: Domain CPU reset </p>
<p>XSCF> reset -d domainhere por</p>
<p>To power on/off all domain or sepcified domain<br />
XSCF> poweron<br />
XSCF> poweroff</p>
<p>Remember you can always use &#8211;help on every command to see what are teh available switched and options for it.</p>
<p>To logout of XSCF> type exit<br />
To return to XSCF from a domain terminal type #.</p>
<p>Hope this help.</p>
<p>More command from Sun:</p>
<p>http://docs.sun.com/source/819-6202-15/21ch5p.html#50643019_96753</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/xscf-console-command-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ZFS Quotas and Reservations</title>
		<link>http://www.sysadmindayph.com/blog/zfs-quotas-and-reservations/</link>
		<comments>http://www.sysadmindayph.com/blog/zfs-quotas-and-reservations/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 12:25:47 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=171</guid>
		<description><![CDATA[Notes on ZFS quotas, reservations and others.. like adding up disk for the pool and creating pool altogether.
First, create a pool using &#8216;zpool&#8216;. Then use &#8216;zfs&#8216; to make the filesystems.
Creating Pool with zpool
Create a pool called pool1. The -m is optional. If given, it specifies a mount point for zfs filesystems created from the specified [...]]]></description>
			<content:encoded><![CDATA[<p>Notes on ZFS quotas, reservations and others.. like adding up disk for the pool and creating pool altogether.</p>
<p>First, create a pool using &#8216;<strong>zpool</strong>&#8216;. Then use &#8216;<strong>zfs</strong>&#8216; to make the filesystems.</p>
<p><strong>Creating Pool with zpool</strong></p>
<p>Create a pool called pool1. The -m is optional. If given, it specifies a mount point for zfs filesystems created from the specified pool. The mount point should be empty or nonexistant. If the -m argument is omitted, mount point is &#8220;/&#8221;. </p>
<p><span id="more-171"></span></p>
<blockquote><p>    <code><br />
# zpool create -m /export/data01 ALB mirror c2t0d0 c4t0d0<br />
# zpool status<br />
      pool: pool1<br />
      state: ONLINE<br />
      scrub: none requested<br />
      config:</p>
<p>            NAME        STATE     READ WRITE CKSUM<br />
            pool1       ONLINE       0     0     0<br />
              mirror    ONLINE       0     0     0<br />
                c2t0d0  ONLINE       0     0     0<br />
                c4t0d0  ONLINE       0     0     0</code>
</p></blockquote>
<p>http://www.mattzone.com/site/index.php?name=News&#038;file=article&#038;sid=3</p>
<p>http://dlc.sun.com/osol/docs/content/ZFSADMIN/gazvb.html</p>
<p>http://prefetch.net/blog/index.php/2006/12/26/adding-disks-to-zfs-pools/</p>
<p><strong>Creating ZFS filesystem from Pool</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/zfs-quotas-and-reservations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
