<?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 Sysadmin</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>Fri, 27 Jan 2012 04:36:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>VxVM vxassist ERROR V-5-1-5455 Operation requires a disk group</title>
		<link>http://www.sysadmindayph.com/blog/vxvm-vxassist-error-v-5-1-5455-operation-requires-a-disk-group/</link>
		<comments>http://www.sysadmindayph.com/blog/vxvm-vxassist-error-v-5-1-5455-operation-requires-a-disk-group/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 04:30:37 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Veritas Volume Manager]]></category>
		<category><![CDATA[veritas]]></category>
		<category><![CDATA[vxassist]]></category>
		<category><![CDATA[vxvm]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=288</guid>
		<description><![CDATA[On this post we will take a closer look at this veritas volume manager error when trying to display the available disk space in an existig datagroup. The error is &#8220;VxVM vxassist ERROR V-5-1-5455 Operation requires a disk group&#8221; This is a draft post as I currently have no answer yet.. Weird thing is, the &#8230; <a href="http://www.sysadmindayph.com/blog/vxvm-vxassist-error-v-5-1-5455-operation-requires-a-disk-group/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>On this post we will take a closer look at this veritas volume manager error when trying to display the available disk space in an existig datagroup. The error is &#8220;<strong>VxVM vxassist ERROR V-5-1-5455 Operation requires a disk group</strong>&#8221;</p>
<p>This is a draft post as I currently have no answer yet.. Weird thing is, the vxassist command works on one server and not in the other.. which is spitting out the error in subject.</p>
<p>Take this example:</p>
<p>Working server:</p>
<p><code><br />
# vxdg list<br />
NAME         STATE           ID<br />
datadg1      enabled              1169455228.81.sgtjcpb1<br />
datadg2      enabled              1169455429.95.sgtjcpb1<br />
# vxassist -g datadg1 maxsize layout=concat<br />
Maximum volume size: 390506496 (190677Mb)<br />
# vxassist -g datadg2 maxsize layout=concat<br />
Maximum volume size: 676767744 (330453Mb)<br />
# vxassist -g datadg1 maxsize layout=raid5<br />
Maximum volume size: 270483456 (132072Mb)<br />
# vxassist -g datadg2 maxsize layout=raid5<br />
Maximum volume size: 375160832 (183184Mb)<br />
</code></p>
<p>Looks fine right? But when I tried the same syntax on the other sever, I got this:</p>
<p><code># vxdg -g sysdg free<br />
DISK         DEVICE       TAG          OFFSET    LENGTH    FLAGS<br />
sysdg05      emcpower5s2  emcpower5    16777216  2029952   n<br />
sysdg06      emcpower3s2  emcpower3    16777216  2029952   n<br />
sysdg07      emcpower4s2  emcpower4    167772160 2020352   n<br />
# vxassist -d sysdg maxsize layout=concat<br />
VxVM vxassist ERROR V-5-1-5455 Operation requires a disk group<br />
#<br />
</code></p>
<p>I suspect it has something to do with the Veritas VX version or the OS it is running. Will investigate further and let you know.<br />
&#8211;</p>
<p>UPDATE.. saw the error after 5 minutes.. saw it? I found &#8220;d&#8221; error.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/vxvm-vxassist-error-v-5-1-5455-operation-requires-a-disk-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(ufsrestore) Make Bootable &#8211; Recovering the Root or /usr File System</title>
		<link>http://www.sysadmindayph.com/blog/ufsrestore-make-bootable-recovering-the-root-or-usr-file-system/</link>
		<comments>http://www.sysadmindayph.com/blog/ufsrestore-make-bootable-recovering-the-root-or-usr-file-system/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 07:11:47 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=283</guid>
		<description><![CDATA[This is some kind of a followup from the first post about ufsdump &#8211; how to backup solaris filesystem 1. Replace and partition the disk if it has failed. 2. Because the system cannot be booted from the boot disk, boot from the CD-ROM and re-create the failed file system by issuing the newfs command: &#8230; <a href="http://www.sysadmindayph.com/blog/ufsrestore-make-bootable-recovering-the-root-or-usr-file-system/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>This is some kind of a followup from the first post about <a href="http://www.sysadmindayph.com/blog/ufsdump-how-to-backup-solarislinux-root-filesystem/">ufsdump &#8211; how to backup solaris filesystem</a> </p>
<p>1.  Replace and partition the disk if it has failed.</p>
<p>2.  Because the system cannot be booted from the boot disk, boot from the CD-ROM and re-create the failed file system by issuing the newfs command:</p>
<p>newfs /dev/rdsk/<disk-partition-name></p>
<p><disk-partition-name> is the name of the raw disk partition that contains the corrupted file system.</p>
<p>3.  Check the new file system by using fsck:</p>
<p>fsck /dev/rdsk/<disk-partiton-name></p>
<p>4.  Mount the new file system on a temporary mount point:</p>
<p>mount /dev/dsk/<disk-partition-name>/mnt</p>
<p>5.  Change to the /mnt directory:</p>
<p>cd /mnt</p>
<p>6.  Write protect the tapes so that you don&#8217;t accidentally overwrite them.</p>
<p>7.  Load the tape and issue the following command:</p>
<p>ufsrestore rf /dev/rmt/0</p>
<p>The entire content of the tape is restored to the file system. All permissions, ownerships, and dates remain as they were when the last incremental tape was created.</p>
<p>8.  Verify that the file system is restored:</p>
<p>ls</p>
<p>9.  Remove the restoresymtable file that is created and used by ufsrestore to checkpoint the restoration:</p>
<p>rm restoresymtable</p>
<p>10.  Change to the root (/) directory:</p>
<p>cd /</p>
<p>11.  Unmount the newly created file system:</p>
<p>umount /mnt</p>
<p>12.  Check the new file system with fsck:</p>
<p>fsck /dev/rdsk/<disk-partition-name></p>
<p>The restored file system is checked for consistency.</p>
<p>13.  If you are recovering the root (/) file system, create the boot blocks on the root partition by using the installboot command:</p>
<p>installboot  /usr/platform/&#8217;uname-I&#8217;/lib/fs/ufs/bootblk\<br />
 /dev/rdsk/<disk-partition-name></p>
<p>The installboot command installs the boot blocks onto the boot disk. Without the boot blocks, the disk cannot boot.</p>
<p>14.  Insert a new tape into the tape drive and back up the new file system:</p>
<p>ufsdump 0uf /dev/rmt/n /dev/rdsk/<device-name></p>
<p>A level 0 backup is performed. You should immediately make a backup of a newly created file system because ufsrestore repositions the files and changes the inode allocation.</p>
<p>15.  Reboot the system with a reconfiguration reboot:</p>
<p># shutdown -y -g0 -i0<br />
ok boot -r</p>
<p>The system is rebooted.</p>
<h2>Extra Notes on UFSrestore</h2>
<p>When you restore files in a directory other than the root directory of the file system, ufsrestore re-creates the file hierarchy in the current directory. For example, if you restore to /home files that were backed up from /users/bcalkins/files, the files are restored in the directory /home/users/bcalkins/files.</p>
<p>When you restore individual files and directories, it&#8217;s a good idea to restore them to a temporary directory such as /var/tmp. After you verify that you&#8217;ve retrieved the correct files, you can move them to their proper locations. You can restore individual files and directories to their original locations; however, if you do so, you should be sure that you do not overwrite newer files with older versions from the backup tape.</p>
<p>You should not forget to make regular backups of your operating system. Losing all the customization you dosuch as adding user accounts, setting up printers, and installing application softwarewould be disastrous. Whenever you make modifications that affect the root (/),/usr, /opt, or other operating system directories, you should bring down the system into single-user mode and perform a level 0 dump.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/ufsrestore-make-bootable-recovering-the-root-or-usr-file-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable / Turn Off  Linux Password expiration / Aging</title>
		<link>http://www.sysadmindayph.com/blog/disable-turn-off-linux-password-expiration-aging/</link>
		<comments>http://www.sysadmindayph.com/blog/disable-turn-off-linux-password-expiration-aging/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 07:48:06 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=278</guid>
		<description><![CDATA[Yep, another personal reference and to think that I should know these stuff by heard. Well, most of the servers I am handling now are solaris and for particular example, it&#8217;s for Linux.. I guess there will be some similarities but for this post, we&#8217;ll take Redhat linux as an example: The command is chage &#8230; <a href="http://www.sysadmindayph.com/blog/disable-turn-off-linux-password-expiration-aging/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Yep, another personal reference and to think that I should know these stuff by heard. Well, most of the servers I am handling now are solaris and for particular example, it&#8217;s for Linux..</p>
<p>I guess there will be some similarities but for this post, we&#8217;ll take Redhat linux as an example:</p>
<p>The command is chage (looks like a misspelled &#8216;change&#8217; right? It&#8217;s actually &#8220;Change&#8221; &#8220;Age&#8221;)</p>
<p>/etc/shadow stores actual password in encrypted format for user’s account with additional properties related to user password.</p>
<p>The password expiration information for a user is contained in the last 6 fields. Password expiration for a select user can be disabled by editing the /etc/shadow file</p>
<p>However I recommend using chage command. The chage command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change his/her password.</p>
<p>To list current aging type chage command as follows:</p>
<p># chage -l rg49945<br />
Minimum:        0<br />
Maximum:        99999<br />
Warning:        7<br />
Inactive:       -1<br />
Last Change:            Jun 07, 2011<br />
Password Expires:       Never<br />
Password Inactive:      Never<br />
Account Expires:        Never<br />
#<br />
# chage -l ct92623<br />
Minimum:        0<br />
Maximum:        99999<br />
Warning:        7<br />
Inactive:       -1<br />
Last Change:            Jun 07, 2011<br />
Password Expires:       Never<br />
Password Inactive:      Never<br />
Account Expires:        Never<br />
#<br />
# passwd rg49945<br />
Changing password for user rg49945.<br />
New password:<br />
Re-enter new password:<br />
Password changed.<br />
passwd: all authentication tokens updated successfully.<br />
#<br />
# passwd ct92623<br />
Changing password for user ct92623.<br />
New password:<br />
Re-enter new password:<br />
Password changed.<br />
passwd: all authentication tokens updated successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/disable-turn-off-linux-password-expiration-aging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Grayscale and Image Using GIMP</title>
		<link>http://www.sysadmindayph.com/blog/how-to-grayscale-and-image-using-gimp/</link>
		<comments>http://www.sysadmindayph.com/blog/how-to-grayscale-and-image-using-gimp/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 07:30:41 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[grayscale]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=275</guid>
		<description><![CDATA[Alright, here&#8217;s one of many tutorial you will find here at SysadmindayPH. This post is all about how to turn your colorful pictures and images into black and white, or grayscale using GIMP &#8230;Of course using GIMP! For those who do not know what GIMP is, is short GNU Image Manipulation Program. What&#8217;s GNU? It&#8217;s &#8230; <a href="http://www.sysadmindayph.com/blog/how-to-grayscale-and-image-using-gimp/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Alright, here&#8217;s one of many tutorial you will find here at SysadmindayPH. This post is all about how to turn your colorful pictures and images into black and white, or grayscale using GIMP &#8230;Of course using <a href="http://www.gimp.org/">GIMP</a>! <img src='http://www.sysadmindayph.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For those who do not know what GIMP is, is short GNU Image Manipulation Program. What&#8217;s GNU? It&#8217;s GNU Not UNIX. What&#8217;s GNU? It&#8217;s GNU Not UNIX.. What&#8217;s.. you know.</p>
<p>Most of the tutorials I&#8217;ll mentioned here is based / borrowed /stolen from this link, so be sure to check it out and bookmark that one too</p>
<p><a href="http://www.gimp.org/tutorials/Color2BW/">http://www.gimp.org/tutorials/Color2BW/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/how-to-grayscale-and-image-using-gimp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect Your Users &#8211; Websites To Block From Your Network</title>
		<link>http://www.sysadmindayph.com/blog/protect-your-users-websites-to-block-from-your-network/</link>
		<comments>http://www.sysadmindayph.com/blog/protect-your-users-websites-to-block-from-your-network/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 00:10:43 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=271</guid>
		<description><![CDATA[As a System Administrator, one of our main responsibility if to protect our user from (themselves) internet sites that are not appropriate in the workplace. On this article, let&#8217;s enumerate some of the websites that needs to be blocked and should not even reach the company servers. TNAFlix Xhamster Redtube Tube8 Empflix Youjizz Jizzhut JizzOnline &#8230; <a href="http://www.sysadmindayph.com/blog/protect-your-users-websites-to-block-from-your-network/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>As a System Administrator, one of our main responsibility if to protect our user from (themselves) internet sites that are not appropriate in the workplace.</p>
<p>On this article, let&#8217;s enumerate some of the websites that needs to be blocked and should not even reach the company servers.</p>
<ul>
<li>TNAFlix</li>
<li>Xhamster</li>
<li>Redtube</li>
<li>Tube8</li>
<li>Empflix</li>
<li>Youjizz</li>
<li>Jizzhut</li>
<li>JizzOnline</li>
</ul>
<p>These are just some of them. I will update the list as I discover them by reading the logs.</p>
<p>Subscribe now and be informed of these kind of sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/protect-your-users-websites-to-block-from-your-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make your Computer Faster</title>
		<link>http://www.sysadmindayph.com/blog/how-to-make-your-computer-faster/</link>
		<comments>http://www.sysadmindayph.com/blog/how-to-make-your-computer-faster/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 00:00:52 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=266</guid>
		<description><![CDATA[No matter how you ask it, how to make your computer faster, or how to make computer faster, we all want the same thing.. to make more out of our computer. A number of people are asking, specially those folks not so familiar with computer or with technology in general &#8211; &#8220;how do i make &#8230; <a href="http://www.sysadmindayph.com/blog/how-to-make-your-computer-faster/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>No matter how you ask it, how to make your computer faster, or how to make computer faster, we all want the same thing.. to make more out of our computer.</p>
<p> A number of people are asking, specially those folks not so familiar with computer or with technology in general &#8211; &#8220;<strong>how do i make my computer run faster</strong>?&#8221;</p>
<h2>Reasons a computer runs Slow</h2>
<p>Here are a couple of reason why a computer run slow:</p>
<ol>
<li>Old model</li>
<li>Not enough ram to accommodate application</li>
<li>A computer virus</li>
</ol>
<p><a href="http://www.sysadmindayph.com/blog/wp-content/plugins/make-computer-run-faster.png"><img class="alignleft size-full wp-image-268" title="make computer run faster" src="http://www.sysadmindayph.com/blog/wp-content/plugins/make-computer-run-faster.png" alt="how do i make my computer run faster" width="300" height="220" /></a>First of all, if you bought a hand me down, second hand, used computer from a few years back, that is a pretty good chance that the applications that you installed or want to install in your PC will run slow as the computer hardware industry is very fast paced that the hardware of today will become obsolete in a year. With that said, if you have an old computer, there is no other way of making it faster but replacing it with a new one or upgrading the main components of it like the system board, memory or the central processing unit.</p>
<p>Second, there are many software application today that is very memory extensive that it eats up most of the RAM (Random access memory) of the computer which leaves nothing for the Operating System or for other application.</p>
<p>Third possible reason is that the unit is infected by a virus which also consumes a lot of your computer&#8217;s processing power. Viruses can come from an external drive or from online in the websites that you are visiting.</p>
<h2>How to make a new computer run faster?</h2>
<p>From the same reason given above, the same things can be done to make a computer run faster.</p>
<p>For the first and second point or item, like mentioned, there is no better way than to upgrade.</p>
<p>The third one is to have a antivirus scan and clean the computer up. But in my experience it is better or completely erase the computer (format the system) and reinstall the OS and application to make sure that the virus is completely removed. (Of course, you have to make backup of your important files)</p>
<blockquote><p>You may definetly need to clean up your PC.<br />
Here is instructions about how to clean your PC: <a id="yui_3_3_0_1_1323560780283407" href="http://www.wikihow.com/Clean-Your-Computer" rel="nofollow">http://www.wikihow.com/Clean-Your-Comput…</a><br />
1. Download a nice PC cleaner from <a href="http://www.pc-registry-repair.cc/" rel="nofollow">http://www.pc-registry-repair.cc</a><br />
(System cleaner is a best choice)<br />
2. Run the cleaner and clean up your PC.<br />
3. Restart your PC</p></blockquote>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/how-to-make-your-computer-faster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ufsdump &#8211; How To Backup Solaris/Linux Root Filesystem</title>
		<link>http://www.sysadmindayph.com/blog/ufsdump-how-to-backup-solarislinux-root-filesystem/</link>
		<comments>http://www.sysadmindayph.com/blog/ufsdump-how-to-backup-solarislinux-root-filesystem/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 01:53:56 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ufsdump]]></category>
		<category><![CDATA[ufsrestore]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=254</guid>
		<description><![CDATA[Alright, here&#8217;s how &#8211; usfsdump &#8211; How To Backup Solaris/Linux Root Filesystem. use ufsdump Say for example you have this: $ df -k / Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 673951 415497 197799 68% / $ df -k /CMS Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t8d0s0 35009161 32305691 2353379 94% /CMS $ &#8230; <a href="http://www.sysadmindayph.com/blog/ufsdump-how-to-backup-solarislinux-root-filesystem/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Alright, here&#8217;s how &#8211; usfsdump &#8211; How To Backup Solaris/Linux Root Filesystem. use ufsdump</p>
<p>Say for example you have this:</p>
<p>$ df -k /<br />
Filesystem            kbytes    used   avail capacity  Mounted on<br />
/dev/dsk/c0t0d0s0     673951  415497  197799    68%    /<br />
$ df -k /CMS<br />
Filesystem            kbytes    used   avail capacity  Mounted on<br />
/dev/dsk/c0t8d0s0    35009161 32305691 2353379    94%    /CMS<br />
$ </p>
<p>yeah, the /CMS file system is almost full, but I think it can still accomodate a 674MB root filesystem from the slice /dev/dsk/c0t0d0s0, right?</p>
<p>Anyway, not sure if the <a href="http://clip.dia.fi.upm.es/~alopez/solaris/sun-managers3/0087.html">2GM limit</a> is applicable to Solaris 8,9 or 10 but since this example is less than 1GB, we are ok to proceed.</p>
<p>myserver# cd /CMS<br />
myserver# ufsdump -f dumpfile /dev/dsk/c0t0d0s0<br />
DUMP: Date of this level 0 dump: Tue Jul 20 16:41:50 2004<br />
DUMP: Date of last level 0 dump: the epoch<br />
DUMP: Dumping /dev/rdsk/c0t0d0s0 (myserver:/) to dumpfile.<br />
DUMP: Mapping (Pass I) [regular files]<br />
DUMP: Mapping (Pass II) [directories]<br />
DUMP: Writing 32 Kilobyte records<br />
DUMP: Estimated 366 blocks (183KB).<br />
DUMP: Dumping (Pass III) [directories]<br />
DUMP: Dumping (Pass IV) [regular files]<br />
DUMP: 318 blocks (159KB) on 1 volume at 963 KB/sec<br />
DUMP: DUMP IS DONE<br />
krypton# ls -l<br />
total 340<br />
-rw&#8212;&#8212;- 1 root other 163840 Jul 20 16:41 dumpfile<br />
-rw-r&#8211;r&#8211; 1 haefnr2 instrume 11 Jul 20 16:38 test1<br />
-rw-r&#8211;r&#8211; 1 haefnr2 instrume 21 Jul 20 16:38 test2<br />
krypton# file dumpfile<br />
dumpfile: ufsdump archive file</p>
<p>ufsrestore should do the trick in recovering the system.. hopefully</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/ufsdump-how-to-backup-solarislinux-root-filesystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Veritas VxVM &#8211; Creating Filesystem Command Line</title>
		<link>http://www.sysadmindayph.com/blog/veritas-vxvm-creating-filesystem-command-line/</link>
		<comments>http://www.sysadmindayph.com/blog/veritas-vxvm-creating-filesystem-command-line/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 06:46:17 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Veritas Volume Manager]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=238</guid>
		<description><![CDATA[What diskgroups are Available: vxdg list Finding free space in Veritas diskgroups vxdg -g oradg free vxassist -g oradg maxsize layout=concat list the existing filesystem in datagroup # vxinfo -g datadg1 oracle raid5 Started database raid5 Started u05 raid5 Started u07 raid5 Started # vxinfo -g datadg2 database raid5 Started index raid5 Started u06 raid5 &#8230; <a href="http://www.sysadmindayph.com/blog/veritas-vxvm-creating-filesystem-command-line/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p><strong>What diskgroups are Available:</strong></p>
<p>vxdg list</p>
<p><strong>Finding free space in Veritas diskgroups</strong></p>
<p>vxdg -g oradg free<br />
vxassist -g oradg maxsize layout=concat</p>
<p><strong>list the existing filesystem in datagroup</strong></p>
<p># vxinfo -g datadg1<br />
oracle         raid5    Started<br />
database       raid5    Started<br />
u05            raid5    Started<br />
u07            raid5    Started<br />
# vxinfo -g datadg2<br />
database       raid5    Started<br />
index          raid5    Started<br />
u06            raid5    Started<br />
u08            raid5    Starte</p>
<p><strong><br />
To Create a Filesystem</strong><br />
 &#8211; create volume first (if disk group is there already, that is, just another request for another filesystem from free space)</p>
<p> &#8211; </p>
<p># vxdg init datadg disk01=c1t1d0s2 disk02=c1t2d0s2 disk03=c1t3d0s2 disk04=c1t4d0s2<br />
# vxassist -g datadg make vol01 2g layout=raid5</p>
<p>or<br />
# vxassist -g DG1 make VolS 10m layout=stripe c1t1d0 c1t2d0s2</p>
<p>bash-3.00# mount -F vxfs /dev/vx/dsk/DG1/VolS /stripe/<br />
bash-3.00# mount -F vxfs /dev/vx/dsk/DG1/VolM /mirror/</p>
<p>&#8212;</p>
<p>Reason: RFC13585613<br />
# vxdg list<br />
NAME         STATE           ID<br />
orapdg       enabled              1140953419.50.nsgct2-ivm01<br />
# vxassist -g orapdg maxsize layout=concat<br />
Maximum volume size: 872189952 (425874Mb)<br />
# vxinfo -g orapdg<br />
oralib         fsgen    Started<br />
archive        fsgen    Started<br />
redolog08      fsgen    Started<br />
archivelog     fsgen    Started<br />
usertable      fsgen    Started<br />
indextable     fsgen    Started</p>
<p>&#8212;&#8211;<br />
# create volume for /DBA01<br />
# vxassist -g orapdg make dba01 350g layout=fsgen  # <<&#8211; fsgen ??</p>
<p># create filesystem from volume<br />
# mkfs &#8211; F vxfs /dev/vx/rdks/orapdg/dba01</p>
<p># mount point<br />
# mkdir /DBA01<br />
# mount -F vxfs /dev/vx/dsk/orapdg/dba01 /DBA01</p>
<p># ownership<br />
# chown -R appdbmnt:appdba /DBA01</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/veritas-vxvm-creating-filesystem-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HMC &#8211; Hardware Manage Console Overview</title>
		<link>http://www.sysadmindayph.com/blog/hmc-hardware-manage-console-overview/</link>
		<comments>http://www.sysadmindayph.com/blog/hmc-hardware-manage-console-overview/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 07:26:34 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[AIX]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=236</guid>
		<description><![CDATA[HMC is an abbreviation which expands to Hardware Management Console. The term HMC is normally used with context to IBM pSeries Servers. What is HMC? HMC is a Linux based desktop PC workstation which is dedicated to a number of pSeries servers. It’s is used to manage LPARs. There can be several LPARs or a &#8230; <a href="http://www.sysadmindayph.com/blog/hmc-hardware-manage-console-overview/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>HMC is an abbreviation which expands to Hardware Management Console. The term HMC is normally used with context to IBM pSeries Servers.</p>
<p>What is HMC?<br />
HMC is a Linux based desktop PC workstation which is dedicated to a number of pSeries servers. It’s is used to manage LPARs. There can be several LPARs or a single full partition on physical pSeries server system. HMC provides GUI (Graphical User Interface) and CLI (Command Line Interface) to manage LPARs.</p>
<p>7040-681, 7040-671, 7039-651, 7038-6M2 etc. are some of the models of HMC.</p>
<p>Uses of HMC<br />
HMC is used in a number of ways to manage LPARs. Few of its uses are listed below:</p>
<p>   1. HMC is used to start, stop, reset and shutdown an LPAR.<br />
   2. pSeries servers systems can be booted started and stopped using HMC.<br />
   3. HMC can be used to open virtual console for every partition or pSeries server connected to the HMC. It looks like original console of the server.<br />
   4. HMC can be used to create partition profiles. Each profile contains information on processor, memory and I/O resources allocated to that particular partition. It also helps to switch between various profiles of LPAR. If you want to choose different profile for an LPAR, you need to reset the LPAR.<br />
   5. HMC can be used to carryout DLPAR operations between specific LPARs. This way memory, processor etc. resources can be allocated/de-allocated dynamically without the need to restart any LPAR.<br />
   6. Physical System resources and the status of system can be displayed by HMC.<br />
   7. HMC itself can be managed through its GUI and CLI tools.<br />
   8. HMC software level can be managed by HMC itself. That’s called microcode management.<br />
   9. Some problem determination and service support are also provided by HMC which include supports like call-home and error log notifications through phone line.</p>
<p>Â<br />
Connection Interface For HMC<br />
HMC connects to the server using serial interface and the protocol used is RS232. More serial ports to connect to multiple servers can be provided by Asynchronous Adapters</p>
<p><a href="http://unix.worldiswelcome.com/introduction-to-hmc" rel="nofollow">Credits</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/hmc-hardware-manage-console-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Restore Root (and /usr/) rfile system Solaris- restoresymtable &#8211;</title>
		<link>http://www.sysadmindayph.com/blog/how-to-restore-root-and-usr-rfile-system-solaris-restoresymtable/</link>
		<comments>http://www.sysadmindayph.com/blog/how-to-restore-root-and-usr-rfile-system-solaris-restoresymtable/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 13:57:53 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=234</guid>
		<description><![CDATA[Sun Solaris &#8211; Restoring root file system (/) &#8211; Solaris 9, Solaris 10 provides steps we need to follow to restore the root file system (/ system) in SPARC and x86 (intel) machines. 1) Log in as root user. It is a security practice to login as normal user and perform an su to take &#8230; <a href="http://www.sysadmindayph.com/blog/how-to-restore-root-and-usr-rfile-system-solaris-restoresymtable/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Sun Solaris &#8211; Restoring root file system (/) &#8211; Solaris 9, Solaris 10 provides steps we need to follow to restore the root file system (/ system) in SPARC and x86 (intel) machines.<br />
1) Log in as root user. It is a security practice to login as normal user and perform an su to take root user (super user) role.<br />
2) Appearance of # prompt is an indication that the user is root<br />
3) Use who -a command to get information about current user<br />
4) When / (root filesystem) is lost because of disk failure. In this case we boot from CD or from the network.<br />
5) Add a new system disk to the system on which we want to restore the root (/) file system<br />
6) Create a file system using the command :<br />
newfs /dev/rdsk/partitionname<br />
7) Check the new file system with teh fsck command :<br />
fsck /dev/rdsk/partitionname<br />
 <img src='http://www.sysadmindayph.com/blog/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Mount the filesystem on a temporary mount point :<br />
mount /dev/dsk/devicename /mnt<br />
9) Change to the mount directory :<br />
cd /mnt<br />
10) Write protect the tape so that we can&#8217;t accidentally overwrite it. This is an optional but important step<br />
11) Restore the root file system (/) by loading the first volume of the appropriate dump level tape into the tape drive. The appropriate dump level is the lowest dump level of all the tapes that need to be restored. Use the following command :<br />
ufsrestore -rf /dev/rmt/n<br />
12) Remove the tape and repeat the step 11 if there is more than one tape for the same level<br />
13) Repeat teh step 11 and 12 with next ddump levels. Always begin with the lowest dump level and use highest ump level tape<br />
14) Verify that file system has been restored :<br />
la<br />
15) Delete the restoresymtable file which is created and used by the ufsrestore utility :<br />
rm restoresymtable<br />
16) Change to the root directory (/) and unmount the newly restored file system<br />
cd /<br />
umount /mnt<br />
17) Check the newly restored file system for consistency :<br />
fsck /dev/rdsk/devicename<br />
18) Create the boot blocks to restore the root file system :<br />
installboot /usr/platform/sun4u/lib/fs/ufs/bootblk /dev/rdsk/devicename &#8212; SPARC system<br />
installboot /usr/platform/`uname -i`/lib/fs/ufs/pboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/devicename &#8212; x86 system<br />
19) Remove teh last backup tape, and insert a new tape onto which we can write. Make a dump level 0 backup of the newly restored system by issuing the following command :<br />
ufsdump 0ucf /dev/rmt/n /dev/rdsk/deviceName<br />
This step is needed because ufsrestore repositions the files and changes the inode allocations &#8211; the old backup will not truly represent the newly restored file system<br />
20) Reboot the system :<br />
#reboot (or)<br />
# init 6<br />
System gets rebooted and newly restored file systems are ready to be used.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/how-to-restore-root-and-usr-rfile-system-solaris-restoresymtable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

