<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2792300708154133167</id><updated>2011-11-27T16:04:45.491-08:00</updated><title type='text'>One Stop LInux issues</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-588103422791113817</id><published>2008-09-17T04:04:00.000-07:00</published><updated>2009-06-05T02:15:41.466-07:00</updated><title type='text'>VMWare ESX</title><content type='html'>&lt;form action="http://linuxgurus.blogspot.com" id="cse-search-box"&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;input name="cx" value="partner-pub-3171263579441461:nar6ap-3a2v" type="hidden"&gt;&lt;br /&gt;&lt;input name="cof" value="FORID:10" type="hidden"&gt;&lt;/div&gt;&lt;/form&gt;&lt;script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;amp;lang=en"&gt;&lt;/script&gt;&lt;br /&gt;The following links are to download the pdfs for vmware.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.vmreference.com/downloads/vmreferenceVI3card1.2.1.pdf"&gt;Vmware ESX cheat sheet&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1 style="font-weight: bold;" class="title"&gt;&lt;span style="font-size:85%;"&gt;ESX Maintenance Mode via Command Line&lt;/span&gt;&lt;/h1&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;To enter Maintenance Mode, at the ESX console type:&lt;/span&gt;&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;vimsh -n -e  /hostsvc/maintenance_mode_enter&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;To exit Maintenance Mode type:&lt;/span&gt;&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;vimsh -n -e /hostsvc/maintenance_mode_exit&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:85%;"&gt;To display whether the ESX Server is currently in maintenance mode or  not type:&lt;/span&gt;&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;vimsh -n -e"hostsvc/hostsummary" | grep inMaintenanceMode&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-588103422791113817?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/588103422791113817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=588103422791113817' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/588103422791113817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/588103422791113817'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2008/09/vmware-esx.html' title='VMWare ESX'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-7018588941595516509</id><published>2007-10-31T22:31:00.000-07:00</published><updated>2008-11-19T04:27:52.749-08:00</updated><title type='text'>MYSQL REPLICATION</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold; font-family: times new roman; color: rgb(255, 0, 0);"&gt;MYSQL REPLICATION CHEAT SHEET&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;USER REPLICANT CREATION:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Log into Master server as root and issue this sql statement&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;GRANT REPLICATION SLAVE, REPLICATION CLIENT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    ON *.*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    TO 'replicant'@'slave_host'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;IDENTIFIED BY 'my_pwd';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Log into Slave server as root and issue this sql statement&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;GRANT REPLICATION SLAVE, REPLICATION CLIENT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    ON *.*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    TO 'replicant'@'master_host'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    IDENTIFIED BY 'my_pwd';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Configuring the Servers&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MASTER:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The only changes need to make in  my.cnf are&lt;br /&gt;&lt;br /&gt;server-id = 1&lt;br /&gt;log-bin = /var/log/mysql/bin.log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SLAVE:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;The only changes need to make in  my.cnf are&lt;br /&gt;&lt;br /&gt;server-id = 2&lt;br /&gt;&lt;br /&gt;master-host = mastersite.com&lt;br /&gt;master-port = 3306&lt;br /&gt;master-user = replicant&lt;br /&gt;master-password = my_pwd&lt;br /&gt;&lt;br /&gt;log-bin = /var/log/mysql/bin.log&lt;br /&gt;log-bin-index = /var/log/mysql/log-bin.index&lt;br /&gt;log-error = /var/log/mysql/error.log&lt;br /&gt;&lt;br /&gt;relay-log = /var/log/mysql/relay.log&lt;br /&gt;relay-log-info-file = /var/log/mysql/relay-log.info&lt;br /&gt;relay-log-index = /var/log/mysql/relay-log.index&lt;br /&gt;&lt;br /&gt;Copying Databases and Starting Replication&lt;br /&gt;&lt;br /&gt;Master Server:&lt;br /&gt;mysqldump --user=root --password=my_pwd \&lt;br /&gt;--extended-insert --all-databases \&lt;br /&gt;--master-data  &gt; /tmp/backup.sql&lt;br /&gt;&lt;br /&gt;*Copy the backup.sql file to slave server and follow the&lt;br /&gt;Below commands.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Slave Server:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mysql --user=root --password=my_pwd &lt; /tmp/backup.sql  START SLAVE; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;Automating Backups &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A shell script to take automated backup of Database dump at slave server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#!/bin/sh  date = `date +%Y%m%d`  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mysqladmin --user=root --password=my_pwd stop-slave  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mysqldump --user=root --password=my_pwd --lock-all-tables        --all-databases &gt; /backups/mysql/backup-${date}.sql&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mysqladmin --user=root --password=my_pwd start-slave&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-7018588941595516509?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/7018588941595516509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=7018588941595516509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/7018588941595516509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/7018588941595516509'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2007/10/mysql-replication-cheat-sheet-user.html' title='MYSQL REPLICATION'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-4191182922445640724</id><published>2007-06-08T01:36:00.000-07:00</published><updated>2007-06-08T02:33:11.372-07:00</updated><title type='text'>LINUX COMMANDS HISTORY</title><content type='html'>&lt;p style="margin-bottom: 0.0001pt;"&gt;   &lt;b style=""&gt;&lt;span style=";font-family:Verdana;color:red;"  &gt;Falling down is not defeat.&lt;span style=""&gt;  &lt;/span&gt;Defeat is when you refuse to get up.&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt;"&gt;   &lt;b style=""&gt;&lt;span style=";font-family:Verdana;color:red;"  &gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt;"&gt;   &lt;b style=""&gt;&lt;span style=";font-family:Verdana;color:red;"  &gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt;"&gt;   &lt;span style="font-family:Verdana;"&gt;All the best for your all future assignments in your life and happy LINUX.&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt; text-align: right;" align="right"&gt;     &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt; text-align: right;" align="right"&gt;   &lt;span style="font-family:Verdana;"&gt;Any queries related to Linux can send to &lt;a href="mailto:shankermcsa@yahoo.com"&gt;mailto:shankermcsa@yahoo.com&lt;/a&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt;"&gt;     &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt;"&gt;   &lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style=";font-family:Arial;" &gt;Trademarks:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt; Red Hat is a registered trademark of Red Hat, Inc. Linux is a registered trademark of Linus Torvalds. All other trademarks are the property of their respective owners.&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt;"&gt;     &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt;"&gt;     &lt;/p&gt; &lt;p style="margin-bottom: 0.0001pt;"&gt;     &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;UNIX History&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;First version created in Bell Labs - 1969&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;AT&amp;T licenses source code for low cost &lt;/span&gt; &lt;/p&gt; &lt;ul type="disc"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Trademarks UNIX name, "UNIX" name closely held&lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Licensees must create new name for their operating systems&lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Many UNIX "flavors" emerge&lt;/span&gt;   &lt;/li&gt; &lt;/ul&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;GNU Project / FSF&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;GNU Project started in 1984&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 106.05pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;r&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Goal: Create a "free" UNIX clone&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 106.05pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;r&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;By 1990, nearly all required userspace applications created&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 106.05pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;r&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;gcc&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Arial;"&gt;, &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;emacs&lt;/span&gt;&lt;/strong&gt;, etc&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Free Software Foundation&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 106.05pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;r&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Non-profit organization that manages the GNU project&lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style=";font-family:Arial;font-size:14;color:maroon;"   &gt;Linux Origins&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Linus Torvalds&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Finnish college student in 1991&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Created Linux kernel&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Linux kernel + GNU applications = complete, free, UNIX-like OS&lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Recommended Hardware Specifications&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;em&gt;&lt;span style="font-style: normal;font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style="font-style: normal;font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/em&gt;&lt;span style="font-family:Arial;"&gt;Pentium Pro or better with 256 MB RAM &lt;em&gt;&lt;span style="font-family:Arial;"&gt;or&lt;/span&gt;&lt;/em&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;64-bit Intel/AMD with 512 MB RAM &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;2-6 GB disk space&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Bootable CD &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Other processor architectures supported&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Itanium 2, IBM Power, IBM Mainframe&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Virtual Consoles&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Multiple non-GUI logins are possible through the use of virtual consoles&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;There are by default 6 available virtual consoles&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Available through &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;Ctrl&lt;/span&gt;&lt;/strong&gt;-&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;Alt&lt;/span&gt;&lt;/strong&gt;-&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;F[1-6]&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;If X is running, it is available as &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;Ctrl&lt;/span&gt;&lt;/strong&gt;-&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;Alt&lt;/span&gt;&lt;/strong&gt;-&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;F7&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;The Xorg GUI Framework&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Modern, free implementation of X11&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Highly flexible framework for displaying graphical applications and environments &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Completely network-transparent client/server architecture&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;System can be configured to present a graphical login screen on &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;Ctrl&lt;/span&gt;&lt;/strong&gt;-&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;Alt&lt;/span&gt;&lt;/strong&gt;-&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;F7&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;The Xorg Graphical Environments&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Collections of applications that provide a graphical working environment with a consistent look-and-feel&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;GNOME - The default desktop environment&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;KDE - Environment based on the Qt toolkit&lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Starting Xorg&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Nothing needed if system boots to a graphical login. Just authenticate. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;If system boots to a virtual console login, Xorg must be started manually &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Run &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;startx&lt;/span&gt;&lt;/strong&gt; to manually start Xorg &lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Getting Help&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 14.15pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:StarSymbol;font-size:7;"  &gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Don't try to memorize everything!&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 14.15pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:StarSymbol;font-size:7;"  &gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Many levels of help&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;whatis&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;command&lt;strong&gt;&lt;span style="font-family:Arial;"&gt; --help&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;man&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Arial;"&gt; and &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;info&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/usr/share/doc/ &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Red Hat documentation &lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Extended Documentation&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;The /usr/share/doc directory &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Subdirectories for most installed packages &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Location of docs that don't fit elsewhere &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 106.05pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;r&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Example configuration files &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 106.05pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;r&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Html/pdf/ps documentation &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 106.05pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;r&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;License details &lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Some Important Directories&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;The home directories&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/root, /home/username &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;The bin directories&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  lang="DE" &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  lang="DE" &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span  lang="DE" style="font-family:Arial;"&gt;/bin, /usr/bin, /usr/local/bin &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  lang="DE" &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  lang="DE" &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span  lang="DE" style="font-family:Arial;"&gt;/sbin, /usr/sbin, /usr/local/sbin &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Foreign filesystem mountpoints&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/media and /mnt &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/etc holds system config files &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/tmp holds temporary files &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/boot holds the kernel and bootloader &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/var and /srv hold server data &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/proc and /sys hold system information &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;The lib directories hold shared libraries&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/lib, /usr/lib, /usr/local/lib &lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Absolute and Relative Pathnames&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Absolute pathnames begin with a forward slash&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Complete "road map" to file location &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Can be used anytime you wish to specify a file name &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Relative pathnames do not begin with a slash &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Specifies location relative to your current working directory &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Can be used as a shorter way to specify a file name &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;u&gt;&lt;span style="font-family:Arial;"&gt;COMMANDS&lt;/span&gt;&lt;/u&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;If OS is not recognizing the SATA HDD&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;boot: &lt;i&gt;linux all-generic-ide noapic noiapic&lt;/i&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;After installing the OS go to rescue mode and edit the grub.conf &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#vi /etc/grub.conf&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Root (hd0,0)&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Kernel (vmlinuz-2.6.9-22.EL ro root=LABEL=/ &lt;i&gt;linux all-generic-ide noapic noiapic&lt;/i&gt; rhgb quiet&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Initrd /initrd-2.6.9.22.EL.img&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Basic commands:&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#echo $SHELL                                 shows the default SHELL&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#cat /etc/shells                                   shows other existing Shells&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#vi /etc/login.defs                              login information file&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chvt                                                   to switch to other terminal&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chage -l &amp;lt;username&amp;gt;                    to see the A/c policies.&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chage &amp;lt;username&amp;gt;                        to modify A/c policies&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chage -E -1 &amp;lt;username&amp;gt;              to make account never expires.&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#date --set "-----------"&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Present Working Directory&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#pwd&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Listing Commands:&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#ls&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#ls -a&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#ll&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#ls -ld &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#ll &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#ls -al&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Creating the Directory and Files&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span  lang="DE" style="font-family:Arial;"&gt;#mkdir &amp;lt;dir&amp;gt;&lt;/span&gt;&lt;span lang="DE"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span  lang="DE" style="font-family:Arial;"&gt;#mkdir &amp;lt;dir1&amp;gt; &amp;lt;dir1&amp;gt; &amp;lt;dir1&amp;gt;&lt;/span&gt;&lt;span lang="DE"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#mkdir -p d1/d2/d3&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Changing Directory&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#cd &amp;lt;dir&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Creating a File&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#cat &amp;gt; &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Ctrl+d&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#touch &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Copy file&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#cp &amp;lt;source path&amp;gt; &amp;lt;destination path&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Move and Renaming file&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#mv &amp;lt;source path&amp;gt; &amp;lt;destination path&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Deleting file&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#rm -rf &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Append an existing file&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#cat &amp;gt;&amp;gt; &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Determining File Content&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Files can contain many types of data &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Check file type with file before opening to determine appropriate command or application to use &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;l&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt;   &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;file [options] &amp;lt;filename&amp;gt;...&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;User &amp; Group Admin&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Authentication information is stored in plain text files:&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.25in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/etc/passwd&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.25in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/etc/shadow&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.25in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/etc/group&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.25in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;/etc/gshadow&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Changing Your Identity&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;            To change your password, run &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;passwd&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;span style=";font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Insecure passwords are rejected&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt;"&gt;   &lt;span style="font-family:Arial;"&gt;To start a new shell as a different user:&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.25in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;su&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.25in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;su -&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.25in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;su username&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.25in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;su - username&lt;/span&gt; &lt;/p&gt; &lt;p class="MsoNormal"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;    &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;User Information Commands&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;            Find out who you are&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;strong&gt;&lt;span style="font-weight: normal;font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-weight: normal;font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;whoami&lt;/span&gt;&lt;/strong&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt;"&gt;   &lt;span style="font-family:Arial;"&gt;Find out what groups you belong to&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;strong&gt;&lt;span style="font-weight: normal;font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-weight: normal;font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;groups&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Arial;"&gt;, &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;id&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt;"&gt;   &lt;span style="font-family:Arial;"&gt;Find out who is logged in&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;strong&gt;&lt;span style="font-weight: normal;font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-weight: normal;font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;users&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Arial;"&gt;, &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;who&lt;/span&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;span style="font-family:Arial;"&gt;w&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 35.35pt;"&gt;   &lt;span style="font-family:Arial;"&gt;Login/reboot history&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 70.7pt; text-indent: -14.15pt;"&gt;   &lt;strong&gt;&lt;span style="font-weight: normal;font-family:Wingdings;font-size:9;"  &gt;m&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-weight: normal;font-family:Wingdings;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;last&lt;/span&gt;&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Syntax:&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#useradd &amp;lt;username&amp;gt;                                 to create user&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#groupadd &amp;lt;groupname&amp;gt;                            to create group&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#useradd -u &amp;lt;uid&amp;gt; &amp;lt;username&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#groupadd -g &amp;lt;gid&amp;gt; &amp;lt;groupname&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#userdel &amp;lt;username&amp;gt;                                  to delete user&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#userdel -r &amp;lt;username&amp;gt;                              to delete user including home dir.&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#passwd &amp;lt;username&amp;gt;                                  to assign passwd&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#passwd -S &amp;lt;username&amp;gt;                            shows passwd set to user or not&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#passwd -d &amp;lt;username&amp;gt;                            to remove passwd&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span  lang="DE" style="font-family:Arial;"&gt;#id &amp;lt;username&amp;gt;&lt;/span&gt;&lt;span lang="DE"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span  lang="DE" style="font-family:Arial;"&gt;#finger &amp;lt;username&amp;gt;&lt;/span&gt;&lt;span lang="DE"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;i&gt;&lt;span style="color: rgb(153, 153, 153);font-family:Arial;"  lang="DE"&gt;Syntax:           useradd &amp;lt;option&amp;gt; &amp;lt;username&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;span lang="DE"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span  lang="DE" style="font-family:Arial;"&gt;#usermod -G &amp;lt;groupname&amp;gt; &amp;lt;username&amp;gt;&lt;/span&gt;&lt;span lang="DE"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span  lang="DE" style="font-family:Arial;"&gt;#usermod -u &amp;lt;uid&amp;gt; &amp;lt;username&amp;gt;&lt;/span&gt;&lt;span lang="DE"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#usermod -d &amp;lt;dir&amp;gt; &amp;lt;username&amp;gt;                                         to change home directory&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#usermod -s /bin/ksh &amp;lt;username&amp;gt;                         to change default Shell&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#usermod -c "admin" &amp;lt;username&amp;gt;                         to put comments&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#usermod -u &amp;lt;uid&amp;gt; -o &amp;lt;username&amp;gt;                                    to change UID&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#usermod -g &amp;lt;gid&amp;gt; &amp;lt;groupname&amp;gt;                                      to change GID&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#usermod -l &amp;lt;newusername&amp;gt; &amp;lt;oldusername&amp;gt;                  to rename user&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#groupmod -n &amp;lt;newgroup name&amp;gt; &amp;lt;oldgroup name&amp;gt;       to rename group&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#gpasswd -a &amp;lt;username&amp;gt; &amp;lt;groupname&amp;gt;              to add members of group&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#gpasswd -M &amp;lt;username&amp;gt;,&amp;lt;username&amp;gt; &amp;lt;groupname&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chown &amp;lt;new owner&amp;gt;.&amp;lt;new group&amp;gt; &amp;lt;file/dir name&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chgrp &amp;lt;new group name&amp;gt; &amp;lt;file name&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#vi /etc/passwd                                             (backup file: /etc/passwd-)&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#vi /etc/group                                     (backup file: /etc/group-)&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#vi /etc/shadow                                             (backup file: /etc/shadow-)&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#tail &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#head &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Links&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#ln &amp;lt;source file path&amp;gt; &amp;lt;destination file path&amp;gt;                                Hard Link&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#ln -s &amp;lt;source file path&amp;gt; &amp;lt;destination file path&amp;gt;                            Soft Link&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p class="MsoNormal"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;    &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Permission of a File&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Symbolic Notation:    Read=r, Write=w and execute=x&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Numeric Notation:     Read =4, Write=2 and Execute=1&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;r           w         x                      (Where 1 = on and 0 = off)&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;1          0          0          =4&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;0          1          0          =2&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;0          0          1          =1&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;UMASK&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;"&gt;: Universal Mask is a value which is subtracted from the full permissions to generate the default permissions.&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;img src="" border="0" height="217" width="2" /&gt;&lt;b&gt;&lt;span style="font-family:Arial;"&gt;Root User&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;"&gt;                                                     &lt;b&gt;Normal&lt;/b&gt;&lt;b&gt; User&lt;/b&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;The full permission of a &lt;b&gt;File&lt;/b&gt; is 666 The full permission of a &lt;b&gt;File&lt;/b&gt; is 666&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;-rw-      rw-       rw-       666                             -rw-      rw-       rw-       666&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;-rw-      r- -       r- -       644                             -rw-      r- -       r- -       664&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;--------------------------------                                -------------------------------&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;            -w-       -w-       022     (umask)                      -w-      -w-       002     (umask)&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style=";font-family:Arial;font-size:11;"  &gt;The full permission of a &lt;b&gt;Directory&lt;/b&gt; is 777      The full permission of a &lt;b&gt;Directory&lt;/b&gt; is 777&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;-rwx     rwx      rwx      777                             -rwx     rwx      rwx      777&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;-rwx     r- x       r- x       755                             -rwx     r- x       r- x       775&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;--------------------------------                                --------------------------------&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;            -w-       -w-       022     (umask)                      -w-       -w-       002     (umask)&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Syntax:&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#umask                                                          to see the umask value&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#vi /etc/bashrc                                               to change umask value permanently&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chmod &amp;lt;numeric permission&amp;gt; &amp;lt;file/dir&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;e.g. #chmod 777 &amp;lt;file/dir&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Special Permissions&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;  &lt;b&gt;SUID&lt;/b&gt;              &lt;b&gt;Value is 4&lt;br /&gt;  SGID&lt;/b&gt;              &lt;b&gt;Value is 2&lt;/b&gt;&lt;/span&gt; &lt;/p&gt; &lt;ul type="disc"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Normally, files created in a directory belong to the default group of the user&lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;When a file is created in a directory with the setgid bit set, it belongs to the same group as the directory&lt;/span&gt;   &lt;/li&gt; &lt;/ul&gt; &lt;p style="margin-left: 0.25in; text-indent: -0.25in;"&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Sticky Bit&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;"&gt;      &lt;b&gt;Value is 1&lt;/b&gt;&lt;br /&gt;    Normally, users with write permissions to a directory can delete any file in that&lt;/span&gt; &lt;/p&gt; &lt;p style="text-indent: 0.5in;"&gt;   &lt;span style="font-family:Arial;"&gt;directory regardless of that file's permissions or ownership&lt;/span&gt; &lt;/p&gt; &lt;p style="text-indent: 0.25in;"&gt;   &lt;span style="font-family:Arial;"&gt;  With the sticky bit set on a directory, only the owner of a file can delete the file&lt;/span&gt; &lt;/p&gt; &lt;p style="text-indent: 0.25in;"&gt;   &lt;span style="font-family:Arial;"&gt;  Example: /tmp&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 0.5in; text-indent: 0.5in;"&gt;   &lt;span style="font-family:Arial;"&gt;drwxrwxrwt  12 root  root  4096 Nov  2 15:44 tmp&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;ACL&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;  #mount -o remount,acl &amp;lt;mount point&amp;gt;                    enable the partition with ACL properties&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#setfacl -m u:&amp;lt;uname&amp;gt;:&amp;lt;permission&amp;gt; &amp;lt;filename&amp;gt;            applying acl to the user level&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#setfacl -x u:&amp;lt;uname&amp;gt;:&amp;lt;permission&amp;gt; &amp;lt;filename&amp;gt; to remove the acl&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#setfacl -m g:&amp;lt;gname&amp;gt;:&amp;lt;permission&amp;gt; &amp;lt;filename&amp;gt;           applying acl to the group level&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#getfacl &amp;lt;filename&amp;gt;                                                              to check the acl permission&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Note: when applying ACL present working directorie must be acl directorie and to make it permanent write inside /etc/fstab&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Attribute&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chattr +i &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chattr -i &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chattr +a &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#chattr -a &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#lsattr &amp;lt;filename&amp;gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;&lt;br /&gt;  Special Users&lt;br /&gt;  &lt;b&gt;SUDO&lt;/b&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#useradd admin&lt;br /&gt;  #passwd admin&lt;br /&gt;  #vi /etc/sudoers     or     #visudo                              put the admin user in sudo file.&lt;br /&gt;  #sudo su -                                                                  to get the root privileges as a sudo user.&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;#grep sudo /var/log/secure&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 12pt;"&gt;   &lt;u&gt;&lt;span style="font-family:Arial;"&gt;Network User&lt;/span&gt;&lt;/u&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;  &lt;u&gt;Usr Profiles&lt;br /&gt;  &lt;/u&gt;#vi /etc/default/useradd&lt;br /&gt;          # useradd defaults file&lt;br /&gt;          GROUP=100&lt;br /&gt;          HOME=/home&lt;br /&gt;          INACTIVE=-1&lt;br /&gt;          EXPIRE=2008-01-01&lt;br /&gt;          SHELL=/bin/bash&lt;br /&gt;          SKEL=/etc/skel   (user profiles)&lt;/span&gt; &lt;/p&gt; &lt;p style="text-align: center;" align="center"&gt;   &lt;b&gt;&lt;span style=";font-family:Arial;font-size:13;color:red;"   &gt;System Initialization&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Boot Sequence Overview&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;ul type="disc"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;BIOS initialization&lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Boot loader&lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Kernel initialization&lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;init starts and enters the desired runlevel by executing:&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;/etc/rc.d/rc.sysinit&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;/etc/rc.d/rc and /etc/rc.d/rc?.d/&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;/etc/rc.d/rc.local&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;X Display Manager (if appropriate)&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;BIOS Initialization&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 1.5in; text-indent: -0.75in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Peripherals detected&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.5in; text-indent: -0.75in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Boot device selected&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.5in; text-indent: -0.75in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;First sector of boot device read and executed&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Boot Loader Components&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;ul type="disc"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Boot loader&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;First stage - small, resides in the MBR or a boot sector&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Second stage - loaded from a boot partition&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Minimum specifications for Linux:&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Label, kernel location, OS root filesystem and location of the initial RAM disk (initrd)&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Minimum specifications for other operating systems:&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Boot device, label&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;GRUB and &lt;/span&gt;&lt;/b&gt;&lt;code&gt;&lt;b&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;grub.conf&lt;/span&gt;&lt;/b&gt;&lt;/code&gt; &lt;/p&gt; &lt;ul type="disc"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;GRUB "the GRand Unified Bootloader"&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Command-line interface available at boot prompt&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Boot from ext2/ext3, ReiserFS, JFS, FAT, minix, or FFS file systems&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Supports MD5 password protection&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;/boot/grub/grub.conf&lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Changes to grub.conf take effect immediately &lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;If MBR on /dev/hda is corrupted, reinstall the first stage bootloader with:&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;/sbin/grub-install /dev/hda&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Starting the Boot Process: GRUB&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;ul type="disc"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Image selection &lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Select with space followed by up/down arrows on the boot splash screen&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Argument passing&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Change an existing stanza in menu editing mode&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Issue boot commands interactively on the GRUB command line&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;The Chicken/Egg Module Problem and the Initial RAM Disk&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;To mount the root filesystem, the kernel typically needs to load modules &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Examples: ext3, jbd, raid1, scsi_mod &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;An initial RAM disk provides modules &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Compressed cpio archive containing modules, other material &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Created at install time &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Specific to a particular hardware and software platform &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Made available to the kernel by GRUB &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;span style="font-family:Arial;"&gt;Use mkinitrd to rebuild &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Example: &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1in; text-indent: -0.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;mkinitrd /boot/initrd-$(uname -r).img $(uname -r)&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Kernel Initialization&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;ul type="square"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Kernel boot time functions&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Device detection&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Device driver initialization&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Mounts root filesystem read only&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;Loads initial process (init)&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;init Initialization&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;ul type="square"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;init reads its config: /etc/inittab&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;initial run level&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;system initialization scripts&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;run level specific script directories&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;trap certain key sequences&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;define UPS power fail / restore scripts&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;spawn gettys on virtual consoles&lt;/span&gt;     &lt;/li&gt;     &lt;li class="MsoNormal" style=""&gt;       &lt;span style="font-family:Arial;"&gt;initialize X in run level 5&lt;/span&gt;     &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Run Levels&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 1.5in; text-indent: -1.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;init defines run levels 0-6, S, emergency&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.5in; text-indent: -1.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;The run level is selected by either&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 2in; text-indent: -1in;"&gt;   &lt;span style="font-family:Symbol;"&gt;·&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Symbol;font-size:7;"  &gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;the default in /etc/inittab at boot&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 2in; text-indent: -1in;"&gt;   &lt;span style="font-family:Symbol;"&gt;·&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Symbol;font-size:7;"  &gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;passing an argument from the boot loader&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 2in; text-indent: -1in;"&gt;   &lt;span style="font-family:Symbol;"&gt;·&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Symbol;font-size:7;"  &gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;using the command init new_runlevel&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 1.5in; text-indent: -1.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Show current and previous run levels&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;ul type="square"&gt;   &lt;ul type="circle"&gt;     &lt;ul type="square"&gt;       &lt;ul type="disc"&gt;         &lt;li class="MsoNormal" style=""&gt;           &lt;span style="font-family:Arial;"&gt;/sbin/runlevel&lt;/span&gt;         &lt;/li&gt;       &lt;/ul&gt;     &lt;/ul&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;p class="MsoNormal"&gt;   &lt;b&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;    &lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p&gt;   &lt;code&gt;&lt;b&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;/etc/rc.d/rc.sysinit&lt;/span&gt;&lt;/b&gt;&lt;/code&gt; &lt;/p&gt; &lt;p style="margin-left: 2.5in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Important tasks include:&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Activate udev and selinux&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Sets kernel parameters in /etc/sysctl.conf&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Sets the system clock&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Loads keymaps&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Enables swap partitions&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Sets hostname&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Root filesystem check and remount&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Activate RAID and LVM devices&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Enable disk quotas&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Check and mount other filesystems&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 3in; text-indent: -2.25in;"&gt;   &lt;span style="font-family:Wingdings;"&gt;§&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Wingdings;font-size:7;"  &gt; &lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Cleans up stale locks and PID files&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;code&gt;&lt;b&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;/etc/rc.d/rc&lt;/span&gt;&lt;/b&gt;&lt;/code&gt; &lt;/p&gt; &lt;ul type="square"&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;Initializes the default run level per the /etc/inittab file's initdefault line such that:&lt;/span&gt;   &lt;/li&gt;   &lt;li class="MsoNormal" style=""&gt;     &lt;span style="font-family:Arial;"&gt;id:3:initdefault:&lt;/span&gt;   &lt;/li&gt;   &lt;ul type="circle"&gt;     &lt;ul type="square"&gt;       &lt;li class="MsoNormal" style=""&gt;         &lt;span style="font-family:Arial;"&gt;l0:0:wait:/etc/rc.d/rc 0&lt;/span&gt;       &lt;/li&gt;       &lt;li class="MsoNormal" style=""&gt;         &lt;span style="font-family:Arial;"&gt;l1:1:wait:/etc/rc.d/rc 1&lt;/span&gt;       &lt;/li&gt;       &lt;li class="MsoNormal" style=""&gt;         &lt;span style="font-family:Arial;"&gt;l2:2:wait:/etc/rc.d/rc 2&lt;/span&gt;       &lt;/li&gt;       &lt;li class="MsoNormal" style=""&gt;         &lt;span style="font-family:Arial;"&gt;l3:3:wait:/etc/rc.d/rc 3 (default)&lt;/span&gt;       &lt;/li&gt;       &lt;li class="MsoNormal" style=""&gt;         &lt;span style="font-family:Arial;"&gt;l4:4:wait:/etc/rc.d/rc 4&lt;/span&gt;       &lt;/li&gt;       &lt;li class="MsoNormal" style=""&gt;         &lt;span style="font-family:Arial;"&gt;l5:5:wait:/etc/rc.d/rc 5&lt;/span&gt;       &lt;/li&gt;       &lt;li class="MsoNormal" style=""&gt;         &lt;span style="font-family:Arial;"&gt;l6:6:wait:/etc/rc.d/rc 6&lt;/span&gt;       &lt;/li&gt;     &lt;/ul&gt;   &lt;/ul&gt; &lt;/ul&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;Daemon Processes&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 1in; text-indent: -31.5pt;"&gt;   &lt;span style="font-family:Symbol;"&gt;·&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;A daemon process is a program that is run in the background, providing some system service&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 2in; text-indent: -103.5pt;"&gt;   &lt;span style="font-family:Symbol;"&gt;·&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Two types of daemons:&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 2.5in; text-indent: -1.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;                   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;standalone&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 2.5in; text-indent: -1.25in;"&gt;   o&lt;span style="font-size:7;"&gt;&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;                   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Transient - controlled by the "super-daemon" xinetd&lt;/span&gt; &lt;/p&gt; &lt;p&gt;   &lt;b&gt;&lt;span style="font-family:Arial;"&gt;System V run levels&lt;/span&gt;&lt;/b&gt; &lt;/p&gt; &lt;p style="margin-left: 0.5in; text-indent: -0.25in;"&gt;   &lt;span style=";font-family:Symbol;font-size:10;"  &gt;·&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style=";font-family:Symbol;font-size:7;"  &gt; &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Run level defines which services to start &lt;/p&gt; &lt;p style="margin-left: 1in; text-indent: -0.25in;"&gt;   &lt;span style="font-size:10;"&gt;o&lt;span style="font-size-adjust: none; font-stretch: normal;"&gt;&lt;/span&gt;&lt;span style="font-size:7;"&gt;        &lt;/span&gt;&lt;/span&gt;Each run level has a corresponding directory: &lt;/p&gt; &lt;p class="MsoNormal"&gt;     &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-4191182922445640724?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/4191182922445640724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=4191182922445640724' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/4191182922445640724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/4191182922445640724'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2007/06/falling-down-is-not-defeat.html' title='LINUX COMMANDS HISTORY'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-5312535215537419132</id><published>2007-05-28T03:19:00.000-07:00</published><updated>2007-05-28T03:22:01.263-07:00</updated><title type='text'>How-To: Image Windows XP with Ghost and Sysprep</title><content type='html'>&lt;h3&gt;How-To: Image Windows XP with Ghost and Sysprep&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="chronodata"&gt;&lt;span style="font-size:10;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="tagdata"&gt; &lt;/span&gt;&lt;span class="tagdata"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;I tend to install and reinstall operating systems quite frequently on my home system. With my hectic schedule, I don’t have time to sit down to reinstall and configure every last program. Although it is arguably easier to use a backup of my system for day-to-day mishaps, I tend to change out peripherals a lot and restoring a system that does not have certain drivers “cleaned out” tends to wreak havoc on a new configuration. To make this process go a bit faster, two years ago I created a “Ghost Image” of my hard drive after doing a basic install. Now, instead of it taking a few hours of toiling away to reinstall a system, I can do this all in about 15 minutes with only half a dozen quick mouse clicks. The trick is to use Norton Ghost or any other imaging software and Microsoft Sysprep.&lt;/p&gt;  &lt;p&gt;Part 1: Install XP and Sysprep&lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Install Windows XP on a clean      hard drive.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Do not install &lt;strong&gt;any&lt;/strong&gt;      drivers or other utilities that are hardware specific beyond what Windows      itself installs. &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal" style=""&gt;This is necessary to       make sure the image is as portable as possible across different types of       systems. However, different storage controllers and different HALs       (Hardware Abstraction Layers) make this harder to predict. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Most modern computers       these days work fine with a standard ACPI HAL, but if this image is to be       truly portable across multiple machines then it must be determined which       specific HAL will be needed. Refer to &lt;a href="http://support.microsoft.com/kb/309283/"&gt;Microsoft KB309283&lt;/a&gt; if       you are completely lost.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;It is also important       to determine if the target system uses a storage controller that normally       requires a driver disc during a regular XP install. If this is the case,       then the necessary paths to the drivers must be included in the       Sysprep.inf file. These must be added to the &lt;code&gt;&lt;span style="font-size:10;"&gt;[SysprepMassStorage]&lt;/span&gt;&lt;/code&gt; section in       the form &lt;code&gt;&lt;span style="font-size:10;"&gt;PCI\VEN_###&amp;DEV_#### =       PATH_TO_DRIVER_ON_IMAGED_DRIVE&lt;/span&gt;&lt;/code&gt; where VEN_#### should be       replaced by the Vendor ID number (i.e. VEN_1234) and the DEV_#### should       be replaced by the Device ID number (DEV_1234). This information can       usually be found in the specifc driver INF files. Here is an example for       adding the VMWare SCSI controller driver to &lt;code&gt;&lt;span style="font-size:10;"&gt;sysprep.inf&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;  &lt;p style="margin-left: 1in;"&gt;[SysprepMassStorage]&lt;br /&gt;….snipped out windows mass storage driver list….&lt;/p&gt;  &lt;p style="margin-left: 1in;"&gt;PCI\VEN_104B&amp;DEV_1040=C:\Drivers\Mass\VMWare\vmscsi.inf &lt;/p&gt;  &lt;ol start="3" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Create a &lt;code&gt;&lt;span style="font-size:10;"&gt;testuser&lt;/span&gt;&lt;/code&gt; account with      administrative privileges. Use this account to install and configure all      the software and policies on the system.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Remember to run Windows      Update, Office Update and make sure all the rest of the software is up to      date. You’ll probably end up rebooting a few times in between but keep      going until everything is updated.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Copy all the start menu items      from the &lt;code&gt;&lt;span style="font-size:10;"&gt;testuser&lt;/span&gt;&lt;/code&gt;      account to the &lt;code&gt;&lt;span style="font-size:10;"&gt;Administrator&lt;/span&gt;&lt;/code&gt;      start menu. (&lt;strong&gt;Note:&lt;/strong&gt; This is necessary as some installers      do not create start menu items in &lt;code&gt;&lt;span style="font-size:10;"&gt;All      Users&lt;/span&gt;&lt;/code&gt; but within the &lt;code&gt;&lt;span style="font-size:10;"&gt;testuser&lt;/span&gt;&lt;/code&gt;      profile only. This leaves some items missing on the &lt;code&gt;&lt;span style="font-size:10;"&gt;Administrator&lt;/span&gt;&lt;/code&gt; start menu.)&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Log out and log back in as      the computer Administrator and then copy the testuser profile folder to      the default user profile folder. This is done via Control Panel -&gt;      System -&gt; Advanced -&gt; User Profile “Settings” then select testuser      and click &lt;em&gt;Copy to&lt;/em&gt;. Copy all of this to &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\Documents and Settings\Default User&lt;/span&gt;&lt;/code&gt;.      If you don’t understand then refer to &lt;a href="http://support.microsoft.com/kb/291586/"&gt;Microsoft KB291586&lt;/a&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Delete the &lt;code&gt;&lt;span style="font-size:10;"&gt;testuser&lt;/span&gt;&lt;/code&gt; account. Make sure that &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\Documents and Settings\testuser&lt;/span&gt;&lt;/code&gt;      has been deleted too.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Download &lt;a href="http://support.microsoft.com/?kbid=838080"&gt;Sysprep for XP SP2&lt;/a&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Extract the files to &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\sysprep&lt;/span&gt;&lt;/code&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Create the basic &lt;code&gt;&lt;span style="font-size:10;"&gt;sysprep.inf&lt;/span&gt;&lt;/code&gt; file by running &lt;code&gt;&lt;span style="font-size:10;"&gt;setupmgr.exe&lt;/span&gt;&lt;/code&gt;. This a tool Microsoft      provides for creating an answer file so the restore doesn’t involving      asking the normal setup questions. The basic steps are below: &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal" style=""&gt;Run setupmgr.exe&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Click &lt;em&gt;Create New&lt;/em&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Click &lt;em&gt;Sysprep       Setup&lt;/em&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Then choose whichever       product you are using. In our example it would be XP Professional.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The next question       asks: &lt;em&gt;Do you want to fully automate the install?&lt;/em&gt; All this       question determines is who is going to accept the EULA, you or the person       restoring the image. Also, picking yes means that you must enter your       Product Key. I pick no because this is for my own use and I don’t want       someone to swipe my Product Key accidentally, but a large company or OEM       may choose differently.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The next few sets of       options are for you to enter in any information like your Name,       Organization, Time Zone, Product Key (I leave this blank), Network       Settings, etc.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;I leave the Computer       Name option set to &lt;i&gt;Automatically generate computer name&lt;/i&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Once completed, a       dialog box will ask where you want to save the file.       c:\sysprep\sysprep.inf is the path we’re using in this example.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;On the completion       screen, click &lt;em&gt;Cancel&lt;/em&gt; to close &lt;code&gt;&lt;span style="font-size:10;"&gt;setupmgr.exe&lt;/span&gt;&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;  &lt;p style="margin-left: 0.5in;"&gt;The process of creating a basic &lt;code&gt;&lt;span style="font-size:10;"&gt;sysprep.inf&lt;/span&gt;&lt;/code&gt; file is now completed. &lt;/p&gt;  &lt;ol start="11" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Before proceeding to the next      step, create a custom hardware drivers directory for any drivers needed      for the target system. Usually I use &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\drivers&lt;/span&gt;&lt;/code&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Open &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\sysprep\sysprep.inf&lt;/span&gt;&lt;/code&gt; in Notepad      and add the following lines to the relavent sections (if the heading      doesn’t exist, create it):&lt;/li&gt;&lt;/ol&gt;  &lt;p style="margin-left: 0.5in;"&gt;[Unattended]&lt;br /&gt;DriverSigningPolicy=Ignore&lt;br /&gt;UpdateInstalledDrivers=Yes&lt;br /&gt;OemPNPDriversPath=drivers\hardware_cat\driver_dir\driver_inf;(repeat);&lt;/p&gt;  &lt;p style="margin-left: 0.5in;"&gt;[SysPrep]&lt;br /&gt;BuildMassStorageSection=Yes&lt;/p&gt;  &lt;p style="margin-left: 0.5in;"&gt;[SysprepMassStorage]&lt;/p&gt;  &lt;ol start="13" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;strong&gt;Do not close the &lt;/strong&gt;&lt;code&gt;&lt;b&gt;&lt;span style="font-size:10;"&gt;sysprep.inf&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;strong&gt; yet!&lt;/strong&gt;      OemPNPDriversPath points to the &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\drivers&lt;/span&gt;&lt;/code&gt;      directory created earlier. For organizational purposes, I split up my      custom driver files based on category (i.e. hardware_cat in the example      above). For example, all video drivers go under &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\drivers\video&lt;/span&gt;&lt;/code&gt; and network      drivers under &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\drivers\network&lt;/span&gt;&lt;/code&gt;.      In each of those directories, the specific driver bundles are placed with      their driver inf files (i.e. driver_dir). For example, the latest nVidia      drivers would go into &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\drivers\video\nVidia\&lt;/span&gt;&lt;/code&gt;.      The last part is refering to &lt;code&gt;&lt;span style="font-size:10;"&gt;driver_inf&lt;/span&gt;&lt;/code&gt;      is just that, the name of the inf file. For example, for the latest nVidia      driver, the path would be &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\drivers\video\nVidia\nv4_disp.inf&lt;/span&gt;&lt;/code&gt;.      In &lt;code&gt;&lt;span style="font-size:10;"&gt;sysprep.inf&lt;/span&gt;&lt;/code&gt;, the      path would be written as &lt;code&gt;&lt;span style="font-size:10;"&gt;OemPNPDriversPath=drivers\video\nVidia\nv4_disp.inf;&lt;/span&gt;&lt;/code&gt;.      Do not forget the semi-colon as a separator. For the next driver, repeat      the procedure by placing the path after the semi-colon without leaving a      space. Once all the drivers are added, save the file.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Run &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\sysprep\sysprep -bmsd&lt;/span&gt;&lt;/code&gt;. This will      build the Windows XP standard mass storage drivers section.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;While editing sysprep.inf      there is an option labeled &lt;code&gt;&lt;span style="font-size:10;"&gt;InstallFilesPath&lt;/span&gt;&lt;/code&gt;      which usually points to &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\sysprep\i386&lt;/span&gt;&lt;/code&gt;.      I usually copy the contents of my XP CD’s i386 directory into &lt;code&gt;&lt;span style="font-size:10;"&gt;c:\sysprep\i386&lt;/span&gt;&lt;/code&gt;. &lt;em&gt;This isn’t      necessary&lt;/em&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Add any custom Storage      dirvers to the &lt;code&gt;&lt;span style="font-size:10;"&gt;[SysprepMassStorage]&lt;/span&gt;&lt;/code&gt;      section as detailed above.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Now run &lt;code&gt;&lt;span style="font-size:10;"&gt;C:\sysprep\sysprep.exe&lt;/span&gt;&lt;/code&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Pick options &lt;em&gt;Mini Setup&lt;/em&gt;      and &lt;em&gt;Detect non-plug and play hardware&lt;/em&gt;. If you don’t have a volume      license and plan on just using this image for restoring the computer the      image was made on, then pick the option &lt;em&gt;Don’t regenerate security      identifiers&lt;/em&gt;. If you have a volume license key and will be using this      image for multiple machines then leave that option unchecked. Ensure that      Shutdown is selected from the &lt;em&gt;Shutdown mode&lt;/em&gt; drop-down menu and      click &lt;em&gt;Reseal&lt;/em&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;If you left the SID option to      regenerate, then a pop-up will ask you to confirm. hit OK to continue.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;This will take a while and      your system will shut down once the process is complete.&lt;/li&gt;&lt;/ol&gt;  &lt;p&gt;Sysprep is now complete. Part 2 contains instructions on imaging the partition.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Part 2: Norton Ghost Instructions&lt;/p&gt;  &lt;p&gt;I’m using an older version of Ghost because the newer versions are trumped by &lt;a href="http://www.acronis.com/homecomputing/products/trueimage/"&gt;Acronis True Image&lt;/a&gt; in terms of having less bugs and more features. However, DOS based Ghost has worked fine for me for most systems. If Ghost fails on your system for some reason, try imaging with Acronis True Image trial version. The basic idea is boot off a floopy or CD on the source system, start the backup program, backup the entire drive as an image file onto some other device (portable hard drive or another drive in the system) and then restoring (as necessary) from that image file onto a target system.&lt;/p&gt;  &lt;p&gt;The basic Ghost process is as follows:&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; &lt;em&gt;You must do this on another machine that has Ghost installed. If you boot the Sysprep machine accidentally then you must go through the entire Sysprep checklist again. Trust me, I learned the hard way more than once.&lt;/em&gt;&lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;A Ghost bootdisk must be      created for the target system. In Ghost 2003, start Ghost from the Start      Menu -&gt; Programs -&gt; Norton Ghost.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Click &lt;i&gt;Ghost Utilities&lt;/i&gt;      then click &lt;i&gt;Norton Ghost Boot Wizard&lt;/i&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A wizard comes up. Since I      plan on saving my image to a portable USB or Firewire hard drive I pick &lt;i&gt;Standard      Ghost Boot Disk&lt;/i&gt;. You may have to choose another option if you plan on      saving the image to a network Ghost image server.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;On the next screen, under &lt;i&gt;External      Storage Options&lt;/i&gt; click the check boxes for &lt;em&gt;USB 2.0 Support&lt;/em&gt; or &lt;em&gt;Firewire      Support&lt;/em&gt; depending on your target backup device. If you are using an      internal secondary hard drive, then you don’t need to pick anything.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;On the next screen, click &lt;i&gt;Use      PC-DOS&lt;/i&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The next screen asks for the      path of &lt;code&gt;&lt;span style="font-size:10;"&gt;ghost.exe&lt;/span&gt;&lt;/code&gt;. The      default path is usually fine.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Finally we are presented with      a screen asking for the floppy disk drive letter and formating options.      Pick the proper drive letter and leave the format options alone. Click &lt;em&gt;next&lt;/em&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;This is the Review screen.      Make sure all the options are correct and insert an empty floppy into your      drive. A format dialog will pop up with a warning that everything on the      floppy will be erased. Hit Okay. Close it once it is completed. Ghost will      copy the files over.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;If you are using an external      hard drive then make sure it is connected to the source machine prior to      booting the Ghost floppy on the system. If you are using an internal hard      drive (not the same one as the Sysprep’d drive) in the source system then      make sure there is enough free space on it. Again, you cannot save the      image onto the drive/partition you are imaging for obvious reasons.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Put your shiny new floppy      into the Sysprep prepared machine and boot off of it.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Create the image following      the on-screen directions. &lt;/li&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Click &lt;em&gt;Local&lt;/em&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Click &lt;em&gt;Disk&lt;/em&gt;.       I’ve assumed that we are imaging a single large NTFS partition       encompassing the entire drive throughout this tutorial hence the need for       either an external drive or different internal hard drive. This can all       be done on a single drive with two paritions but I’ll leave for the end       user to explore. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Click &lt;i&gt;To Image&lt;/i&gt;.       The next screen states &lt;i&gt;Select local source drive by clicking on the       drive number.&lt;/i&gt; Make sure you select the drive that contains the       Sysprep prepared XP deployment! Check and double check this. Click &lt;i&gt;Ok&lt;/i&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The next screen reads &lt;i&gt;File       name to copy image to&lt;/i&gt;. From the drop-down box pick either the       external hard drive or internal drive (different from source drive) and       then type a short name in the file name box.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The next screen will       ask compression options. I usually pick &lt;i&gt;High&lt;/i&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Ghost will image the       drive on its own and alert you when it is done.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;If you are sure the image was      created successfully, you can now move the image onto a burnable DVD,      network share, leave it on the portable or secondary hard drive and      restore it as necessary. If there was a problem during the imaging      process, then do not boot the source system. Just reimage it after      addressing whatever caused the image process to fail.&lt;/li&gt;&lt;/ol&gt;  &lt;p&gt;The steps above are a very quick summary so I recommend that anyone truly interested in doing this to head over to Vernalex’s site for an in-depth &lt;a href="http://www.vernalex.com/guides/sysprep/index.shtml"&gt;Sysprep Guide&lt;/a&gt;. Along with a lot more detail of the entire process, he has various tools to make everything a little easier. The best utility on his site has to be the &lt;a href="http://www.vernalex.com/tools/spdrvscn/index.shtml"&gt;Sysprep Driver Sanner&lt;/a&gt; tool. It makes the process of adding hardware drivers much easier than the manual process above. Instructions on using it are on his site.&lt;/p&gt;  &lt;p&gt;This completes the imaging process. Part 3 includes miscellaneous notes.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Update (2.24.2006):&lt;/strong&gt; I’ve gotten some great tips from both the comments at &lt;a href="http://digg.com/technology/How_to_image_Windows_XP_with_Ghost_and_Sysprep"&gt;Digg&lt;/a&gt; and below. Let me address a few of those.&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Once Sysprep shuts down the      computer, if you are able hook up the drive to another system as a      secondary device then delete &lt;code&gt;&lt;span style="font-size:10;"&gt;pagefile.sys&lt;/span&gt;&lt;/code&gt;      and &lt;code&gt;&lt;span style="font-size:10;"&gt;hibernat.sys&lt;/span&gt;&lt;/code&gt; to      save a few hundred megs of space in the final image. &lt;strong&gt;Thanks      master_of_fm&lt;/strong&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;I forgot to go in-depth on      the Ghost process. I’ve included basic steps for Ghost 2003 but once the      intial Sysprep deployment is made, any disk imaging program can be used.      The basic priciples are the same but let me know if you have problems. &lt;strong&gt;Thanks      hakujin &amp; definiteform&lt;/strong&gt;.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;strong&gt;billyboobs34&lt;/strong&gt;      asked if it is possible to make an image that is totally hardware      independant. The quick answer (to be best of my knowledge) is &lt;b&gt;no&lt;/b&gt;.      The problem hinges on the HAL (Hardware Abstraction Layer) in Windows XP      being different on, for example, a uniprocessor and multiprocessor system.      The Microsoft Knowledge Base article is linked above. If the HAL is not      the problem then it sounds like there may be more of an issue of finding      appropriate chipset and mass storage controller drivers for different      motherboards. In the custom drivers section, adding in paths to the      necessary drivers for other motherboards may mitigate this problem. &lt;/li&gt;&lt;/ul&gt;  &lt;p style="margin-left: 0.5in;"&gt;In my opinion, the best solution is to have one basic machine for each HAL to make all of your images from. Follow all the steps above but do not &lt;i&gt;reseal&lt;/i&gt; the system. Drop down to Ghost (or whatever backup utility you are using) and create an image of the system. In the future, creating compatible images for newer machines would be as simple is restoring the almost-complete Sysprep image and adding in new drivers for the chipset, mass storage controller and anything else you need. Then &lt;i&gt;resealing&lt;/i&gt; the system and imaging it for a viable deployment image. Again, I am not an expert so hopefully the Sysprep gurus can step in to address this one if I went wrong somewhere. &lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;If you are presented a blue      screen of death after restoring the Sysprep image to a target machine,      then chances are that either the HAL is incompatible for the target      machine, you forgot to build the mass storage driver section or you forgot      to add a third-party mass storage driver. Refer to &lt;a href="http://support.microsoft.com/kb/309283/"&gt;Microsoft KB309283&lt;/a&gt; to      confirm the source machine HAL is compatible with the target machine.      Refer to &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q303786"&gt;Microsoft      KB303786&lt;/a&gt; if a Stop 0×7b blue screen is shown. This means that the mass      storage driver section or third-party mass storage driver is missing.&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Update (3.8.2006):&lt;/strong&gt; If after rebooting, the install hangs at mup.sys or agp440.sys then it’s more than likely a HAL problem. Refer to the previous update to change your HAL. For most modern day single-processor machines make sure your HAL is changed from &lt;em&gt;Uniprocessor ACPI&lt;/em&gt; to &lt;em&gt;Advanced Configuration and Power Interface (ACPI) PC&lt;/em&gt;. You can find this setting in Control Panel -&gt; System -&gt; Hardware tab -&gt; Device Manager -&gt; click (+) next Computer -&gt; right click the HAL shown and pick Update Driver -&gt; Install from a list or specific location (Advanced) -&gt; Don’t search. I will choose the driver to install. -&gt; then pick the proper HAL -&gt; hit next/okay until you finish. Now reboot and run through the Sysprep instructions again.&lt;/p&gt;  &lt;p&gt;It took me a few tries to finally make an image that restored properly when I first started but, like riding a bike, it’s second nature now. Be ready to experience frustration but in the end it is worth having this knowledge. Again, read the comments below and at Digg to see how others have achieved this process. I don’t claim to be an expert (I’m just a med student by day) but I certainly hope this helps someone. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-5312535215537419132?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/5312535215537419132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=5312535215537419132' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/5312535215537419132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/5312535215537419132'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2007/05/how-to-image-windows-xp-with-ghost-and.html' title='How-To: Image Windows XP with Ghost and Sysprep'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-7906823007808713520</id><published>2007-03-02T04:42:00.000-08:00</published><updated>2007-03-02T04:45:55.355-08:00</updated><title type='text'>TOMCAT INSTALLATION AND CONFIGURATION</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Introduction&lt;span style=""&gt; &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;Apache Tomcat is the &lt;span class="SpellE"&gt;servlet&lt;/span&gt; container that is used in the official Reference Implementation for the &lt;a href="http://java.sun.com/products/servlets"&gt;Java &lt;span class="SpellE"&gt;Servlet&lt;/span&gt;&lt;/a&gt; and &lt;a href="http://java.sun.com/products/jsp"&gt;&lt;span class="SpellE"&gt;JavaServer&lt;/span&gt; Pages&lt;/a&gt; technologies. The Java &lt;span class="SpellE"&gt;Servlet&lt;/span&gt; and &lt;span class="SpellE"&gt;JavaServer&lt;/span&gt; Pages specifications are developed by Sun under the &lt;a href="http://jcp.org/en/introduction/overview"&gt;Java Community Process&lt;/a&gt;.&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Packages required&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Java 2 SDK, Standard Edition v1.4.1-01 &lt;a href="http://www.blackdown.org/java-linux/java-linux-d2.html"&gt;http://www.blackdown.org/java-linux/java-linux-d2.html&lt;/a&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Ant 1.6.5 &lt;a href="http://ant.apache.org/"&gt;http://ant.apache.org/&lt;/a&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;JavaBeans Activation Framework &lt;a href="http://java.sun.com/products/javabeans/glasgow/jaf.html"&gt;http://java.sun.com/products/javabeans/glasgow/jaf.html&lt;/a&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;Javamail&lt;/span&gt; &lt;a href="http://java.sun.com/products/javamail/"&gt;http://java.sun.com/products/javamail/&lt;/a&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="GramE"&gt;jakarta-tomcat-5.X&lt;/span&gt; &lt;a href="http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi"&gt;http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi&lt;/a&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Installing Java 2 SDK&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;Untar&lt;/span&gt;/unzip j2sdk package&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$cp j2sdk1.4.1 /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$&lt;span class="SpellE"&gt;ln&lt;/span&gt; –s j2sdk1.4.1 j2sdk&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="GramE"&gt;set&lt;/span&gt; JAVA_HOME&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$export JAVA_HOME=/usr/local/j2sdk&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;add PATH for java binary&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$export PATH=$PATH:$JAVA_HOME/bin&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;verify &lt;span class="SpellE"&gt;javac&lt;/span&gt; command gives some output&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;root@tux&lt;/span&gt;:~# &lt;span class="SpellE"&gt;javac&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Usage: &lt;span class="SpellE"&gt;javac&lt;/span&gt; &lt;options&gt; &lt;source&gt;&lt;/source&gt;&lt;/options&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;where possible options include:&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;-g&lt;span style=""&gt;                        &lt;/span&gt;Generate all debugging info&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;-&lt;span class="SpellE"&gt;g:none&lt;/span&gt;&lt;span style=""&gt;                   &lt;/span&gt;Generate no debugging info&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;-g:{&lt;span class="SpellE"&gt;lines,vars,source&lt;/span&gt;}&lt;span style=""&gt;    &lt;/span&gt;Generate only some debugging info&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Installing ANT&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;Untar&lt;/span&gt; ant-&lt;version&gt;.&lt;span class="SpellE"&gt;tar.gz&lt;/span&gt; by &lt;/version&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$tar &lt;span class="SpellE"&gt;xvzf&lt;/span&gt; ant-&lt;version&gt;.&lt;span class="SpellE"&gt;tar.gz&lt;/span&gt;&lt;/version&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;move &lt;span class="SpellE"&gt;untared&lt;/span&gt; directory this to /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/ant&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$&lt;span class="SpellE"&gt;mv&lt;/span&gt; ant-&lt;version&gt; /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/ant&lt;/version&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;set ANT_HOME&lt;/p&gt;   &lt;p class="MsoNormal"&gt;export ANT_HOME=/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/ant&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;add PATH for ant binary&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;export PATH=$PATH:$ANT_HOME/bin&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;verify ant binary is on PATH&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;root@tux&lt;/span&gt;:~# ant&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;Buildfile&lt;/span&gt;: &lt;span class="SpellE"&gt;build.xml&lt;/span&gt; does not exist! (don’t worry about this message, this was just to check ant in on path or not)&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Installing JavaBeans Activation Framework&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$unzip &lt;span class="SpellE"&gt;jaf&lt;/span&gt;-&lt;version&gt;.zip&lt;/version&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$&lt;span class="SpellE"&gt;cd&lt;/span&gt; &lt;span class="SpellE"&gt;jaf&lt;/span&gt;-&lt;version&gt;&lt;/version&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;copy &lt;span class="SpellE"&gt;activation.jar&lt;/span&gt; to /usr/local/j2sdk/lib&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$cp &lt;span class="SpellE"&gt;activation.jar&lt;/span&gt; /usr/local/j2sdk/lib&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;set CLASSPATH for this jar &lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$export $CLASSPATH=/usr/local/j2sdk/lib/activation.jar&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Installing &lt;span class="SpellE"&gt;Javamail&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$unzip &lt;span class="SpellE"&gt;javamail&lt;/span&gt;-&lt;version&gt;.zip&lt;/version&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$&lt;span class="SpellE"&gt;cd&lt;/span&gt; &lt;span class="SpellE"&gt;javamail&lt;/span&gt;-&lt;version&gt;&lt;/version&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;copy &lt;span class="SpellE"&gt;mail.jar&lt;/span&gt; to /usr/local/j2sdk/lib&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$cp &lt;span class="SpellE"&gt;mail.jar&lt;/span&gt; /usr/local/j2sdk/lib&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;set CLASSPATH for this jar &lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;export $CLASSPATH=$CLASSPATH:/usr/local/j2sdk/lib/mail.jar&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;All set for tomcat&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Just again verify all environment variables&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$echo $JAVA_HOME&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$echo $ANT_HOME&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$echo $PATH&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$echo $CLASSPATH&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;now we have two options to install tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;1. using source&lt;/p&gt;   &lt;p class="MsoNormal"&gt;2. using binary&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Tomcat Installation from source&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;Untar&lt;/span&gt; source&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$tar &lt;span class="SpellE"&gt;xvzf&lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;jakarta-tomcat-5.x.x-src.tar.gz&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$&lt;span class="SpellE"&gt;cd&lt;/span&gt; jakarta-tomcat-5.x.x&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;start building source&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;this build process is controlled by &lt;span class="SpellE"&gt;build.properties&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;add this content to it: &lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;# ----- Proxy setup -----&lt;/code&gt;&lt;br /&gt;&lt;code&gt;# Uncomment if using a proxy server.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;#&lt;span class="SpellE"&gt;proxy.host&lt;/span&gt;=&lt;span class="SpellE"&gt;proxy.domain&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;#&lt;span class="SpellE"&gt;proxy.port&lt;/span&gt;=8080&lt;/code&gt;&lt;br /&gt;&lt;code&gt;#&lt;span class="SpellE"&gt;proxy.use&lt;/span&gt;=on&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# ----- Default Base Path for Dependent Packages -----&lt;/code&gt;&lt;br /&gt;&lt;code&gt;# Replace this path with the directory path where&lt;/code&gt;&lt;br /&gt;&lt;code&gt;# dependencies binaries should be downloaded.&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="SpellE"  style="font-size:100%;"&gt;&lt;code&gt;base.path&lt;/code&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;=/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/share/java&lt;o:p&gt;&lt;/o:p&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$ant build&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;Buildfile&lt;/span&gt;: &lt;span class="SpellE"&gt;build.xml&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;check.source&lt;/span&gt;:&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;check.source.depends&lt;/span&gt;:&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;once this is done without any errors, copy build to appropriate location&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$cp jakarta-tomcat-5.x.x/jakarta-tomcat-5/build /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Installation done from source&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Tomcat Installation from binary&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Download and &lt;span class="SpellE"&gt;untar&lt;/span&gt; jakarta-tomcat-5.x.x.tar.gz&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$tar &lt;span class="SpellE"&gt;xvzf&lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;jakarta-tomcat-5.x.x.tar.gz&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;move &lt;span class="SpellE"&gt;untared&lt;/span&gt; directory to /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$&lt;span class="SpellE"&gt;mv&lt;/span&gt; jakarta-tomcat-5.x.x /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Installation done using binary.&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Configuring Tomcat&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Optionally set CATALINA_HOME to /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$export $CATALINA_HOME=/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;make changes in configuration, go to conf dir&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$&lt;span class="SpellE"&gt;cd&lt;/span&gt; /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/conf&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;to change port of tomcat edit &lt;span class="SpellE"&gt;server.xml&lt;/span&gt; Connector port="8080" tag&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;you can add various roles and assign these roles to different users by making changes in tomcat-&lt;span class="SpellE"&gt;users.xml&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;tomcat-users&gt;&lt;/tomcat-users&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;role class="SpellE"&gt;rolename="tomcat"/&gt;&lt;/role&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;role class="SpellE"&gt;rolename="role1"/&gt;&lt;/role&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;role class="SpellE"&gt;rolename="manager"/&gt;&lt;/role&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;role class="SpellE"&gt;rolename="admin"/&gt;&lt;/role&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;user username="manish" password="secret" roles="&lt;span class="&gt;admin,manager"/&gt;&lt;/user&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;user username="tomcat" password="tomcat" roles="tomcat"&gt;&lt;/user&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;user username="role1" password="tomcat" roles="role1"&gt;&lt;/user&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;user username="both" password="tomcat" roles="tomcat,role1"&gt;&lt;/user&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;you can write a init script for tomcat startup/shutdown&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;#!/bin/&lt;span class="SpellE"&gt;sh&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;export JAVA_HOME=/usr/local/j2sdk&lt;/p&gt;   &lt;p class="MsoNormal"&gt;export PATH=$PATH:/usr/local/j2sdk/bin/&lt;/p&gt;   &lt;p class="MsoNormal"&gt;case "$1" in&lt;/p&gt;   &lt;p class="MsoNormal"&gt;start)&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;    &lt;/span&gt;echo -n "Starting tomcat: "&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;    &lt;/span&gt;/&lt;span class="SpellE"&gt;usr/local/tomcat/bin/startup.sh&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;    &lt;/span&gt;;;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;stop)&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;     &lt;/span&gt;echo -n "Shutting down tomcat: "&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;     &lt;/span&gt;/&lt;span class="SpellE"&gt;usr/local/tomcat/bin/shutdown.sh&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;     &lt;/span&gt;;;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;*)&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;     &lt;/span&gt;echo "Usage: $0 {&lt;span class="SpellE"&gt;start|stop&lt;/span&gt;}"&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;     &lt;/span&gt;exit 1&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;esac&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;exit 0&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;copy this content to /etc/&lt;span class="SpellE"&gt;init.d/tomcat.server&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;give execute permission&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;chmod&lt;/span&gt; +x /etc/&lt;span class="SpellE"&gt;init.d/tomcat.server&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;on &lt;span class="SpellE"&gt;debian&lt;/span&gt; do &lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;$update-&lt;span class="SpellE"&gt;rc.d&lt;/span&gt; &lt;span class="SpellE"&gt;tomcat.server&lt;/span&gt; defaults&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Testing setup&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Start tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;root@tux&lt;/span&gt;:~# /etc/&lt;span class="SpellE"&gt;init.d/tomcat.server&lt;/span&gt; start&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Starting tomcat: Using CATALINA_BASE:&lt;span style=""&gt;   &lt;/span&gt;/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Using CATALINA_HOME:&lt;span style=""&gt;   &lt;/span&gt;/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Using CATALINA_TMPDIR: /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/temp&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Using JAVA_HOME:&lt;span style=""&gt;       &lt;/span&gt;/&lt;span class="SpellE"&gt;usr/local/jdk&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Check in process list for successful startup&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;1834 pts/6&lt;span style=""&gt;    &lt;/span&gt;S&lt;span style=""&gt;      &lt;/span&gt;0:15 /&lt;span class="SpellE"&gt;usr/local/jdk/bin/java&lt;/span&gt; -&lt;span class="SpellE"&gt;Djava.endorsed.dirs&lt;/span&gt;=/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/common/endorsed -&lt;span class="SpellE"&gt;classpath&lt;/span&gt; /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/loc&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;1835 pts/6&lt;span style=""&gt;    &lt;/span&gt;S&lt;span style=""&gt;      &lt;/span&gt;0:00 /&lt;span class="SpellE"&gt;usr/local/jdk/bin/java&lt;/span&gt; -&lt;span class="SpellE"&gt;Djava.endorsed.dirs&lt;/span&gt;=/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/common/endorsed -&lt;span class="SpellE"&gt;classpath&lt;/span&gt; /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/loc&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt; &lt;/span&gt;1836 pts/6&lt;span style=""&gt;    &lt;/span&gt;S&lt;span style=""&gt;      &lt;/span&gt;0:01 /&lt;span class="SpellE"&gt;usr/local/jdk/bin/java&lt;/span&gt; -&lt;span class="SpellE"&gt;Djava.endorsed.dirs&lt;/span&gt;=/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/common/endorsed -&lt;span class="SpellE"&gt;classpath&lt;/span&gt; /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/loc&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;also verify it its listening on port specified in &lt;span class="SpellE"&gt;server.xml&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;root@tux&lt;/span&gt;:~# &lt;span class="SpellE"&gt;netstat&lt;/span&gt; -nap | &lt;span class="SpellE"&gt;grep&lt;/span&gt; java&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;tcp&lt;/span&gt;&lt;span style=""&gt;        &lt;/span&gt;0&lt;span style=""&gt;      &lt;/span&gt;&lt;span class="SpellE"&gt;0&lt;/span&gt; 0.0.0.0:8080&lt;span style=""&gt;          &lt;/span&gt;0.0.0.0:*&lt;span style=""&gt;               &lt;/span&gt;LISTEN&lt;span style=""&gt;     &lt;/span&gt;11507/java &lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Shutdown tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;root@tux&lt;/span&gt;:~# /etc/&lt;span class="SpellE"&gt;init.d/tomcat.server&lt;/span&gt; stop&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Shutting down tomcat: Using CATALINA_BASE:&lt;span style=""&gt;   &lt;/span&gt;/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Using CATALINA_HOME:&lt;span style=""&gt;   &lt;/span&gt;/&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Using CATALINA_TMPDIR: /&lt;span class="SpellE"&gt;usr&lt;/span&gt;/local/tomcat/temp&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Using JAVA_HOME:&lt;span style=""&gt;       &lt;/span&gt;/&lt;span class="SpellE"&gt;usr/local/jdk&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Next open a browser and type http://&lt;serverip&gt;:&lt;port&gt;&lt;/port&gt;&lt;/serverip&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;For &lt;span class="SpellE"&gt;eg&lt;/span&gt; http://machine:8080&lt;u&gt;&lt;span style="color:blue;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;You will see tomcat page &lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;You can admin tomcat from http://&lt;serverip&gt;:&lt;port&gt;/admin&lt;/port&gt;&lt;/serverip&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="SpellE"&gt;eg&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;http://machine:8080/admin&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;manager &lt;span class="SpellE"&gt;url&lt;/span&gt; http://&lt;serverip&gt;&lt;/serverip&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;give username/password specified in tomcat-&lt;span class="SpellE"&gt;users.xml&lt;/span&gt; with admin/manager role&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;like &lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;role class="SpellE"&gt;rolename="manager"/&gt;&lt;/role&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;role class="SpellE"&gt;rolename="admin"/&gt;&lt;/role&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;user username="manish" password="secret" roles="&lt;span class="&gt;admin,manager"/&gt;&lt;/user&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;user username="admin" password="secret" roles="admin "&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/user&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;user username="manager" password="secret" roles="manager"&gt; &lt;/user&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-7906823007808713520?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/7906823007808713520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=7906823007808713520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/7906823007808713520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/7906823007808713520'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2007/03/tomcat-installation-and-configuration.html' title='TOMCAT INSTALLATION AND CONFIGURATION'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-8661770707809895568</id><published>2007-03-01T06:11:00.000-08:00</published><updated>2007-09-10T22:29:19.087-07:00</updated><title type='text'>COMMANDS</title><content type='html'>&lt;span style="font-style: italic;"&gt;$(cat /etc/passwd|egrep zentyl\|sysadmin |cut -d":" -f6); do&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$kill `ps auxww | grep pmta | egrep -v grep | awk '{print $2}'`; service pmta start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$sar -r 60 2000|awk '{print $5}'|sed -e  /^$/d|sed '/^%/d'|head -n1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$kill `ps auxww | grep perl | egrep -v grep | awk '{print $2}'`; service mysql restart&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$find /Public/  -name *.mp3 -exec rm {} \;&lt;br /&gt;kill `ps auxww | grep perl  awk '{print $2}'`&lt;br /&gt;&lt;br /&gt;kill `ps auxww | grep mysql | egrep -v grep | awk '{print $2}'`&lt;br /&gt;&lt;br /&gt;du -h --max-depth=1 /Public/|awk '{print $1}'&lt;br /&gt;search and replace all :1,$s/&lt;old&gt;/&lt;new&gt;/g&lt;br /&gt;find /home -type f -iname '*.php' -exec grep -l -i "c99_buff_prepare" {} \;&lt;br /&gt;&lt;br /&gt;&lt;/new&gt;&lt;/old&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Selinux:&lt;/span&gt;&lt;br /&gt;setsebool -P ftpd_disable_trans 1  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;LINKS:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;http://endor.clublinux.org/RHCE-16.html  cronjob&lt;br /&gt;http://prefetch.net/articles/checkcertificate.html&lt;br /&gt;http://lena.franken.de/linux/create_certificate.html &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;RMSERVER&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://yolinux.com/TUTORIALS/LinuxTutorialRealVideoStreaming.html&lt;br /&gt;http://epresence.tv/FreeSoftware/DocsHtml/Media_Installation_Guide32.htm#_Toc114284604&lt;br /&gt;http://www.realnetworks.com/products/media_delivery.html&lt;br /&gt;http://www.realnetworks.com/products/discreteserver/index.html&lt;br /&gt;http://service.real.com/help/library/guides/helixuniversalserver/realsrvr.htm?page=htmfiles/new.htm%23ports&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;HACKER'S PAGE&lt;/span&gt;&lt;br /&gt;www.xsharex.info - report24/default pass&lt;br /&gt;http://www.security.nnov.ru/board4.html&lt;br /&gt;http://www.webhostgear.com/61.html&lt;br /&gt;http://www.rfxnetworks.com/apf.php&lt;br /&gt;http://www.webhostgear.com/232.html&lt;br /&gt;http://megaupload.com/?d=P5BSU0CQ&lt;br /&gt;metasploit.com&lt;br /&gt;http://www.theserverpages.com/20102/11/&lt;br /&gt;http://www.hackingdefined.com/movies/see-sec-wmf-0day.rar&lt;br /&gt;http://www.hackingdefined.com/movies/see-sec-demo.zip&lt;br /&gt;http://www.hackingdefined.com/movies/see-sec-wepcrack.zip&lt;br /&gt;http://www.hackingdefined.com/movies/see-sec-gre-sniff.zip&lt;br /&gt;http://www.hackingdefined.com/movies/see-sec-ssh-dcom-tunneling.zip&lt;br /&gt;http://byterage.hackaholic.org/kb/index.html&lt;br /&gt;RooT66 - http://root66.nl.eu.org&lt;br /&gt;ShellOracle - http://www.shelloracle.cjb.net&lt;br /&gt;      b0f - http://b0f.freebsd.lublin.pl&lt;br /&gt;http://ussrback.com/distributed.htm                 &lt;br /&gt;  Hardbeat (petervd@vuurwerk.nl) just has a lame page at&lt;br /&gt;      http://www.dataloss.net/&lt;br /&gt;http://packetstormsecurity.org/DoS/pjam.zip&lt;br /&gt;http://www.elhacker.net/hacking.htm&lt;br /&gt;http://www.nmrc.org/pub/faq/hackfaq/&lt;br /&gt;http://www.catb.org/~esr/faqs/hacker-howto.html&lt;br /&gt;thc.org&lt;br /&gt;http://www.linuxwidows.com/mirror/bucket/HFC/LEAP/img13.htm&lt;br /&gt;http://lab.dyne.org/AsciiHackersLounge&lt;br /&gt;http://www.packetfocus.com/web_hacking.html&lt;br /&gt;http://www.elitehackers.info/&lt;br /&gt;http://romaniainedit.3xforum.ro/post/11389/1/Hack_tools_books_la_cerere/&lt;br /&gt;http://hackaday.com/&lt;br /&gt;http://iptables-tutorial.frozentux.net/iptables-tutorial.html    --iptablesx&lt;br /&gt;http://linux.i-heart.co.kr/viewtopic.php?p=49&amp;sid=2f34689f8c97dd0dc34a02f399979ba1   - apf&lt;br /&gt;http://www.thenetworkadministrator.com/2003MostPopularHackingTools.htm&lt;br /&gt;www.bo2k.com&lt;br /&gt;http://www.redhat.com/magazine/013nov05/features/snort/&lt;br /&gt;http://www.jpowered.com/php-scripts/php-gd.htm&lt;br /&gt;http://egroupware.shanker.com/home/index.php&lt;br /&gt;http://xoron.t35.com/c99.txt&lt;br /&gt;http://www.rootshell-security.net/&lt;br /&gt;http://www.lezr.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Forensic:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://webserver.arizona-gigapop.net/linux-forensics/penguinsleuth-07-05-2003.iso&lt;br /&gt;http://www.net-security.org/dl/software/sleuthkit-2.06.tar.gz&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Database:&lt;/span&gt;&lt;br /&gt;http://techdocs.postgresql.org/&lt;br /&gt;http://www.designmagick.com/category/10/Forum-Project&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PHP:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://byterage.hackaholic.org/kb/php-secure-coding.html&lt;br /&gt;http://www.php-mysql-tutorial.com/&lt;br /&gt;http://www.goodphptutorials.com&lt;br /&gt;http://www.phpfreaks.com/tutorials.php&lt;br /&gt;http://devzone.zend.com/public/view/tag/tutorials&lt;br /&gt;http://www.php.net/manual/en/install.unix.apache2.php&lt;br /&gt;http://www.hostlibrary.com/installing_apache_mysql_php_on_linux&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MOD_REWRITE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.download.com/Ionic-s-ISAPI-Rewriting-Filter/3000-2648_4-10417963.html&lt;br /&gt;http://urlrewriter.net/&lt;br /&gt;http://cheeso.members.winisp.net/IIRF.aspx&lt;br /&gt;http://www.petefreitag.com/item/286.cfm&lt;br /&gt;http://todotnet.com/archive/0001/01/01/7472.aspx&lt;br /&gt;http://www.webmasterworld.com/forum47/1167.htm&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AWSTATS:&lt;/span&gt;&lt;br /&gt;http://www.allscoop.com/tools/awstats-log-format/index.php&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;shell scripting:&lt;/span&gt;&lt;br /&gt;http://www.student.northpark.edu/pemente/sed/sed1line52.txt&lt;br /&gt;http://puzzle.dl.sourceforge.net/sourceforge/freenas/FreeNAS-0.671.iso&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SSL Certificate generation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;openssl genrsa -des3 -out cybercells.key  &lt;br /&gt;openssl req -new -key cybercells.key      cybercells.csr&lt;br /&gt;https://certificates.godaddy.com/InstallationInstructions.go&lt;br /&gt;https://certificates.godaddy.com/CSRgeneration.go&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNORT&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;User Name: report24@rediffmail.com&lt;br /&gt;Password: hallticket&lt;br /&gt;Oink Code:   dedf1dbb630464a56cb5494b856a0ffc15df9d90&lt;br /&gt;&lt;br /&gt;Example for snort 2.3:&lt;br /&gt;Change: url = http://www.snort.org/dl/rules/snortrules-snapshot-2.3.tar.gz&lt;br /&gt;to&lt;br /&gt;http://www.snort.org/pub-bin/oinkmaster.cgi/5a08f649c16a278e1012e1c84bdc8fab9a70e2a4/snortrules-snapshot-2.3.tar.gz&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;How to use snort:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Network Intrusion Detection (NIDS) mode  snort -dev -l ./log -h 192.168.0.0/24&lt;br /&gt;Reading the Snort logfile: snort -r ./Piglet/logfile&lt;br /&gt;Running Snort in Packet Logger mode:  snort -dev -l ./Piglet&lt;br /&gt;A Snort monitoring rule:   content: [!] "content_string";&lt;br /&gt;A non-payload detection rule:   alert ip any any -&gt; any any (ip_proto:icmp;)&lt;br /&gt;A rule to detect a particular string:   alert tcp any any -&gt; any any 21 (content:"user root";)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Kernel upgradation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;www.kernel.org&lt;br /&gt;make menuconfig&lt;br /&gt;select the features u want in ur kernel&lt;br /&gt;exit the menuconfig and come on to the shell saving the new configuration&lt;br /&gt;make dep&lt;br /&gt;make bzImage&lt;br /&gt;make modules&lt;br /&gt;make modules_install&lt;br /&gt;ur new kernel is in the directory ./arch/i386/boot/bzImage copy it in the directory /boot/&lt;br /&gt;edit ur bootloader so that u may boot the new kernel&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;OR&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;1. Check current version of kernel on server using command uname -a, if&lt;br /&gt;its 2.4 then download latest release for 2.4 please do not download 2.6&lt;br /&gt;kernel.&lt;br /&gt;You can download kernel from http://www.kernel.org/pub/linux/kernel/v2.6/&lt;br /&gt;if its 2.4 then http://www.kernel.org/pub/linux/kernel/v2.4/, you can&lt;br /&gt;check latest stable release from http://www.kernel.org&lt;br /&gt;&lt;br /&gt;2. wget kernel in /usr/local/src&lt;br /&gt;3. untar it using tar -zxvf linux-2.x-xxxx&lt;br /&gt;4. cd linux-2.x-x&lt;br /&gt;5. make clean&lt;br /&gt;6. make mrproper&lt;br /&gt;7. If kernel is 2.4 then copy current version of config file from&lt;br /&gt;/boot/config-’uname-r’ as .config in /usr/local/src/linux-2.x-xx, if&lt;br /&gt;kernel is 2.6 then you do not need to make .config in current directory&lt;br /&gt;8. make menuconfig, select and check if all required modules are selected,&lt;br /&gt;also make sure that your kernel supports multiple cpu&lt;br /&gt;you can check it and select from processor type, if it displays support&lt;br /&gt;for more then 2 kernel then you do not need to modify anything there.&lt;br /&gt;9. save configuration and exit&lt;br /&gt;10. make modules if kernel is 2.4 then need to run make dep before running&lt;br /&gt;make modules&lt;br /&gt;11. make modules_install&lt;br /&gt;12. make&lt;br /&gt;13. if 2.4 kernel then need to run make bzImage and then make install, you&lt;br /&gt;can directly run make install if kernel is 2.6&lt;br /&gt;15. now make sure bootloader and modify default kernel accordingly&lt;br /&gt;grubby –bootloader-probe if it displays grub then edit /etc/grub.conf and&lt;br /&gt;if its lilo then edit lilo.conf and make compiled kernel as default kernel&lt;br /&gt;16. If your boot loader is lilo then you need to run 9one more command&lt;br /&gt;/sbin/lilo which will update lilo&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;17. now its time to reboot server&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;http://www.youtube.com/watch?v=xUyLXTLiGS0  ( fedora)&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-8661770707809895568?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/8661770707809895568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=8661770707809895568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/8661770707809895568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/8661770707809895568'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2007/03/commands.html' title='COMMANDS'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-4636079234392676334</id><published>2007-02-26T09:24:00.000-08:00</published><updated>2007-03-01T05:38:10.674-08:00</updated><title type='text'>MRTG Configuration in Linux Servers</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: arial;font-size:180%;" &gt;&lt;span style="font-weight: bold;"&gt;MRTG Configuration&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Before configuring MRTG&lt;br /&gt;&lt;br /&gt;Step # 1 : Make sure snmp server installed&lt;br /&gt;Please note that snmpd configuration does not require using mrtg with remote network devices such as Routers and switches. If you just want mrtg graphs for router or switch then please refer to step # 4 (as all these devices comes preconfigured with snmpd software).&lt;br /&gt;Run rpm commands query option to find out snmp server installed or not:&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;# rpm -qa | grep snmp&lt;/span&gt;&lt;br /&gt;If snmp installed then please refer step # 2; otherwise snmp server and utils were not present and your need to install them using following steps (login as a root user):&lt;br /&gt;(a) Visit rpmfind.net to get snmp server and utilities rpms. If you are fedora user then use yum command as follows to install it:&lt;br /&gt;# &lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;yum install net-snmp-utils net-snmp&lt;/span&gt;&lt;br /&gt;(b) If you are RHEL subscriber then use up2date command as follows to install:&lt;br /&gt;#&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;up2date -v -i net-snmp-utils net-snmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step # 2 : Determine if snmp server is running or not&lt;br /&gt;Run 'ps' command to see if snmp server is running or not:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;ps -aux | grep snmp&lt;/span&gt;&lt;br /&gt;Output:&lt;br /&gt;root   5512  0.0  2.3  5872 3012 pts/0    S    22:04   0:00 /usr/sbin/snmpd&lt;br /&gt;Alternatively, you can try any of the following two commands as well:&lt;br /&gt;#&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt; lsof -i :199&lt;/span&gt;&lt;br /&gt;Output:&lt;br /&gt;COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME&lt;br /&gt;&lt;span style="font-style: italic;"&gt;snmpd   5512 root    4u  IPv4  34432       TCP *:smux (LISTEN)&lt;/span&gt;&lt;br /&gt;OR try out netstat command:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;netstat -natv | grep ':199'&lt;/span&gt;&lt;br /&gt;Output:&lt;br /&gt;tcp        0      0 0.0.0.0:199             0.0.0.0:*               LISTEN&lt;br /&gt;If you found service is running or listing on port 199 then please see step #3; otherwise start service using following command:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;service snmpd start&lt;/span&gt;&lt;br /&gt;Make sure snmpd service starts automatically, when linux comes us (add snmpd service):&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;chkconfig --add snmpd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step # 3 : Make sure snmp server configured properly&lt;br /&gt;Run snmpwalk utility to request for tree of information about network entity. In simple words query snmp server for your IP address (assigned to eth0, eth1, lo etc):&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex&lt;/span&gt;&lt;br /&gt;Output:&lt;br /&gt;ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.127.0.0.1 = 1&lt;br /&gt;ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.192.168.0.3 = 2&lt;br /&gt;If you can see your IP address then please proceed to step 4; else it is a time to configure snmp server as follows (by default RHEL and RH 8/9 are not configured for snmp server for security reason):&lt;br /&gt;Configure SNMP&lt;br /&gt;(1) Edit file /etc/snmp/snmpd.conf using text editor:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;vi /etc/snmp/snmpd.conf&lt;/span&gt;&lt;br /&gt;Change/Modify line(s) as follows:&lt;br /&gt;Find following Line:&lt;br /&gt;com2sec notConfigUser  default       public&lt;br /&gt;Replace with (make sure you replace 192.168.0.0/24 replace with your network IPs) following lines:&lt;br /&gt;c&lt;span style="font-style: italic; font-weight: bold;"&gt;om2sec local     localhost           public&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;com2sec mynetwork 192.168.0.0/24      public&lt;/span&gt;&lt;br /&gt;Scroll down bit and change:&lt;br /&gt;Find Lines:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;group   notConfigGroup v1           notConfigUser&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;group   notConfigGroup v2c           notConfigUser&lt;/span&gt;&lt;br /&gt;Replace with:&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;group MyRWGroup v1         local&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;group MyRWGroup v2c        local&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;group MyRWGroup usm        local&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;group MyROGroup v1         mynetwork&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;group MyROGroup v2c        mynetwork&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;group MyROGroup usm        mynetwork&lt;/span&gt;&lt;br /&gt;Again scroll down bit and locate following line:&lt;br /&gt;Find line:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;view    systemview     included      system&lt;/span&gt;&lt;br /&gt;Replace with:&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;view all    included  .1                               80&lt;/span&gt;&lt;br /&gt;Again scroll down bit and change:&lt;br /&gt;Find line:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;access  notConfigGroup ""      any       noauth    exact  systemview none none&lt;/span&gt;&lt;br /&gt;Replace with:&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;access MyROGroup ""      any       noauth    exact  all    none   none&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;access MyRWGroup ""      any       noauth    exact  all    all    none&lt;/span&gt;&lt;br /&gt;Scroll down bit and change:&lt;br /&gt;Find lines:&lt;br /&gt;s&lt;span style="font-style: italic;"&gt;yslocation Unknown (edit /etc/snmp/snmpd.conf)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;syscontact Root  (configure /etc/snmp/snmp.local.conf)&lt;/span&gt;&lt;br /&gt;Replace with (make sure you supply appropriate values):&lt;br /&gt;s&lt;span style="font-style: italic; font-weight: bold;"&gt;yslocation Linux (RH3_UP2), Home Linux Router.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;syscontact Vivek G Gite &lt;/span&gt;&lt;vivek com=""&gt;&lt;br /&gt;For your convenient, here is my /etc/snmp/snmpd.conf file. Feel free to use this file. Make sure you make backup of your existing file if you use this file as it is.&lt;br /&gt;Start your snmp server and test it:&lt;br /&gt;(a) Make sure when linux comes up snmpd always starts:&lt;br /&gt;#&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt; chkconfig snmpd on&lt;/span&gt;&lt;br /&gt;(b) Make sure service start whenever Linux comes up (after reboot):&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;service snmpd start&lt;/span&gt;&lt;br /&gt;(c) Finally test your snmp server:&lt;br /&gt;#&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt; snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step # 4 : Install mrtg if not installed&lt;br /&gt;Mrtg software may install during initial installation; you can verify if MRTG installed or not with following RPM command:&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;rpm -qa | grep mrtg&lt;/span&gt;&lt;br /&gt;If mrtg already installed please see step # 5; else use rpmfind.net to find MRTG rpm or up2date command to install MRTG software:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;up2date -v -i mrtg&lt;/span&gt;&lt;br /&gt;Fedora Linux user can use yum command as follows to install MRTG:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;yum install mrtg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step # 5 : Commands to Configure mrtg&lt;br /&gt;(a) Create document root to store mrtg graphs/html pages:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;mkdir -p /var/www/html/mymrtg/&lt;/span&gt;&lt;br /&gt;(b) Run any one of the following cfgmaker command to create mrtg configuration file:&lt;br /&gt;#&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output /etc/mrtg/mymrtg.cfg public@localhost&lt;/span&gt;&lt;br /&gt;OR (make sure your FQDN resolves, in following example i'm using rh9.test.com which is my router FQDN address)&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output /etc/mrtg/mymrtg1.cfg&lt;/span&gt; public@rh9.test.com&lt;br /&gt;(c) Create default index page for your MRTG configuration:&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;# indexmaker --output=/var/www/html/mymrtg/index.html /etc/mrtg/mymrtg.cfg&lt;/span&gt;&lt;br /&gt;(d) Copy all tiny png files to your mrtg path:&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;# cp -av /var/www/html/mrtg/*.png /var/www/html/mymrtg/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step # 6 First test run of mrtg&lt;br /&gt;(a) Run mrtg command from command line with your configuration file:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;mrtg /etc/mrtg/mymrtg.cfg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step # 7 Create crontab entry so that mrtg graph / images get generated every 5 minutes&lt;br /&gt;(a) Login as a root user or login as a mrtg user and type following command:&lt;br /&gt;# &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;crontab -e&lt;/span&gt;&lt;br /&gt;(b) Add mrtg cron job entry to configuration file (append following line to it):&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 102, 255); font-weight: bold;"&gt;*/5 * * * * /usr/bin/mrtg /etc/mrtg/mymrtg.cfg --logging /var/log/mrtg.log&lt;/span&gt;&lt;br /&gt;Save file and you are done with MRTG config issues :)&lt;br /&gt;Step # 8 Point to DNS Server&lt;br /&gt;In local server :&lt;br /&gt;1.# vi /etc/httpd/conf/httpd.conf&lt;br /&gt;In DNS Server :&lt;br /&gt;1.# vi /var/named.conf&lt;br /&gt;2.# cd /var/named/domains&lt;/vivek&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-4636079234392676334?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/4636079234392676334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=4636079234392676334' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/4636079234392676334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/4636079234392676334'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2007/02/mrtg-configuration-in-linux-servers.html' title='MRTG Configuration in Linux Servers'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-3955077027032189944</id><published>2007-02-22T12:08:00.000-08:00</published><updated>2007-02-22T12:20:06.682-08:00</updated><title type='text'>fedora Testing</title><content type='html'>&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/xUyLXTLiGS0"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/xUyLXTLiGS0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-3955077027032189944?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/3955077027032189944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=3955077027032189944' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/3955077027032189944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/3955077027032189944'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2007/02/fedora-testing.html' title='fedora Testing'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-5140053868382874399</id><published>2007-02-05T04:37:00.000-08:00</published><updated>2007-02-26T11:13:04.447-08:00</updated><title type='text'>Smarter Password Management</title><content type='html'>&lt;span class="published_date"&gt;&lt;p&gt;Your dog’s name... your anniversary... your childrens’ initials, birthday, or birth weight... your favorite hobby, or the name of your boat. Which one do you use for your password? Network Administrators and hackers know that most people choose passwords like these to protect anything from logging into web-based bulletin boards to buying things online.&lt;/p&gt;  &lt;p&gt;Why does it matter? Identity theft... corporate espionage... loss of your data, or digital images. Do you want to risk these things? In many cases, a weak password is all that separates your data from anyone who wants to impersonate you online, or worse.&lt;/p&gt;  &lt;h1&gt;The problem with weak passwords&lt;/h1&gt;  &lt;p&gt;Passwords that are simply names of pets, names of children, common names of any type, are called “weak passwords.” Basically any word you can find in a dictionary or list of names makes for a weak password.&lt;/p&gt;  &lt;p&gt;I don’t like to use fear to motivate people, but practicing safe password management is as important as locking your house when you leave. Only whenever you’re connected to the internet, it’s like having a house in the worst neighborhood in the biggest city around and if you don’t put a good lock on the door, you will get broken into, even if you’re home.&lt;/p&gt;  &lt;div style="font-weight: bold; color: rgb(255, 0, 0);" align="center"&gt; &lt;p style=""&gt;Practicing safe password management is as important as locking your house when you leave&lt;/p&gt; &lt;/div&gt;  &lt;h1&gt;The problem with strong passwords&lt;/h1&gt;  &lt;p&gt;If you work at a large company, they may not allow you to have a simple password based on any word you can find in a dictionary. E-Commerce sites that have good security require passwords at least 8 characters long. They group the characters you type into four groups: capital letters, lowercase letters, numbers, and symbols, and then require you to have at least three out of the four groups represented in your password. And then they make you change your password every two or three months. This type of password is called a strong password.&lt;/p&gt;  &lt;p&gt;The problem is that you soon end up with many more passwords than you can possibly keep track of. You either forget your new password, requiring the administrator to reset it for you, or you start writing them down. Far too many people have their current passwords scribbled on a yellow sticky note attached to their monitor where anyone can see it.&lt;/p&gt;  &lt;p&gt;With weak passwords, all an attacker needs to do to obtain them is go through your trash, or engage you in innocent conversation. With strong passwords, all he needs to do is visit your office. In either case, the attacker is engaging in a type of attack called &lt;em&gt;Social Engineering&lt;/em&gt;, which is the easiest way to break into a system.&lt;/p&gt;  &lt;div style="color: rgb(255, 0, 0); font-weight: bold;" align="center"&gt; &lt;p style=""&gt;A strong password, if you write it down somewhere insecure, is not much safer than a weak password&lt;/p&gt; &lt;/div&gt;  &lt;h1&gt;Do I always need a strong password?&lt;/h1&gt;  &lt;p&gt;No. Strong passwords provide far more protection against different types of attacks, especially those considered &lt;em style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Brute Force&lt;/em&gt;&lt;span style="color: rgb(51, 51, 255);"&gt; &lt;/span&gt;attacks. An example is something called a &lt;em style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Dictionary Attack&lt;/em&gt;, where the attacker takes a list of words, sometimes an entire dictionary, and uses a special cracking program to try each word on your account. The dictionary used includes common animal and people names.&lt;/p&gt;  &lt;p&gt;Many systems defeat these types of attacks by locking you out after a few failed attempts. But the real concern is what an attacker can do once they break into any particular system.&lt;/p&gt;  &lt;div style="color: rgb(255, 0, 0); font-weight: bold;" align="center"&gt; &lt;p style=""&gt;A weak password is all that separates your data from anyone who wants to impersonate you online, or worse&lt;/p&gt; &lt;/div&gt;  &lt;h1&gt;Assess your risks&lt;/h1&gt;  &lt;p&gt;There are low risk, and high risk computer systems. To avoid having 30 different passwords to remember, you can group together systems that have the same level of risk, and reuse your passwords. Many security experts would argue that this approach reduces security, but let’s be realistic here: if you don’t remember the password for a particular system, and then type in all of your “standard” passwords to try to log into it, you may have just compromised all of the systems that use any of those passwords.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="published_date"&gt;&lt;p&gt;There are many ways of grouping systems, but here’s what I recommend:&lt;/p&gt;  &lt;h2&gt;Low risk systems&lt;/h2&gt;  &lt;p&gt;If you never give your credit card, drivers license, social security number, or any other sensitive information to a web site, you probably don’t need to use a strong password. For sites like the New York Times, online bulletin boards, and the myriad of places that ask you to create an account before allowing you to post, use a throw-away, easy-to-remember password. The worst an attacker could do is impersonate you on a web site, a mild form of harassment, but nothing more serious than that.&lt;/p&gt;  &lt;p&gt;You should realize that any time you type a password into a system that doesn’t immediately take you to an encrypted site, your password could be intercepted by all kinds of unknown people. Look for the lock or key icon in your browser’s status bar, and “https” in the web address. If these things don’t appear, or there’s a warning, don’t trust the site. Use a weak password, and consider it public. As long as you trust a site as being legitimate, I consider it fine to reuse the same weak password for all of these types of sites.&lt;/p&gt;  &lt;h2 style="font-weight: bold; color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:130%;"&gt;Medium risk systems&lt;/span&gt;&lt;/h2&gt;  &lt;p&gt;You might not agree, but I consider credit card information to be medium risk. To purchase things using a credit card at all, you have to take some risk: the waiter at the restaurant could copy your card when taking your payment; somebody could eavesdrop on your cordless phone when you give the number to the pizza delivery place; or somebody could look over your shoulder in line at a store.&lt;/p&gt;  &lt;p&gt;Credit Card companies provide you with protection here—you’re usually only liable for the first $50 of any misuse of your credit card. For many credit cards, the bank takes full risk for online payments. You have to report charges you did not make in writing within 60 days, and these guarantees don’t apply to debit cards, but overall loss of your credit card amounts to a bigger hassle but not devastation to your identity. So I recommend grouping all web sites you use a credit card for into a “medium risk” group. If you give a web site a credit card, you’re already trusting them to not make bogus charges so you can probably trust them to not try to use your strong password on other sites.&lt;/p&gt;  &lt;p style="font-weight: bold; color: rgb(255, 0, 0); font-family: arial;"&gt;Some cautions here:&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li&gt;Never send a credit card number, or any more sensitive information, through an email system that is not encrypted. If your email system is encrypted, you’ll know it: you’ll have to do quite a bit of work on both the sending and receiving end, so assume your mail is completely insecure, because it is.&lt;/li&gt;&lt;li&gt;Always make sure the web site is encrypted before typing in your password. Look for the lock or key icon in your browser window. In Firefox, the address bar (where you type the web address) will turn yellow if it’s properly encrypted.&lt;/li&gt;&lt;li&gt;Never use a public computer to make web transactions. Even if the web site is encrypted, there could be snooping software installed on the computer that could get your user account and password as you type it. Only conduct sensitive transactions on computers you trust and get the spyware off first!&lt;/li&gt;&lt;li&gt;Just because a web site is encrypted, doesn’t mean your data is protected. Many smaller companies have not invested in proper security to protect your password and credit card information.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;div style="color: rgb(255, 0, 0);" align="center"&gt;&lt;b&gt;&lt;p style=""&gt;As a general rule, never give your password to anyone, especially not a password you use in other medium or high-risk systems&lt;/p&gt;&lt;/b&gt;&lt;/div&gt;  &lt;h2&gt;High risk systems&lt;/h2&gt;  &lt;p&gt;Any system that contains your social security number, drivers license number, or other financial account numbers should be considered high risk. Systems that contain sensitive business information should be protected with a strong password, and if they’re connected to the internet, that password should be changed frequently.&lt;/p&gt;  &lt;p&gt;For the most part, this means treating your laptop or workstation as a high-risk system so use a different password to log into it than you use for e-commerce or general use.&lt;/p&gt;  &lt;p&gt;In most cases, you can get by with three passwords, using them on the appropriate level of system: a weak password for general, low risk systems; a strong password for e-commerce and medium risk systems, and a different strong password for any computer you use that has business or sensitive information on it. In some cases, this isn’t enough. If you have critical systems that contain personally identifiable customer data, or administrative access on customer machines, you may need to manage dozens of passwords. We'll cover how to securely manage dozens of passwords, as well as create strong ones, next month.&lt;/p&gt;  &lt;p&gt;As a general rule, never give your password to anyone, especially not a password you use in other medium or high-risk systems. If you’re getting help from somebody who administers a service for you, they will be able to set your password to something else without knowing your password.&lt;/p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;Regards&lt;br /&gt;&lt;span style="color: rgb(102, 0, 0); font-style: italic;"&gt;Shanker J&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 0); font-style: italic;"&gt;Linux  &amp; Oracle DBA Administrator&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 0); font-style: italic;"&gt;RHCE, MCSA, MCA.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;  &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-5140053868382874399?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/5140053868382874399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=5140053868382874399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/5140053868382874399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/5140053868382874399'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2007/02/your-dogs-name.html' title='Smarter Password Management'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-3175207286032419780</id><published>2006-12-04T06:44:00.000-08:00</published><updated>2007-03-01T05:43:40.029-08:00</updated><title type='text'>MYSQL</title><content type='html'>Grant permission to user from remote or local location&lt;br /&gt;&lt;br /&gt;GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'Password';&lt;br /&gt;GRANT ALL PRIVILEGES ON *.* TO 'admin'@'69.xx.xx.20' IDENTIFIED BY 'camp1';&lt;br /&gt;&lt;br /&gt;SET PASSWORD FOR 'root'@'localhost' = PASSWORD('Password');&lt;br /&gt;&lt;br /&gt;UPDATE mysql.user SET Password=PASSWORD('Qua4rigadb') WHERE User='root';&lt;br /&gt;&lt;br /&gt;SET PASSWORD FOR 'sugarcrm'@'localhost' = OLD_PASSWORD('Qua4rigadb');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt; HOW TO RESET THE ROOT PASSWORD&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1  Stop Mysql&lt;br /&gt;2  Start mysql with --skip&lt;br /&gt; (#mysqld --skip-grant-tables --user=root&amp;amp;; mysql -uroot)&lt;br /&gt;&lt;br /&gt;3  UPDATE mysql.user SET Password=PASSWORD('Qua4rigadb') WHERE User='root';&lt;br /&gt;4  FLUSH PRIVILEGES;&lt;br /&gt;&lt;br /&gt;To backup all the mysql&lt;br /&gt;# Dump all mysql databases&lt;br /&gt;mysqldump --add-drop-table -A --user=root --password=Qua4rigadb &gt; /backup/mysql/databases.sql&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GRANT ALL PRIVILEGES ON *.* TO 'shanker'@'localhost'  IDENTIFIED BY 'shanker123' WITH GRANT OPTION;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-3175207286032419780?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/3175207286032419780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=3175207286032419780' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/3175207286032419780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/3175207286032419780'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2006/12/mysql.html' title='MYSQL'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-9124397516029827381</id><published>2006-12-04T02:23:00.000-08:00</published><updated>2006-12-04T02:31:26.335-08:00</updated><title type='text'>Veritas Volume Manager</title><content type='html'>&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt;&lt;title&gt;Veritas Volume Manager  &lt;/title&gt;&lt;meta name="GENERATOR" content="OpenOffice.org 1.9.104  (Linux)"&gt;&lt;meta name="AUTHOR" content="101441"&gt;&lt;meta name="CREATED" content="20031123;22290000"&gt;&lt;meta name="CHANGEDBY" content="303028574"&gt;&lt;meta name="CHANGED" content="20041125;19010000"&gt;              &lt;style&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   H2 { margin-top: 0.19in; margin-bottom: 0.19in; font-family: "Arial Unicode MS", sans-serif; page-break-after: auto }   P { margin-bottom: 0.08in }   H4 { margin-top: 0.19in; margin-bottom: 0.19in; page-break-after: auto }   H4.western { font-family: "Arial", sans-serif; font-size: 14pt }   H4.cjk { font-family: "Arial Unicode MS", sans-serif; font-size: 14pt }   H4.ctl { font-family: "Arial", sans-serif; font-size: 14pt }   H3 { margin-top: 0.19in; margin-bottom: 0.19in; page-break-after: auto }   H3.western { font-family: "Arial", sans-serif; font-size: 12pt }   H3.cjk { font-family: "Arial Unicode MS", sans-serif; font-size: 12pt }   H3.ctl { font-family: "Arial", sans-serif; font-size: 12pt }   A:link { color: #0000ff; text-decoration: none }  --&gt;  &lt;/style&gt;  &lt;h2&gt;Veritas Volume Manager   &lt;/h2&gt; &lt;p style="margin-bottom: 0in;"&gt;  1.  Volume Manager Objects                                 Printer Friendly &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;1.1  Disks   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;1.2  Disk groups  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;1.3  Volume Manager disks  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;1.4  Sub disks  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;1.5  Plexes  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;1.6  Volumes  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;1.7  Volume Manger Objects &amp; their Relationship  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     2.    Volume Manager Configuration ( options menu)  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.1   Add or initialize one or more disks   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.2   Encapsulate one or more disks   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.3   Remove a disk   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.4   Remove a disk for replacement  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.5   Replace a failed or removed disk   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.6   Mirror volumes on a disk  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.7   Move volumes from a disk   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.8   Enable access to (import) a disk group  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.9   Remove access to (deport) a disk group   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.10 Enable (online) a disk device  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.11 Disable (offline) a disk device  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.12 Mark a disk as a spare for a disk group  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;2.13 Turn off the spare flag on a disk  &lt;/p&gt; &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;About Veritas volume manager:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Veritas Volume Manager is a software product from veritas Inc. and it is used to manage disk storage.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;The main features of volume manager are following:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;1.&lt;/b&gt; Allows creation of logical volumes spanning over multiple disks. This overcomes the physical limit of the disk.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;2.  &lt;/b&gt;Provides high availability storage solutions through RAID, Mirroring of disks .&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;3. &lt;/b&gt;Provides fail over features by providing transferable disk group ownership between systems.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;4.&lt;/b&gt;  Dynamic reconfiguration of disk storage in an online system state. what is veritas volume manager .&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;The following  article describes the volume manager objects and configuration of these  objects using a text menu based utility called vxdiskadm .&lt;/span&gt;&lt;/p&gt; &lt;h4 class="western" style="margin-left: 0.5in;"&gt;1.0  Volume Manager Objects         &lt;/h4&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;u&gt;&lt;b&gt;Disks&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Disks are referred in volume manager by two terms -  device  name  and disk name . The device name specifies controller , target id and slice of  the disk . Disk name is the common name given to the device name as an easy to remember  name .&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;For example device name c2t3dos2  represents  controller  number 2 , target id 3 , disk group 0 and slice 2 and disk01 may be its disk name . While device name is system dependent based on controller and disk id  the  disk name is user defined . &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;u&gt;&lt;b&gt;Disk groups :&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-top: 0.19in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  &lt;i&gt;disk group&lt;/i&gt; is a collection of volume manager disks grouped  together to hold the data . All the configuration changes  made  to a disk group are applied to the disks in that disk group only.   &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Volume  Manager objects cannot span disk groups i.e. all the operations on a  particular disk group remains confined to that particular group . &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Disk  groups enable high availability as these can be shared by two or  more hosts  but can be accessed by only one host at &lt;span style="background: rgb(255, 255, 255) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;"&gt;a  time. In two hosts and a shared storage situation one  host can  take over the ownership of  the disk groups and drives  in  case other  host fails.&lt;/span&gt; &lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;u&gt;&lt;b&gt;Volume Manager disks&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-top: 0.19in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Adding  physical  disks  to the volume manager results in creation  of  public and private region in the disk by the volume manager  .The public region is the disk space available for volume space and  the private region stores the configuration information.  &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  Volume Manager  disks are created from the public region of a  physical disk that is under Volume Manager control. Each volume  manager disk corresponds to one physical disk. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  volume manager disk is given a disk media name when it is added to a  disk group which can be default or unique user defined.. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Once  a volume manager disk is assigned a disk media name, the disk is no  longer referred to by its physical address of &lt;span style="font-family:Courier New, monospace;"&gt;c#t#d#&lt;/span&gt;.  The physical address of &lt;span style="font-family:Courier New, monospace;"&gt;c#t#d#&lt;/span&gt;  becomes known as the disk access record. &lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;u&gt;&lt;b&gt;Subdisks&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-top: 0.19in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  subdisk is a subsection of a disk's public region  and is   the smallest unit of storage in Volume Manager.   &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  subdisk is defined by an offset and a length in sectors on a volume  manager disk. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  volume manager disk can contain multiple subdisks  but subdisks  cannot overlap or share the same portions of a volume manager disk. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;volume  manager disk space that is not reserved or that is not part of a  subdisk is free space. You can use free space to create new  subdisks. &lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A subdisk is similar to a partition but with following differences :&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-top: 0.19in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;The  maximum number of partitions to a disk is eight. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;There  is no theoretical limit to number of subdisks that can be attached  to a single plex, but it has been limited to a default value of  4096. If required, this default can be changed, using the  &lt;span style="font-family:Courier New, monospace;"&gt;vol_subdisk_num&lt;/span&gt; tunable  parameter. &lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;u&gt;&lt;b&gt;Plexes&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-top: 0.19in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  &lt;b&gt;&lt;span style="color:#000000;"&gt;plex&lt;/span&gt;&lt;/b&gt; is a structured or ordered  collection of subdisks that represents one copy of the data in a  volume. A &lt;b&gt;&lt;span style="color:#000000;"&gt;plex&lt;/span&gt;&lt;/b&gt; consists of one  or more subdisks located on one or more physical disks. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  plex is also called a mirror. The terms plex and mirror can be used  interchangeably, even though a plex is only one copy of the data.  The terms "mirrored" or "mirroring" imply two or  more copies of data. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;The  length of a plex is determined by the last block that can be read or  written on the last subdisk in the plex. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;The  default naming convention for plexes in a volume is &lt;span style="font-family:Courier New, monospace;"&gt;&lt;i&gt;volumename&lt;/i&gt;-##&lt;/span&gt;.  The default plex name consists of the volume name, a hyphen, and a  two-digit number &lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;u&gt;&lt;b&gt;Volumes&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-top: 0.19in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  volume is composed of one or more plexes  not restricted by the  physical size of the disk.  &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A  volume can span across multiple disks.  &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Volume  Manager uses the default naming convention &lt;span style="font-family:Courier New, monospace;"&gt;vol##&lt;/span&gt;  for volumes, where ## represents a two-digit number but can be user  defined  as per requirement. &lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Volume Manager Objects and Their Relationship&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;dl&gt;&lt;dd&gt;  &lt;table border="1" cellpadding="0" cellspacing="3" width="432"&gt;   &lt;col width="188"&gt;   &lt;col width="232"&gt;   &lt;tbody&gt;&lt;tr&gt;    &lt;td height="160" width="188"&gt;     &lt;p align="center"&gt;&lt;/p&gt;    &lt;/td&gt;    &lt;td width="232"&gt;     &lt;p align="center"&gt;&lt;/p&gt;    &lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td colspan="2" height="163" width="424"&gt;     &lt;p align="center"&gt;     &lt;/p&gt;    &lt;/td&gt;   &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/dd&gt;&lt;/dl&gt; &lt;h4 class="western" style="margin-left: 0.5in;"&gt;2.0  Volume Manager Configuration&lt;/h4&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Volume configuration consists of adding two or more disks to form   disk group and create volume/s from this disk group. File system can be created on these volumes or these can be accessed as raw devices for some database applications. First step in volume manager configuration consists of adding and initializing disks  under volume manager  which  creates a public region which is bulk of disk space available for volume space .Private  region which is generally of a few megabytes stores the disk configuration information .&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Most of the volume manager operation related to disks &amp;  volume can be performed by a character based menu utility call vxdiskadm  &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Following paragraphs describes   the use of vxddiskadm to configure and manage volume manager.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;#vxdiskadm&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Typing vxdiskadm brings up a menu based utility (text)  . The options , their explanation and screen shots are given below .Most of the options need a disk name , device name or disk group name and you can have this information by typing list in the vxdiskadm menu .The list menu option is used  to display a list of disks attached to your system. This also lists removed or failed disks. Most useful to get a quick view of all disks or list details of  a single disk - its name , volume association and status.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;A disk needs to be formatted in order to be included in volume manager  . volume manager will report unformatted disk as invalid and a will only recognize after formatting &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;By default all the available disks in the system are considered for inclusion as volume manager disk however to exclude certain disks, list the names of the disks to be excluded in the file /etc/vx/disks.exclude before the initialization or encapsulation. Similarly, you can exclude all disks on specific controllers from initialization or encapsulation by listing those controllers in the file /etc/vx/cntrls.exclude.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;? &amp; ??  options provide help about the menu item and menu system.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;#vxdiskadm&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;dl&gt;&lt;dd&gt;  &lt;table border="0" cellpadding="0" cellspacing="0" width="526"&gt;   &lt;col width="526"&gt;   &lt;tbody&gt;&lt;tr&gt;    &lt;td bg width="526" style="color:#dbdbdb;"&gt;     &lt;p&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Volume     Manager Support Operations &lt;br /&gt;  Menu:     VolumeManager/Disk &lt;br /&gt; &lt;br /&gt;  1        Add or initialize one or more disks &lt;br /&gt;  2        Encapsulate one or more disks &lt;br /&gt;  3        Remove a disk &lt;br /&gt;  4    Remove a disk     for replacement &lt;br /&gt;  5    Replace a     failed or removed disk &lt;br /&gt;  6        Mirror volumes on a disk &lt;br /&gt;  7        Move volumes from a disk &lt;br /&gt;  8        Enable access to (import) a disk group &lt;br /&gt;  9        Remove access to (deport) a disk group &lt;br /&gt;  10       Enable (online) a disk device &lt;br /&gt;  11       Disable (offline) a disk device &lt;br /&gt;  12       Mark a disk as a spare for a disk group &lt;br /&gt;  13       Turn off the spare flag on a disk &lt;br /&gt;  list List disk     information &lt;br /&gt;&lt;br /&gt;  ?        Display help about menu &lt;br /&gt;  ??   Display     help about the menuing system &lt;br /&gt;  q        Exit from menus &lt;br /&gt; &lt;br /&gt;  Select an operation     to perform &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;/td&gt;   &lt;/tr&gt;  &lt;/tbody&gt;&lt;/table&gt; &lt;/dd&gt;&lt;/dl&gt; &lt;h3 class="western" style="margin-left: 0.5in;"&gt;2.1  &lt;u&gt;Add or initialize one or more disks&lt;/u&gt;  &lt;/h3&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;The formatted disks can be added or initialized with volume manager . Disk groups needs to be given for making a new group or adding disks in existing group. Default  disk group is rootdg and if none is specified the disks are added to volume manager and are kept as hot spares which can be used in place of a failed disk. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select&lt;/b&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; 1 (Add or initialize one or more disks) &lt;b&gt;from the&lt;/b&gt; vxdiskadm &lt;b&gt;main menu&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="584"&gt;  &lt;col width="584"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="584" style="color:#dbdbdb;"&gt;    &lt;p style="margin-left: 0.42in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Add    or initialize disks  &lt;br /&gt;  Menu:    VolumeManager/Disk/AddDisks&lt;br /&gt; &lt;br /&gt;  Use this    operation to add one or more disks to a disk group. You can add    the selected disks to an existing disk group or to a new disk    group that will be  created as a part of the operation. The    selected disks may also be added to a disk group as spares. The    selected disks may also be initialized without adding them to a    disk group leaving the disks available for use as replacement    disks.  &lt;br /&gt; &lt;br /&gt;  More than one disk or pattern    may be entered at the prompt. Here are some disk selection    examples: &lt;br /&gt; &lt;br /&gt;   all:              all disks &lt;br /&gt;   c3 c4t2:          all disks on both controller 3 and controller          4,target 2 &lt;br /&gt;   c3t4d0:           a single disk &lt;br /&gt; &lt;br /&gt;  Select disk devices to    add:&lt;br /&gt;  [&lt;pattern-list&gt;,all,list,q,?]&lt;b&gt;list&lt;/b&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;pattern-list&gt; can be a single or more disks and/or controllers. If &lt;pattern-list&gt; consists of multiple items, those items must be separated by white space. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;list at the prompt displays a list of the disks available to the system, followed by a prompt at which you should type the device name of the disk to be added: &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="394"&gt;  &lt;col width="394"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="394" style="color:#dbdbdb;"&gt;    &lt;p&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;     DEVICE       DISK            GROUP        STATUS &lt;br /&gt;     c0t0d0       disk01          rootdg       online &lt;br /&gt;     c0t1d0       disk02          rootdg       online &lt;br /&gt;     c0t2d0       disk03          rootdg       online &lt;br /&gt;     c0t3d0       -               -               online &lt;br /&gt;  c1t0d0          disk10       rootdg          online &lt;br /&gt;  c1t0d1          -               -               error &lt;br /&gt;  . &lt;br /&gt;  . &lt;br /&gt;     . &lt;br /&gt;  c3t0d0          -               -               error &lt;br /&gt;  c3t1d0          disk33       rootdg          online &lt;br /&gt;  c3t2d0          disk34       rootdg          online &lt;br /&gt;  c3t3d0          disk35       rootdg          online &lt;br /&gt; &lt;br /&gt;  Select disk devices    to add: &lt;br /&gt;  [&lt;pattern-list&gt;,all,list,q,?]    c1t0d1  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;All disks attached to the system are recognized by the Volume Manager and displayed here.. Error status indicates disks  not recognized by volume manager as part of volume manager and can be used to add in the volume manager .. Disks with a name , group and online status are present in volume manager in a  valid volume manager disk group .One or more disks separated by space  can be selected for adding into volume manager. &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="575"&gt;  &lt;col width="575"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="575" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Here    is the disk selected.  Output format: [Device_Name] &lt;br /&gt;       c1t2d0 &lt;br /&gt;  Continue operation? [y,n,q,?]    (default: y) &lt;b&gt;y&lt;/b&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;       &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;You    can choose to add this disk to an existing disk group, a &lt;br /&gt;       new disk group, or leave the disk available for use by    future &lt;br /&gt;    add or replacement    operations.  To create a new disk group, select  a disk    group name that does not yet exist.  To leave the disk &lt;br /&gt;       available for future use, specify a disk group name of    "none". &lt;br /&gt; &lt;br /&gt;  Which disk    group [&lt;group&gt;,none,list,q,?] (&lt;b&gt;default&lt;/b&gt;: rootdg)      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Use    a default disk name for the disk? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: y)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Add    disk as a spare disk for rootdg? [y,n,q,?] (default: n) &lt;b&gt;n&lt;/b&gt; &lt;/span&gt;&lt;/span&gt;    &lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;The    selected disks will be added to the disk group rootdg with &lt;br /&gt;     default disk names. &lt;br /&gt; &lt;br /&gt;       c1t2d0 &lt;br /&gt; &lt;br /&gt;  Continue with    operation? [y,n,q,?] (default: y) &lt;b&gt;y&lt;/b&gt;  &lt;br /&gt;&lt;br /&gt;       The following disk device has a valid VTOC, but does not appear to    have &lt;br /&gt;    been initialized for the    Volume Manager.  If there is data on the disk &lt;br /&gt;       that should NOT be destroyed you should encapsulate the existing    disk &lt;br /&gt;    partitions as volumes    instead of adding the disk as a new disk. &lt;br /&gt;       Output format: [Device_Name] &lt;br /&gt;       c1t2d0 &lt;br /&gt;  Encapsulate this device? [y,n,q,?]    (default: y) &lt;b&gt;n &lt;/b&gt;&lt;br /&gt;    c1t2d0 &lt;br /&gt;     Instead of encapsulating, initialize? [y,n,q,?] (default: n)&lt;b&gt;    y   &lt;/b&gt;&lt;br /&gt;  Initializing device    c1t2d0. &lt;br /&gt;  Adding disk device c1t2d0 to    disk group rootdg with disk &lt;br /&gt;  name    disk39.&lt;br /&gt; Add or initialize other disks? [y,n,q,?]    (&lt;b&gt;default&lt;/b&gt;: n)   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;h3 class="western"&gt;2.2 Encapsulate one or more disks&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;This is used to bring the disk under volume manager , which are already present in the system with data but without volume manager  . Data on these disks are not disturbed and if these disks meets certain volume manager requirements these are added under volume manager. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;System needs rebooting if  encapsulation is used for disk with mounted filesystem or running applications . Also the old  device names needs to be changed in applications/scripts to reflect the new volume name. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;vfstab information is updated automatically but it is worthwhile  to check vfstab if changes are proper as any discrepancy in vfstab may cause system boot failure  on next reboot. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Encapsulation preserves any existing data on the disk when the disk is placed under volume manager control. To reduce the &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;chance of encapsulation failure, make sure that the disk meets  the following requirements:- &lt;/span&gt; &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-top: 0.19in; margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;It  has a small amount of free space (at the beginning or end of the  disk) that does not belong to any partition &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;It  has two free partitions &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;It  has an s2 slice that represents the whole disk &lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;One of the most common application  is encapsulation of root disk to bring it under volume manager and then  mirror it to have an alternate boot disk .  &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;The EEPROM variable use-nvramrc? must be set to true and an alternate boot disk alias name needs to be defined to access the second boot disk by an alternate  alias name in case primary disk fails. &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="239"&gt;  &lt;col width="239"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="239"&gt;    &lt;p&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;br /&gt;  ok&gt;eeprom    use-nvramrc?=true  &lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Procedure for encapsulating  a disk for volume manager use is  as follows: &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;2 (Encapsulate one or more disks) &lt;b&gt;from the &lt;/b&gt;vxdiskadm &lt;b&gt;main menu and follow the prompts :-&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="578"&gt;  &lt;col width="578"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="578" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Encapsulate one or more disks &lt;br /&gt;  Menu:    VolumeManager/Disk/Encapsulate &lt;br /&gt; &lt;br /&gt;       Use this operation to convert one or more disks to use the    Volume Manager. &lt;br /&gt;    This adds    the disks to a disk group and replaces existing&lt;/span&gt;&lt;/span&gt;     &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;    &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;partitions &lt;br /&gt;       with volumes.  Disk encapsulation requires a reboot for the &lt;/span&gt;&lt;/span&gt;       &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;    &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;changes to    take effect. &lt;br /&gt; &lt;br /&gt;       More than one disk or pattern may be entered at the prompt.     Here&lt;/span&gt;&lt;/span&gt;     &lt;/p&gt;    &lt;p&gt;    &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;are    some disk selection examples: &lt;br /&gt; &lt;br /&gt;       all:              all disks &lt;br /&gt;    c3 c4t2:          all disks on both controller 3 and controller 4, target 2 &lt;br /&gt;       c3t4d0:        a single    disk &lt;br /&gt; &lt;br /&gt;  Select disk devices to    encapsulate: &lt;br /&gt;  [&lt;pattern-list&gt;,all,list,q,?]    &lt;b&gt;c2t5d0 &lt;/b&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;pattern-list&gt; can be a single disk, or a series of disks and/or controllers (with optional targets). If &lt;pattern-list&gt; consists of multiple items, those items must be separated by white space. &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="578"&gt;  &lt;col width="578"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="578" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;   &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Here    is the disk selected.  Output format: [Device_Name] &lt;br /&gt;       c2t5d0 &lt;br /&gt;  Continue operation? [y,n,q,?]    (default: y) &lt;b&gt;y&lt;/b&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;       &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;You    can choose to add this disk to an existing disk group or to &lt;br /&gt;       a new disk group.  To create a new disk group, select a disk    group name that does not yet exist. &lt;br /&gt; &lt;br /&gt;     Which disk group [&lt;group&gt;,list,q,?] (&lt;b&gt;default&lt;/b&gt;:    rootdg) &lt;br /&gt;  Use a default disk name for the    disk? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: y)&lt;br /&gt;       The selected disks will be encapsulated and added to the    rootdg &lt;br /&gt;    disk group with default    disk names. &lt;br /&gt; &lt;br /&gt;       c2t5d0 &lt;br /&gt; &lt;br /&gt;  Continue with    operation? [y,n,q,?] (default: y)&lt;b&gt; y &lt;/b&gt;&lt;br /&gt;  The    following disk has been selected for encapsulation.  Output    format: &lt;br /&gt;  [Device_Name] &lt;br /&gt; &lt;br /&gt;       c2t5d0 &lt;br /&gt; &lt;br /&gt;  Continue with    encapsulation? [y,n,q,?] (default: y) &lt;b&gt;y&lt;/b&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;       &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;The disk device    c2t5d0 will be encapsulated and added to the disk &lt;br /&gt;       group  rootdg with the disk name disk01. &lt;br /&gt;       The c2t5d0 disk has been configured for encapsulation. &lt;br /&gt;       The first stage of encapsulation has completed successfully.     You &lt;br /&gt;    should now reboot your    system at the earliest possible opportunity. &lt;br /&gt;       The encapsulation will require two or three reboots which will    happen automatically after the next reboot.  To reboot    execute the command: &lt;br /&gt;    shutdown    -g0 -y -i6 &lt;br /&gt;    This will update the    /etc/vfstab file so that volume devices are &lt;br /&gt;       used to mount the file systems on this disk device.  You will    need  to update any other references such as backup    scripts, databases,&lt;br /&gt;    or manually created swap    devices.   &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;     &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Encapsulate    other disks? [y,n,q,?] (default: n) &lt;b&gt;n&lt;/b&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;    &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;The    disk device c2t5d0 will be encapsulated and added to the disk    group rootdg with the disk name disk01. &lt;br /&gt;       The encapsulation operation failed with the following error: &lt;br /&gt;       It is not possible to encapsulate c2t5d0, for the following    reason: &lt;br /&gt;    &lt;vxvm:vxslicer:&gt; &lt;br /&gt;  Hit    RETURN to continue. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Encapsulation may  fail  if  there is not enough free space available on the disk to accommodate volume manager. If this happens, the procedure above will end abruptly with an error message as above . &lt;/span&gt; &lt;/p&gt; &lt;h3 class="western"&gt;2.3 Remove a disk&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;This option  is used to remove a disk from a disk group    provided there is no active volume using this disk .. If there are some volumes using the disk the  those have to be either moved to some other disk or removed  if they are no longer needed. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;However since a diskgroup must have at least one disk you can not remove all the disks from a disk group . To remove all disks from a diskgroup you have to disable the volume group with the exception of  rootdg disk group which can not be disabled . &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;3&lt;b&gt; (&lt;/b&gt;Remove a disk&lt;b&gt;) from the &lt;/b&gt;vxdiskadm&lt;b&gt; main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="538"&gt;  &lt;col width="538"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="538" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Remove a disk &lt;br /&gt;  Menu:    VolumeManager/Disk/RemoveDisk &lt;br /&gt; &lt;br /&gt;     Use this operation to remove a disk from a disk group. This &lt;br /&gt;     operation takes, as input, a disk name. This is the same name &lt;br /&gt;     that you gave to the disk when you added the disk to the disk &lt;br /&gt;     group. &lt;br /&gt; &lt;br /&gt;  Enter disk name    [&lt;disk&gt;,list,q,?] &lt;b&gt;disk01 &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;     &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Requested    operation is to remove disk disk01 from group rootdg. &lt;br /&gt; &lt;br /&gt;     Continue with operation? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: y)      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Removal    of disk disk01 is complete. &lt;br /&gt;&lt;br /&gt;  Remove    another disk? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;   &lt;/p&gt; &lt;h3 class="western"&gt;2.4 Remove a disk for replacement&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;This option is used for removing the disk  but retaining the name of the disk so that it can be used by the newly  replaced disk . The replacement disk can be a newly added disk or already available disk in the other disk groups  &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;4 (Remove a disk for replacement&lt;b&gt;) from the &lt;/b&gt;vxdiskadm&lt;b&gt; main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="546"&gt;  &lt;col width="546"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="546" style="color:#dbdbdb;"&gt;    &lt;p&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;     Remove a disk for replacement &lt;br /&gt;  Menu:    VolumeManager/Disk/RemoveForReplace &lt;br /&gt; &lt;br /&gt;     Use this menu operation to remove a physical disk from a disk &lt;br /&gt;     group, while retaining the disk name. This changes the state &lt;br /&gt;     for the disk name to a removed disk. If there are any &lt;br /&gt;     initialized disks that are not part of a disk group, you will    be &lt;br /&gt;  given the option of using one of these    disks as a replacement. &lt;br /&gt; &lt;br /&gt;     Enter disk name [&lt;disk&gt;,list,q,?] disk02  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Additional screens display if there are volumes associated with the disk you want to remove. You have to decide if data is needed or not needed and answer the prompts as asked . &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="538"&gt;  &lt;col width="538"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="538" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;     The following devices are available as replacements: &lt;br /&gt;          c1t1d0 &lt;br /&gt; &lt;br /&gt;  You can choose one of    these disks now, to replace disk02. &lt;br /&gt;  Select    "none" if you do not wish to select a replacement    disk. &lt;br /&gt; &lt;br /&gt;  Choose a device, or    select "none" &lt;br /&gt;  [&lt;device&gt;,none,q,?]    (default: c1t1d0)   &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;     &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Requested    operation is to remove disk disk02 from group rootdg. &lt;br /&gt;     The removed disk will be replaced with disk device c1t1d0. &lt;br /&gt; &lt;br /&gt;     Continue with operation? [y,n,q,?] (default: y)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;     &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Removal of disk    disk02 completed successfully. &lt;br /&gt; &lt;br /&gt;     Proceeding to replace disk02 with device c1t1d0. &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;       &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Disk    replacement completed successfully.&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;        &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Remove    another disk? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;h3 class="western"&gt;2.5 Replace a failed or removed disk&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;This option is used to replace a failed or removed disk  . The new disk can be initialized or non initialized  as this option does initialization  . &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;5&lt;b&gt; (&lt;/b&gt;Replace a failed or removed disk&lt;b&gt;) from the &lt;/b&gt;vxdiskadm&lt;b&gt; main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="562"&gt;  &lt;col width="562"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="562" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;     Replace a failed or removed disk &lt;br /&gt;  Menu:    VolumeManager/Disk/ReplaceDisk &lt;br /&gt; &lt;br /&gt;     Use this menu operation to specify a replacement disk for a    disk &lt;br /&gt;  that you removed with the "Remove    a disk for replacement" menu &lt;br /&gt;  operation,    or that failed during use. You will be prompted for &lt;br /&gt;     a disk name to replace and a disk device to use as a    replacement. &lt;br /&gt;  You can choose an uninitialized    disk, in which case the disk will &lt;br /&gt;  be    initialized, or you can choose a disk that you have already &lt;br /&gt;     initialized using the Add or initialize a disk menu    operation. &lt;br /&gt; &lt;br /&gt;  Select a removed    or failed disk [&lt;disk&gt;,list,q,?] disk02    &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;The    following devices are available as replacements: &lt;br /&gt;          c1t0d0s2 c1t1d0s2 &lt;br /&gt; &lt;br /&gt;  You can    choose one of these disks to replace disk02. &lt;br /&gt;     Choose "none" to initialize another disk to replace    disk02. &lt;br /&gt; &lt;br /&gt;  Choose a device, or    select "none" &lt;br /&gt;  [&lt;device&gt;,none,q,?]    (default: c1t0d0s2)   &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;The    requested operation is to use the initialized device c1t0d0s2 &lt;br /&gt;     to replace the removed or failed disk disk02 in disk group    rootdg. &lt;br /&gt; &lt;br /&gt;  Continue with    operation? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: y) &lt;/span&gt;&lt;/span&gt; &lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Replacement    of disk disk02 in group rootdg with disk device &lt;br /&gt;     c1t0d0s2 completed successfully. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="3"&gt;  &lt;col width="3"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="3"&gt;    &lt;p&gt;&lt;br /&gt;   &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;h3 class="western"&gt;2.6 Mirror volumes on a disk&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;volumes can be mirrored to another disk with available space however it can not be used to mirror existing mirrors or mirrors spanning more than one sub disk .  &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;To mirror volumes on a disk, make sure that the target disk has an equal or greater amount of space as the originating disk and then do the following &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item&lt;/b&gt; 6 (Mirror volumes on a disk) &lt;b&gt;from the &lt;/b&gt;vxdiskadm&lt;b&gt; main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="554"&gt;  &lt;col width="554"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="554" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Mirror volumes on a disk &lt;br /&gt;  Menu:    VolumeManager/Disk/Mirror &lt;br /&gt; &lt;br /&gt;     This operation can be used to mirror volumes on a disk. These &lt;br /&gt;     volumes can be mirrored onto another disk or onto any &lt;br /&gt;     available disk space. Volumes will not be mirrored if they are &lt;br /&gt;     already mirrored. Also, volumes that are comprised of more    than &lt;br /&gt;  one subdisk will not be    mirrored. &lt;br /&gt; &lt;br /&gt;  Mirroring volumes    from the boot disk will produce a disk that can &lt;br /&gt;     be used as an alternate boot disk. &lt;br /&gt; &lt;br /&gt;     Enter disk name [&lt;disk&gt;,list,q,?] &lt;b&gt;disk02 &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;You    can choose to mirror volumes from disk disk02 onto any &lt;br /&gt;     available disk space, or you can choose to mirror onto a    specific &lt;br /&gt;  disk. To mirror to a specific disk,    select the name of that disk. &lt;br /&gt;  To mirror to    any available disk space, select "any". &lt;br /&gt; &lt;br /&gt;     Enter destination disk [&lt;disk&gt;,list,q,?] (default: any)    &lt;b&gt;disk01&lt;/b&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;&lt;br /&gt;   &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Note - Be sure to always specify the destination disk when you are creating an alternate root disk. Otherwise, the volume manager will select space available in the disk group which might span disk and will result in boot failure from this disk. &lt;/span&gt; &lt;/p&gt; &lt;h3 class="western"&gt;2.7 Move volumes from a disk&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;This option is used in case the disk is to be replaced or removed and has active volumes on the disk. . Also volumes can be moved to different disk groups for better space , performance etc. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;7 &lt;b&gt;(&lt;/b&gt;Move volumes from a disk&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt; from the from the from the from the &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;vxdiskadm&lt;/span&gt;&lt;/span&gt;&lt;b&gt; main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="552"&gt;  &lt;col width="552"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="552" style="color:#e2e2e2;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Move volumes from a disk &lt;br /&gt;  Menu:    VolumeManager/Disk/Evacuate &lt;br /&gt; &lt;br /&gt;     Use this menu operation to move any volumes that are using a &lt;br /&gt;     disk onto other disks. Use this menu immediately prior to &lt;br /&gt;     removing a disk, either permanently or for replacement. You    can &lt;br /&gt;  specify a list of disks to move volumes    onto, or you can move the &lt;br /&gt;  volumes to any    available disk space in the same disk group. &lt;br /&gt; &lt;br /&gt;     NOTE: Simply moving volumes off of a disk, without also    removing &lt;br /&gt;           the disk, does not prevent volumes from being moved onto &lt;br /&gt;           the disk by future operations. For example, using two &lt;br /&gt;           consecutive move operations may move volumes from the &lt;br /&gt;           second disk to the first. &lt;br /&gt; &lt;br /&gt;     Enter disk name [&lt;disk&gt;,list,q,?] &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;disk01&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;     You can now specify a list of disks to move onto.  Specify a    list &lt;br /&gt;  of disk media names (e.g., disk01) all    on one line separated by &lt;br /&gt;  blanks.  If    you do not enter any disk media names, then the &lt;br /&gt;     volumes will be moved to any available space in the disk group.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Requested    operation is to move all volumes from disk disk01 in &lt;br /&gt;     group rootdg. &lt;br /&gt; &lt;br /&gt;  NOTE: This    operation can take a long time to complete. &lt;br /&gt; &lt;br /&gt;     Continue with operation? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: y) &lt;br /&gt;&lt;br /&gt;     Move volume vol3 ... &lt;br /&gt;  Move volume vol3-bk00    ... &lt;br /&gt;  Evacuation of disk disk01 is complete. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Move    volumes from another disk? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)  &lt;/span&gt;&lt;/span&gt;    &lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;h3 class="western"&gt;2.8 Enable access to (import) a disk group&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Used in enabling ownership of the other system to a disk group which has been deported  by the other  system. Used in failover configurations where the ownership  of a shared disk/disk group is transferred to the other system in case of failure of current system. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item&lt;/b&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;8(Enable access to (import) a disk group&lt;/span&gt;&lt;/span&gt;) &lt;b&gt;from the &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;vxdiskadm&lt;/span&gt;&lt;/span&gt; &lt;b&gt;main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="562"&gt;  &lt;col width="562"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="562" style="color:#e2e2e2;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Enable access to (import) a disk group &lt;br /&gt;  Menu:    VolumeManager/Disk/EnableDiskGroup &lt;br /&gt; &lt;br /&gt;     Use this operation to enable access to a disk group. This can    be &lt;br /&gt;  used as the final part of moving a disk    group from one system to &lt;br /&gt;  another. The first    part of moving a disk group is to use the &lt;br /&gt;     "Remove access to (deport) a disk group" operation on    the &lt;br /&gt;  original host. &lt;br /&gt; &lt;br /&gt;     A disk group can be imported from another host that failed    without &lt;br /&gt;  first deporting the disk group. Be    sure that all disks in the disk &lt;br /&gt;  group are    moved between hosts. &lt;br /&gt; &lt;br /&gt;  If two    hosts share a SCSI bus, be very careful to ensure that the &lt;br /&gt;     other host really has failed or has deported the disk group.    If &lt;br /&gt;  two active hosts import a disk group at    the same time, the disk &lt;br /&gt;  group will be    corrupted and will become unusable. &lt;br /&gt; &lt;br /&gt;     Select disk group to import [&lt;group&gt;,list,q,?] (default:    list) &lt;br /&gt;  &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;newdg&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;     &lt;br /&gt;The import of newdg was successful.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Select    another disk group? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;    &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;h3 class="western"&gt;2.9 Disable access to (deport) a disk group&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Disk group is deported if  disks groups  ownership needs to be transferred  to another system or all the disks in a disk groups needs to be freed from group. Disks in a disk groups to be deported should not  be active. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;9 &lt;b&gt;(&lt;/b&gt;Remove access to (deport) a disk group&lt;/span&gt;&lt;/span&gt;&lt;b&gt;) from the &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;vxdiskadm&lt;/span&gt;&lt;/span&gt;&lt;b&gt; main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="562"&gt;  &lt;col width="562"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="562" style="color:#e2e2e2;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Remove    access to (deport) a disk group &lt;br /&gt;  Menu:    VolumeManager/Disk/DeportDiskGroup &lt;br /&gt; &lt;br /&gt;     Use this menu operation to remove access to a disk group that    is &lt;br /&gt;  currently enabled (imported) by this    system. Deport a disk &lt;br /&gt;  group if you intend to    move the disks in a disk group to another &lt;br /&gt;     system. Also, deport a disk group if you want to use all of    the &lt;br /&gt;  disks remaining in a disk group for some    new purpose. &lt;br /&gt; &lt;br /&gt;  You will be    prompted for the name of a disk group. You will also &lt;br /&gt;     be asked if the disks should be disabled (offlined). For &lt;br /&gt;     removable disk devices on some systems, it is important to &lt;br /&gt;     disable all access to the disk before removing the disk. &lt;br /&gt; &lt;br /&gt;     Enter name of disk group [&lt;group&gt;,list,q,?] (default: list)    &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;newdg&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;The    requested operation is to disable access to the removable &lt;br /&gt;     disk group named newdg. This disk group is stored on the &lt;br /&gt;     following disks: &lt;br /&gt;          newdg01 on device c1t1d0s2 &lt;br /&gt; &lt;br /&gt;     You can choose to disable access to (also known as "offline") &lt;br /&gt;     these disks. This may be necessary to prevent errors if &lt;br /&gt;     you actually remove any of the disks from the system. &lt;br /&gt; &lt;br /&gt;     Disable (offline) the indicated disks? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;:    n) &lt;br /&gt;Continue with operation? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;:    y)  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Removal    of disk group newdg was successful.&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Disable    another disk group? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;   &lt;/p&gt; &lt;h3 class="western"&gt;2.10  Enable (online) a disk device&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Disks which are turned offline by volume manager , or which are to be imported can be enabled by this option. This operation causes disks to be scanned and find out the disk belonging  to a disk group. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;10 (&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Enable (online) a disk device&lt;/span&gt;&lt;/span&gt;)&lt;b&gt; from the &lt;/b&gt;vxdiskadm&lt;b&gt; main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="562"&gt;  &lt;col width="562"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="562" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Enable (online) a disk device &lt;br /&gt;  Menu:    VolumeManager/Disk/OnlineDisk &lt;br /&gt; &lt;br /&gt;     Use this operation to enable access to a disk that was    disabled &lt;br /&gt;  with the "Disable (offline) a    disk device" operation. &lt;br /&gt; &lt;br /&gt;     You can also use this operation to re-scan a disk that may    have &lt;br /&gt;  been changed outside of the Volume    Manager. For example, if a disk &lt;br /&gt;  is shared    between two systems, the Volume Manager running on the &lt;br /&gt;     other system may have changed the disk. If so, you can use    this &lt;br /&gt;  operation to re-scan the disk. &lt;br /&gt; &lt;br /&gt;     NOTE: Many vxdiskadm operations re-scan disks without    user &lt;br /&gt;           intervention. This will eliminate most needs to online a &lt;br /&gt;           disk directly, except when the disk is directly offlined. &lt;br /&gt; &lt;br /&gt;     Select a disk device to enable [&lt;address&gt;,list,q,?] &lt;b&gt;c1t1d0&lt;/b&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Enable    another device? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;&lt;br /&gt;   &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;h3 class="western"&gt;2.11  Disable (offline) a disk device&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;This option disables  all access to a disk  which is not part of any disk group . This is used to remove disk from volume group. Some systems do not support disks that can be removed from a system during normal operation. On such systems, the offline operation is not very useful.  &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item 11 (&lt;/b&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Disable (offline) a disk device) &lt;/span&gt;&lt;/span&gt;&lt;b&gt;from the &lt;/b&gt;vxdiskadm &lt;b&gt;main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="546"&gt;  &lt;col width="546"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="546" style="color:#dbdbdb;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Disable (offline) a disk device &lt;br /&gt;  Menu:    VolumeManager/Disk/OfflineDisk &lt;br /&gt; &lt;br /&gt;     Use this menu operation to disable all access to a disk device &lt;br /&gt;     by the Volume Manager. This operation can be applied only to &lt;br /&gt;     disks that are not currently in a disk group. Use this    operation &lt;br /&gt;  if you intend to remove a disk    from a system without rebooting. &lt;br /&gt; &lt;br /&gt;     NOTE: Many systems do not support disks that can be removed    from &lt;br /&gt;        a    system during normal operation. On such systems, the &lt;br /&gt;           offline operation is seldom useful. &lt;br /&gt; &lt;br /&gt;     Select a disk device to disable [&lt;address&gt;,list,q,?] &lt;b&gt;c1t1d0&lt;/b&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Disable    another device? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;h3 class="western"&gt;2.12 Mark a disk as a spare for a disk group&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;This   is used to reserve the disk as an automatic replacement disk ( hot-relocation) in case of  another disk in the disk group  fails. Hot-relocation  relocates redundant subdisks to other disks and restores  the affected volume manager objects and data. If a disk has already been designated as a spare in the disk group, the subdisks from the failed disk are relocated to the spare disk. Otherwise, any suitable free space in the disk group is used.  &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;12 &lt;b&gt;(&lt;/b&gt;Mark a disk as a spare for a disk group&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt; from the &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;vxdiskadm&lt;/span&gt;&lt;/span&gt;&lt;b&gt; main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="578"&gt;  &lt;col width="578"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="578" style="color:#d7d7d7;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Mark a disk as a spare for a disk group &lt;br /&gt;     Menu: VolumeManager/Disk/MarkSpareDisk &lt;br /&gt; &lt;br /&gt;       Use this operation to mark a disk as a spare for a disk    group. &lt;br /&gt;    This operation takes, as    input, a disk name. This is the same name &lt;br /&gt;       that you gave to the disk when you added the disk to the disk    group. &lt;br /&gt; &lt;br /&gt;  Enter disk name    [&lt;disk&gt;,list,q,?] &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;disk01&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;     &lt;br /&gt;  Marking of disk01 in rootdg as a spare disk    is complete.  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Mark    another disk as a spare? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;Any VM disk in this disk group can now use this disk as a spare in the event of a failure. If a disk fails, hot-relocation should automatically occur .The failed disk needs to be replaced. &lt;/span&gt; &lt;/p&gt; &lt;h3 class="western"&gt;2.13 Turn off the spare flag on a disk&lt;/h3&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;This  is used to remove  a VM Disk From the Hot-Relocation Pool &amp;  free hot-relocation spare disks for use as regular volume manager disks While a disk is designated as a spare, the space on that disk is not used as free space for the creation of volume manager objects within its disk group and this option makes this space available. &lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;Select menu item &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;13 &lt;b&gt;(&lt;/b&gt;Turn off the spare flag on a disk&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt; from the &lt;/b&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;vxdiskadm &lt;/span&gt;&lt;/span&gt;&lt;b&gt;main menu.&lt;/b&gt; &lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="538"&gt;  &lt;col width="538"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td bg width="538" style="color:#d7d7d7;"&gt;    &lt;p style="margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;br /&gt;     Turn off the spare flag on a disk &lt;br /&gt;  Menu:    VolumeManager/Disk/UnmarkSpareDisk &lt;br /&gt; &lt;br /&gt;       Use this operation to turn off the spare flag on a disk. &lt;br /&gt;       This operation takes, as input, a disk name. This is the    same &lt;br /&gt;    name that you gave to the    disk when you added the disk to the &lt;br /&gt;       disk group. &lt;br /&gt; &lt;br /&gt;  Enter disk name    [&lt;disk&gt;,list,q,?] &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;disk01&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Disk    disk01 in rootdg no longer marked as a spare disk.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-top: 0.19in;"&gt;  &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Turn-off    spare flag on another disk? [y,n,q,?] (&lt;b&gt;default&lt;/b&gt;: n)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;After using the vxdiskadm for configuring disks and diskgroups next step is to configure volumes and then use them for storage operations . The second part of this article discusses this aspect  of volume manager .&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;b&gt;&lt;span style="font-size:6;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;vxassist                                  &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/vxassist_P.htm"&gt;&lt;b&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;&lt;span style="font-family:Verdana, sans-serif;"&gt;&lt;span style="color:#9d9dcc;"&gt;Printer Friendly&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/#General"&gt;General&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/#1.%20Creating%20a%20Volume%20:"&gt;1. Creating a Volume &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.adminschoice.com/docs/#1.1%20Creating%20a%20Concatenated%20Volume"&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;    1.1 Creating a Concatenated Volume&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/#1.2%20Creating%20a%20Striped%20Volume"&gt;    1.2 Creating a Striped Volume&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/#1.3%20Creating%20a%20RAID-5%20Volume"&gt;    1.3 Creating a RAID-5 Volume&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/#2.%20Extending%20a%20Volume"&gt;2. Extending a Volume&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.adminschoice.com/docs/#2.1%20Extending%20a%20volume%20up%20to%20certain%20length,"&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;    2.1 Extending a volume up to certain length,&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  &lt;a href="http://www.adminschoice.com/docs/#2.2%20Extending%20by%20a%20Given%20Length"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;  2.2 Extending by a Given Length&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/#3.%20Shrinking%20a%20Volume"&gt;3. Shrinking a Volume&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;a href="http://www.adminschoice.com/docs/#3.1%20Shrinking%20to%20a%20Given%20Length"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;    3.1 Shrinking to a Given Length&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#3.2%20Shrinking%20by%20a%20Given%20Length"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;    3.2 Shrinking by a Given Length&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#4.%20Removing%20a%20Volume"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;4. Removing a Volume&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#5.%20Mirroring%20a%20Volume"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;5. Mirroring a Volume&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#5.1%20Creating%20&amp;%20Mirroring%20a%20New%20Volume"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;    5.1 Creating &amp; Mirroring a New Volume&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#5.2%20Mirroring%20an%20Existing%20Volume"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;    5.2 Mirroring an Existing Volume&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#5.3%20Mirroring%20All%20Volumes"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;    5.3 Mirroring All Volumes&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#6.%20Removing%20a%20Mirror"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;6. Removing a Mirror&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#7.%20Adding%20a%20RAID-5%20Log"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;7. Adding a RAID-5 Log&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.adminschoice.com/docs/#8.%20Adding%20a%20DRL%20Log"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;8. Adding a DRL Log&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/#9.%20Removing%20a%20RAID-5%20Log"&gt;9.  Removing a RAID-5 Log&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;a href="http://www.adminschoice.com/docs/#10.%20Preparing%20a%20Volume%20for%20Online%20Backup"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;10.Preparing a Volume for Online Backup&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;a href="http://www.adminschoice.com/docs/#11%20Displaying%20Volume%20Configuration%20Information"&gt;11.Displaying Volume Configuration Information&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;General &lt;/b&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;The vxassist utility in Veritas Volume Manager is used to create volumes, add mirrors and logs to existing volumes, extend and shrink existing volumes, provides for the migration of data from a specified set of disks, and provides facilities for the on-line backup of existing volumes.  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;The default behavior of vxassist is to create volumes in the rootdg diskgroup if diskgroup is not specified . The default length is taken as number of blocks but this can be specified in Kilobytes or Megabytes or Gigabytes.  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;u&gt;vxassist command syntax :&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;vxassist &lt;option&gt; &lt;keyword&gt; volume_name [attributes]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;i&gt;Commonly used options are given below (See man vxassist for complete list of supported options) &lt;/i&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;i&gt;-g for specifying diskgroups &lt;/i&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;i&gt;-b for background operation &lt;/i&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;i&gt;-d file containing defaults for vxassist if not specified /etc/default/vxassist is used &lt;/i&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;   &lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;i&gt;Keywords used are make , mirror , move , growto ,growby ,shrintto ,shirnkby ,snapstart , snapshot ,snapwait &lt;/i&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;   &lt;/p&gt; &lt;p style="margin-left: 0.5in; margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;i&gt;Attributes specify volumes layout disks controllar to include exclude etc &lt;/i&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;u&gt;Device Nodes :&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;u&gt;Default rootdg disk group. &lt;/u&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Block Device Node /dev/vx/dsk/volume_name &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Raw Device Node /dev/vx/rdsk/volume_name &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;u&gt;Other DiskGroups &lt;/u&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Block Device Node /dev/vx/dsk/diskgroup_name/volume_name &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Raw Device Node /dev/vx/rdsk/diskgroup_name/volume_name &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;_______________________________________&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;1. Creating a Volume :&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;1.1 &lt;u&gt;Creating a Concatenated Volume &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;By default, vxassist creates a concatenated volume using the space available on a disk or on the number of disks in a diskgroup if the volume size specified is more then the one available on a single disk.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Disks can be specified from a diskgroup for a volume group but if not mentioned available disks are selected by the volume manager.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command syntax :&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist make volume_name volume_length&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;i&gt;To create a new volume appvol of 100 MB in the default disk group rootdg with available disks:&lt;/i&gt;  &lt;/p&gt; &lt;p style="margin-left: 1in; margin-right: 1in; margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist make appvol 100m &lt;/span&gt;&lt;/b&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To create the volume appvol of 100MB on disk03&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist make appvol 100m disk03&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;1.2 &lt;u&gt;Creating a Striped Volume &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;A striped volume contains at least one plex that consists of two or more subdisks located on two or more physical disks.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command Syntax :&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist make volume_name length layout=stripe&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To create a striped volume appvol2 with the default stripe unit size on the default number of disks&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist make appvol2 100m layout=stripe&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To create a striped volume appvol2 100MB striped volume on three specific disks.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist make appvol2 100m layout=stripe disk04 disk05 disk06&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;1.3 &lt;u&gt;Creating a RAID-5 Volume &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;A RAID-5 volume contains a RAID-5 plex that consists of two or more subdisks located on two or more physical disks. Only one RAID-5 plex can exist per volume. A RAID-5 volume may also contain one or more RAID-5 log plexes, which are used to log information about data and parity being written to the volume.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command Syntax :&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist make volume_name length layout=raid5&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To create the RAID-5 volume appvol4 with the default stripe unit size on the default number of disks with RAID-5 log,&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist make appvol4 100m layout=raid5.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;2. Extending a Volume&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;b&gt;Caution&lt;/b&gt; : If you plan to use volume size change (grow or shrink ) on a volume with data make sure you have the good backup of the volume available before carrying out such operation .&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;2.1 &lt;u&gt;Extending a volume up to certain length, &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command syntax&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist growto volume_name length&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To extend vol3 upto 8000 sectors, type:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist growto vol3 8000&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;2.2 &lt;u&gt;Extending by a Given Length &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command Syntax&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist growby volume_name length&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To extend volapp by 1000 sectors, type:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist growby volapp 1000&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;3. Shrinking a Volume&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;b&gt;Caution&lt;/b&gt; - Do not shrink a volume below the size of the file system. If you have a VxFS file system, you can shrink the file system and then shrink the volume. If you do not shrink the file system first, you risk unrecoverable data loss.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Always make sure you have a good backup of the data volume to be shirnked.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;3.1 &lt;u&gt;Shrinking to a Given Length &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Shrink a volume to a specific length as follows:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist shrinkto volume_name length&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Make sure you do not shrink the volume below the current size of the file system or database using the volume. This command can be safely used on empty volumes.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To shrink volcat to 1300 sectors, type:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist shrinkto volcat 1300&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;3.2 &lt;u&gt;Shrinking by a Given Length &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Shrink a volume by a specific length as follows:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist shrinkby volume_name length&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To shrink volcat by 8000 sectors, type:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist shrinkby volapp2 8000&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;4. Removing a Volume&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Removing a volume requires removing all references to the volumes to be removed like unmounting the volume if mounted and removing its reference from /etc/vfstab .&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;An active volume has to be stopped first to stop all the activities to the volume only then it can be removed &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;u&gt;Stopping Volume :&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command Syntax&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxvol stop volume_name&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To stop appvol1&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxvol stop appvol1&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;u&gt;Removing Volume&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command Syntax&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxedit -rf rm volume_name&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To remove the volume appvol1&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxedit -rf rm appvol11&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;5. Mirroring a Volume&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Mirroring allow data to be written simultaneously to two disks so that in case of failure of one disk data is available from the other mirrored disk. Boot disks can be mirriored to provide alternate booting disk .&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;5.1 &lt;u&gt;Creating &amp; Mirroring a New Volume &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command Syntax :&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist make volume_name length layout=mirror&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To create the mirrored volume, appvol22 of 100mb&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist make appvol22 100m layout=mirror&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To create a volume with Dirty Region Logging enabled&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist make volume_name length layout=mirror,log&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;5.2 &lt;u&gt;Mirroring an Existing Volume &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command syntax&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist mirror volume_name&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Creating a mirror of volume vol44:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist mirror vol44&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;span style="font-family:Times New Roman, serif;"&gt;5.3 &lt;u&gt;Mirroring All Volumes &lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To mirror all existing volumes to available disk space&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;/etc/vx/bin/vxmirror -a&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;6. Removing a Mirror&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Removing a mirror involves first dissociating the plex from its volume and then removing the plex and any associated subdisks completely.The last valid mirror plex associated with a volume cannot be removed.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Dissociate and remove the plex from its volume as follows:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxplex -o rm dis plex_name&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;vxprint -h shows the volume and associated plexes :&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;Disk group: rootdg TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 v volm fsgen ENABLED 10240 - ACTIVE - - pl volm-01 volm ENABLED 10240 - ACTIVE - - sd disk01-02 volm-01 - 10240 0 - - - pl volm-02 volm ENABLED 10240 - ACTIVE - - sd disk02-03 volm-02 - 10240 0 - - -&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;To disassociate and remove volmir-02 from volmir, type:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxplex -o rm dis volm-02&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;The output of vxprint -h for volm now shows volume volm with only one plex::&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Disk group: rootdg TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 v volm fsgen ENABLED 10240 - ACTIVE - - pl volm-01 volmir ENABLED 10240 - ACTIVE - - sd disk01-02 volmir-01 - 10240 0 - - -&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;7. Adding a RAID-5 Log&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;A RAID-5 log maintains a copy of the data and parity being written to the volume at any given time. If a system failure occurs, VxVM can replay the RAID-5 log to resynchronize the volume. This copies the data and parity that was being written at the time of failure from the log to the appropriate areas of the RAID-5 volume.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;RAID-5 log plexes are used to log information about data and parity being written to the raid volume. A log plex is created for the volume by default when a raid volume is created but additional ones can be added by following command .&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxassist addlog name_of_raid5_vol&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;8. Adding a DRL Log&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Dirty region logging (DRL) is used with mirrored volume layouts. DRL keeps track of the regions that have changed due to I/O writes to a mirrored volume. Prior to every write, a bitmap is written to a log to record the area of the disk that is being changed. In case of system failure, DRL uses this information to recover only the portions of the volume that need to be recovered.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;To put Dirty Region Logging into effect for a volume, a log subdisk must be added to that volume and the volume must be mirrored. Only one log subdisk can exist per plex.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;The following example creates a log for the mirrored volume vol03:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxassist addlog vol03&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;When vxassist is used to add a log subdisk to a volume, a log plex is also created to contain the log subdisk, by default.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Once created, the plex containing a log subdisk can be treated as a regular plex. Data subdisks can be added to the log plex. The log plex and log subdisk can be removed using the same procedures used to remove ordinary plexes and subdisks.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;9. Removing a RAID-5 Log&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Removing a RAID-5 log involves first dissociating the log from its volume and then removing the log and any associated subdisks completely.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Dissociate the log from its volume as follows:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxplex -o rm dis plex_name&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To identify the log plex, use the command:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;vxprint -ht raid5_volume_name&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To disassociate the log plex volrd-02 from volrd, type:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;span style="font-family:Courier New, monospace;"&gt;#vxplex -o rm dis volrd-02&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;The output of vxprint -h for volrd now shows:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;Disk group: rootdg TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 v volrd raid5 ENABLED 32 - ACTIVE - - pl volrd-01 volrd ENABLED 32 - ACTIVE - - sd disk01-02 volrd-01 - 32 0 - - - sd disk02-03 volrd-01 - 32 0 - - -&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;10. Preparing a Volume for Online Backup&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Volume manager provides an easy way to take backup of the online data by creating an offline snapshot mirror of the volume .&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Arial Unicode MS, sans-serif;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:85%;"&gt;The vxassist snapstart operation creates a write-only backup mirror, which is attached to and synchronized with the volume to be backed up and later detached and made offline by vxassist snapshot command . &lt;/span&gt;The snapshot volume can be used by backup utilities while the original volume continues to be available for applications and users.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;The volume backup method described here does not apply to RAID-5 volumes.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;Backing up a volume with vxassist involves the following procedure&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;u&gt;Create a snapshot mirror&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;snapstart starts creating a online snapshot mirror of the volume using the available disk space . The snapshot is completed with vxassist snapshot command when offline snapshot volume is created with a userdefined name .&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;Command Syntax:&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-right: 1in; margin-top: 0.19in; margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;vxassist  snapstart volume_name &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;i&gt;To create a snapshot mirror of a volume called vol8, type&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-right: 1in; margin-top: 0.19in; margin-bottom: 0.19in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;#vxassist  snapstart vol8 &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size: 13pt;font-size:130%;" &gt;&lt;u&gt;Create a snapshot volume&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;i&gt;Command Syntax&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;vxassist snapshot volume_name new_volume_name&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;To create a snapshot volume of vol8, type:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;#vxassist snapshot vol8 snapvol8&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;You can now back up the snapshot volume by whatever means you prefer. To avoid wasting space, you can then remove the snapshot volume, which occupies as much space as the original volume&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Times New Roman, serif;"&gt;&lt;span style="font-size:180%;"&gt;&lt;b&gt;11 Displaying Volume Configuration Information&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Times New Roman, serif;"&gt;The vxprint command can be used to display information about how a volume is configured.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Times New Roman, serif;"&gt;Display the volume, mirror, and subdisk record information for all volumes as follows:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;#vxprint -ht &lt;/b&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;table border="0" cellpadding="0" cellspacing="0" width="536"&gt;  &lt;col width="536"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="536"&gt;    &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;   &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;Disk    group: rootdg  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;      &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;DG     NAME        NCONFIG    NLOG      MINORS     GROUP-ID  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;DM     NAME        DEVICE     TYPE      PRIVLEN    PUBLEN     STATE  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;V      NAME        USETYPE    KSTATE    STATE      LENGTH     READPOL         PREFPLEX  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;PL     NAME        VOLUME     KSTATE    STATE      LENGTH     LAYOUT          NCOL/WID MODE  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;SD     NAME        PLEX       DISK      DISKOFFS LENGTH       [COL/]OFF       DEVICE     MODE  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;      &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;dg     rootdg      759096729.1025.tweety  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;      &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;dm     disk10      c1t0d0s2 sliced      559        1044400     -  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;dm     disk20      c2t0d0s2 sliced      559        1044400     -  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;      &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;v      pubs        fsgen      ENABLED ACTIVE       2288       SELECT          -  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;pl     pubs-01     pubs       ENABLED ACTIVE       2288       CONCAT          -          RW  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;sd     disk10-01 pubs-01      disk10    0          2288       0               c0t0d0     ENA  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;      &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;v      vol8      fsgen      ENABLED ACTIVE       20480      SELECT          -  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p style="margin-bottom: 0in;"&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;pl     vol8-01   vol8       ENABLED ACTIVE       20480      CONCAT          -          RW  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p&gt;  &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size: 7pt;font-size:78%;" &gt;sd     disk10-02 vol8-0 disk10        2288       20480      0               c0t1d0     ENA  &lt;/span&gt;&lt;/span&gt;    &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Times New Roman, serif;"&gt;where dg is a disk group, dm is a disk, v is a volume, pl is a plex, and sd is a subdisk. The top few lines indicate the headers that match each type of output line that follows. Each volume is listed along with its associated plex(es) and subdisk(s).&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Times New Roman, serif;"&gt;Display volume-related information for a specific volume as follows:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;#vxprint -t volume_name&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.19in 1in;"&gt; &lt;span style="font-family:Times New Roman, serif;"&gt;To display information about vol8, type:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;#vxprint -t vol8 &lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-9124397516029827381?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/9124397516029827381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=9124397516029827381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/9124397516029827381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/9124397516029827381'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2006/12/veritas-volume-manager.html' title='Veritas Volume Manager'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2792300708154133167.post-8800061521720228131</id><published>2006-12-04T01:52:00.000-08:00</published><updated>2006-12-04T02:17:50.844-08:00</updated><title type='text'>How to read the output of netstat -k</title><content type='html'>One of the most powerful, yet least utilized options for netstat is the&lt;br /&gt;-k flag.  The "k" stands for kstat, a facility for perusing the kernel&lt;br /&gt;statistics.&lt;br /&gt;&lt;br /&gt;Early releases of Solaris (&lt; 2.6) did not allow you to specify the inter-&lt;br /&gt;face.  However, with Solaris 2.6 and higher, you may specifiy the inter-&lt;br /&gt;face on the command line.  Below is a sample, as well as an explanation&lt;br /&gt;of each variable in the output.  I have expanded the description provided&lt;br /&gt;by Sun when I felt it was less than self-explanatory.&lt;br /&gt;&lt;br /&gt;example: netstat -k hme0&lt;br /&gt;&lt;br /&gt;hme0:&lt;br /&gt;ipackets 85402 ierrors 0 opackets 470 oerrors 0 collisions 1&lt;br /&gt;defer 0 framing 0 crc 0 sqe 0 code_violations 0 len_errors 0&lt;br /&gt;drop 0 buff 0 oflo 0 uflo 0 missed 0 tx_late_collisions 0&lt;br /&gt;retry_error 0 first_collisions 0 nocarrier 0 inits 7 nocanput 0&lt;br /&gt;allocbfail 0 runt 0 jabber 0 babble 0 tmd_error 0 tx_late_error 0&lt;br /&gt;rx_late_error 0 slv_parity_error 0 tx_parity_error 0 rx_parity_error 0&lt;br /&gt;slv_error_ack 0 tx_error_ack 0 rx_error_ack 0 tx_tag_error 0&lt;br /&gt;rx_tag_error 0 eop_error 0 no_tmds 0 no_tbufs 0 no_rbufs 0&lt;br /&gt;rx_late_collisions 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ipackets               packets received&lt;br /&gt;ierrors                malformed packets received&lt;br /&gt;opackets               packets sent &lt;br /&gt;oerrors                output errors&lt;br /&gt;collisions             transmit collisions for a given packet &lt;br /&gt;defer               deferred output transmissions ( but still sent )&lt;br /&gt;framing            packets seen with framing or alignment errors&lt;br /&gt;crc                    packets received with CRC (checksum) errors&lt;br /&gt;sqe                    SQE test  errors&lt;br /&gt;code_violations    code violation errors&lt;br /&gt;len_errors         rx len errors (packet too large)&lt;br /&gt;buff               buffer errors recv packet sizes &gt; buffer size&lt;br /&gt;drop               recv packets dropped&lt;br /&gt;oflo               number of recv overflow due to a busy backplane&lt;br /&gt;uflo               number of xmit underflow due to a busy backplane&lt;br /&gt;missed             input packets recv missed&lt;br /&gt;tx_late_collisions late collisions recv&lt;br /&gt;retry_error        number xmit retry failures (for Ethernet, this is &gt; 16&lt;br /&gt;                   retries)&lt;br /&gt;first_collisions   first collisions&lt;br /&gt;nocarrier          carrier (link) lost since system boot&lt;br /&gt;inits                  hardware has been initialized by an ioctl call&lt;br /&gt;nocanput           errors trying to send packets upstream, canput() failed&lt;br /&gt;allocbfail         times driver ran out of transmit buffers, allocb() failed&lt;br /&gt;runt               recv runt (packet size &lt; 64 bytes) packets, often the pro-&lt;br /&gt;                       duct of collisions&lt;br /&gt;jabber             jabber (improper electrical signal) errors&lt;br /&gt;babble             babble (host transmitting beyond the time limit) errors&lt;br /&gt;tmd_error          chained tx desc. errors&lt;br /&gt;tx_late_error      SBUS tx late error&lt;br /&gt;rx_late_error      SBUS rx late error&lt;br /&gt;slv_parity_error   slave parity errors&lt;br /&gt;tx_parity_error    tx parity errors&lt;br /&gt;rx_parity_error    rx parity errors&lt;br /&gt;slv_error_ack      slave error acks&lt;br /&gt;tx_error_ack       tx error acks&lt;br /&gt;rx_error_ack       rx error acks&lt;br /&gt;tx_tag_error       tx tag error&lt;br /&gt;rx_tag_error       rx tag error&lt;br /&gt;eop_error          eop error&lt;br /&gt;no_tmds            out of tmds&lt;br /&gt;no_tbufs           out of xmit buffers&lt;br /&gt;no_rbufs           out of recv buffers&lt;br /&gt;rx_late_collisions recv late collisions, generally caused by exceeding the&lt;br /&gt;                   maximum cable length dictates or faulty hardware&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2792300708154133167-8800061521720228131?l=linuxgurus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxgurus.blogspot.com/feeds/8800061521720228131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2792300708154133167&amp;postID=8800061521720228131' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/8800061521720228131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2792300708154133167/posts/default/8800061521720228131'/><link rel='alternate' type='text/html' href='http://linuxgurus.blogspot.com/2006/12/how-to-read-output-of-netstat-k.html' title='How to read the output of netstat -k'/><author><name>Linuxguru</name><uri>http://www.blogger.com/profile/13798148606323896503</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
