<?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-4519466443740157589</id><updated>2012-03-06T00:30:42.869-05:00</updated><category term='vconfig'/><category term='newfs'/><category term='fsck'/><category term='blog info'/><category term='inittab'/><category term='hex'/><category term='registry'/><category term='ipmp'/><category term='rc.conf'/><category term='prtconf'/><category term='hba'/><category term='date'/><category term='bios'/><category term='pkg'/><category term='prtdiag'/><category term='file integrity'/><category term='systeminfo'/><category term='octal'/><category term='binary'/><category term='awk'/><category term='vlan'/><category term='loop device'/><category term='dumpe2fs'/><category term='mdadm'/><category term='freebsd'/><category term='ndd'/><category term='solaris'/><category term='raid'/><category term='fstat'/><category term='fstab'/><category term='smf'/><category term='mpathadm'/><category term='cpu'/><category term='proc'/><category term='relicate'/><category term='file recovery'/><category term='sysctl'/><category term='kenv'/><category term='rpc'/><category term='facl'/><category term='volume'/><category term='ufsdump'/><category term='cpio'/><category term='format'/><category term='memory'/><category term='privileges'/><category term='mpxio'/><category term='dumpfs'/><category term='ntp'/><category term='rbac'/><category term='disks'/><category term='vsphere'/><category term='initrd'/><category term='dns'/><category term='802.1q'/><category term='iscsi'/><category term='base'/><category term='host info'/><category term='partition'/><category term='disk clone'/><category term='bsdlabel'/><category term='network'/><category term='dhcp'/><category term='quotas'/><category term='fs'/><category term='virtualization'/><category term='mdconfig'/><category term='grub'/><category term='zfs'/><category term='mkswap'/><category term='fstyp'/><category term='esxi'/><category term='vxvm'/><category term='ctd'/><category term='mke2fs'/><category term='perl'/><category term='fuser'/><category term='mirror'/><category term='rcX.d'/><category term='pmap'/><category term='iso'/><category term='ports'/><category term='diskpart'/><category term='snapshot'/><category term='rpm'/><category term='option 82'/><category term='vtoc'/><category term='processes'/><category term='mbr'/><category term='windows'/><category term='nfs'/><category term='chmod'/><category term='mkfs'/><category term='svm'/><category term='ifconfig'/><category term='chown'/><category term='linux'/><category term='obp'/><category term='recovery'/><category term='vxdmp'/><category term='pax'/><category term='init'/><category term='ethtool'/><category term='luxadm'/><category term='dladm'/><category term='dmp'/><category term='mount'/><category term='port forwarding'/><category term='rc.local'/><category term='files'/><category term='ssh'/><category term='op'/><category term='conversions'/><category term='tar'/><category term='inode'/><category term='sudo'/><category term='epoch'/><category term='terminal'/><category term='fcinfo'/><category term='mkfile'/><category term='tunnel'/><category term='swap'/><category term='geom'/><category term='lab'/><category term='decimal'/><category term='pkgchk'/><category term='fdisk'/><category term='zip'/><title type='text'>troy's unix space</title><subtitle type='html'>Various tips and tricks picked up in UNIX engineering.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default?start-index=101&amp;max-results=100'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>104</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-8314300230365334349</id><published>2012-02-26T17:57:00.002-05:00</published><updated>2012-02-26T17:59:39.865-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vsphere'/><category scheme='http://www.blogger.com/atom/ns#' term='dns'/><category scheme='http://www.blogger.com/atom/ns#' term='ntp'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='lab'/><title type='text'>vSphere 5 Lab Setup pt 2</title><summary type='text'>Continuing from part 1, this post details the configuration on the
management workstation host (glados) and its 2 components, the generic
infrastructure host (lns1) and the management client (fenster).
Our details for this are:
        HOSTs:          glados, lns1, fenster
        OSes:           CentOS (6.0 = glados, 6.2 = lns1),
                        Windows 2008 Server (fenster)
        </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8314300230365334349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8314300230365334349&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8314300230365334349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8314300230365334349'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2012/02/vsphere-5-lab-setup-pt-2.html' title='vSphere 5 Lab Setup pt 2'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3782631792286012816</id><published>2012-02-26T17:06:00.006-05:00</published><updated>2012-02-28T12:31:27.079-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vsphere'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='esxi'/><category scheme='http://www.blogger.com/atom/ns#' term='lab'/><title type='text'>vSphere 5 Lab Setup pt 1</title><summary type='text'>Recently, I decided to setup a vSphere 5 lab at home to help me prepare
for taking the VCP 5 exam.  Its purpose is basically to provide me a
setup to get better acquainted with certain vSphere features and maybe
testing of various fault / resolution scenarios.  This post is to help me
retain the details of the resulting configuration.  Since this is not an
end all / be all lab, if you have any </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3782631792286012816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3782631792286012816&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3782631792286012816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3782631792286012816'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2012/02/vsphere-5-lab-setup-pt-1.html' title='vSphere 5 Lab Setup pt 1'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh5.googleusercontent.com/-RbN06IFmaeY/T0qw4JX2NgI/AAAAAAAAAAg/LS6CQDywRuk/s72-c/vsphere-lab0-sm.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-5893942935289360451</id><published>2012-01-30T23:39:00.001-05:00</published><updated>2012-01-30T23:50:47.328-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='tar'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='zip'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='pax'/><category scheme='http://www.blogger.com/atom/ns#' term='cpio'/><title type='text'>Extracting Individual Files from an Archive</title><summary type='text'>Too often, I only need a single file or a couple of files from an archive.
One answer to this is to just extract the entire archive so that I can
get to those particular files.  The more precise answer is to simply
extract only those files that I need and place them where I want them.
The following illustrates a few examples of how to do this with various
archive utlities.  Our details for this </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5893942935289360451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5893942935289360451&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5893942935289360451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5893942935289360451'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2012/01/extracting-individual-files-from.html' title='Extracting Individual Files from an Archive'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6885372948270257158</id><published>2012-01-12T15:34:00.001-05:00</published><updated>2012-01-12T15:39:44.867-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='rpm'/><category scheme='http://www.blogger.com/atom/ns#' term='chmod'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><title type='text'>Fixing an Overly Eager chmod in Linux</title><summary type='text'>A while ago, someone asked me how to recover from a mistyped recursive
'chmod' they performed.  Similar to the write-up on an "overeager chown",
they mistyped the path and it executed against the root FS (/).  Ideally,
one would have a backup to recover from, however that wasn't an option
in either the original situation or the one detailed herein.  Our host
details are:
        HOSTs:          </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6885372948270257158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6885372948270257158&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6885372948270257158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6885372948270257158'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2012/01/fixing-overly-eager-chmod-in-linux.html' title='Fixing an Overly Eager chmod in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1298231222351810384</id><published>2011-12-28T18:08:00.000-05:00</published><updated>2011-12-28T18:08:54.103-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog info'/><title type='text'>updated utility, getldp.pl v0.1.7</title><summary type='text'>An updated version of 'getldp.pl', v0.1.7, is now available on the Tools 
page.  This update adds handling (long overdue) for reaping any child
processes getldp.pl might spawn while listening for CDP / LLDP packets.
Previously, if getldp.pl timed out and exited while waiting on data,
one had to manually kill getldp.pl's children from the process table.
Now it will do the right thing and clean up </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1298231222351810384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1298231222351810384&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1298231222351810384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1298231222351810384'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/12/updated-utility-getldppl-v017.html' title='updated utility, getldp.pl v0.1.7'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-2920928185850846800</id><published>2011-12-11T17:47:00.000-05:00</published><updated>2011-12-11T17:47:09.903-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dumpe2fs'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><title type='text'>Manual P2V with Linux</title><summary type='text'>We recently had a situation wherein we were replacing a physical host
with a virtual machine (VM) instance.  Rather than simply install a
new VM and reapply software packages and configuration, the need was to
retain the existing installation.  To do so, we effectively cloned the
physical host into a VM, which is what the following details.  Of note,
while I'm calling this a "manual, offline p2v </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2920928185850846800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2920928185850846800&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2920928185850846800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2920928185850846800'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/12/manual-p2v-with-linux.html' title='Manual P2V with Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-803733385988784596</id><published>2011-12-10T16:34:00.000-05:00</published><updated>2011-12-10T16:34:27.518-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog info'/><title type='text'>updated utility, getldp.pl v0.1.6</title><summary type='text'>An updated version of 'getldp.pl', v0.1.6, is now available on the
Tools page.  This version adds details of the sending host including
OS version (CDP only), device capabilities, and management address
(assuming those fields are in the CDP / LLDP packets):
    CDP sample:
        prompt# getldp.pl -i packet-captures/new.cap -x
        Watching for CDP packet on pack-cap/1.pcap for 60 seconds...
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/803733385988784596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=803733385988784596&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/803733385988784596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/803733385988784596'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/12/updated-utility-getldppl-v016.html' title='updated utility, getldp.pl v0.1.6'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3879802346225718125</id><published>2011-12-05T15:52:00.000-05:00</published><updated>2011-12-05T15:52:43.521-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><title type='text'>NIC Replacement in Linux</title><summary type='text'>In the past, I've found it slightly annoying that if I needed to swap
out a network interface card (NIC), Red Hat distros of Linux would kindly
backup the interface configuration for that interface and generate a stub
DHCP configuration in its place.  This leaves the host potentially with
an improper network configuration.  The following details the necessary
changes on the OS so that the new NIC</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3879802346225718125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3879802346225718125&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3879802346225718125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3879802346225718125'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/12/nic-replacement-in-linux.html' title='NIC Replacement in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-5484707502031763895</id><published>2011-12-03T22:19:00.000-05:00</published><updated>2011-12-03T22:19:42.718-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='initrd'/><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><title type='text'>Fixing a Broken initrd in Linux</title><summary type='text'>I recently had a situation where a host's disk controller failed.
The box would get partially through a BIOS post before throwing errors
about the failed controller and then fail to boot.  To resolve the
situation, we effectively replaced said controller.  This, however, lead
to the situation wherein the initial RAM disk (initrd) didn't load the
appropriate driver / kernel module for the new </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5484707502031763895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5484707502031763895&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5484707502031763895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5484707502031763895'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/12/fixing-broken-initrd-in-linux.html' title='Fixing a Broken initrd in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-4431937253041683970</id><published>2011-10-31T00:01:00.004-04:00</published><updated>2012-01-12T15:37:25.795-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='rpm'/><category scheme='http://www.blogger.com/atom/ns#' term='chown'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><title type='text'>Fixing an Overly Eager chown in Linux</title><summary type='text'>A while ago, someone asked me how to recover from a mistyped recursive
'chown' they performed.  They mistyped the path and it executed against
the root FS (/), though they caught it before it acted on everything.
Ideally, one would have a backup to recover from, however that wasn't
an option in either the original situation or the one detailed herein.
Our host details are:
        HOSTs:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/4431937253041683970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=4431937253041683970&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4431937253041683970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4431937253041683970'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/10/fixing-overly-eager-chown-in-linux.html' title='Fixing an Overly Eager chown in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-4120706037667485838</id><published>2011-09-27T23:40:00.000-04:00</published><updated>2011-09-27T23:40:17.979-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='volume'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='vxvm'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>VxVM DG Disabled</title><summary type='text'>During a recent SAN maintenance, we ran into an issue on a few hosts that
were unfortunately single pathed to the SAN and lost connectivity to it.
The SAN-presented disk devices were under Veritas Volume Manager (VxVM)
control which started to present I/O errors as a result and displayed
"dgdisabled" in 'vxdisk' output.  The following details this situation.
For our setup, we have:
        HOST:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/4120706037667485838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=4120706037667485838&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4120706037667485838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4120706037667485838'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/09/vxvm-dg-disabled.html' title='VxVM DG Disabled'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1861545692250853373</id><published>2011-08-01T02:03:00.001-04:00</published><updated>2011-08-01T02:05:49.383-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='format'/><category scheme='http://www.blogger.com/atom/ns#' term='diskpart'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='iscsi'/><title type='text'>Configuring iSCSI Initiators in Windows 2008</title><summary type='text'>Since it's been a while since I've written up a Windows related post, I
thought I'd add one on setting up iSCSI initiators from the command line
(cli).  (It also gave me a reason to toy around in PowerShell (PS).)
Microsoft makes iSCSI initiator software available for Windows 2000,
Windows Server 2003, Windows XP, and is included natively for Windows
Server 2008 and Windows Vista.  Our host </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1861545692250853373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1861545692250853373&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1861545692250853373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1861545692250853373'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/08/configuring-iscsi-initiators-in-windows.html' title='Configuring iSCSI Initiators in Windows 2008'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-2610134066341732202</id><published>2011-07-24T04:07:00.001-04:00</published><updated>2011-07-24T04:09:47.211-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='processes'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='pmap'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='memory'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Process Memory Usage</title><summary type='text'>Since resources on a host are finite, it can be useful to know the
impact of a process or processes on those resources.  In this instance,
we'll take a look at a process' use of memory.  Our details for this are:
        HOSTs:          cobblepot (Linux) 
                        berkeley (FreeBSD)
                        sunspot (Solaris)
        PROMPT:         host [0]
        OSes:           </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2610134066341732202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2610134066341732202&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2610134066341732202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2610134066341732202'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/07/process-memory-usage.html' title='Process Memory Usage'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-349324348319321410</id><published>2011-07-13T02:02:00.002-04:00</published><updated>2011-09-28T00:01:04.654-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Notes on Packages in Solaris 11</title><summary type='text'>While working out details for a separate write up, I started stumbling
through Solaris' new handling of packages, IPS.  Unlike previous versions
of Solaris which used the traditional "pkgXYZ" commands, directory
structures, etc, IPS (image packaging system) uses a completely new
scheme.  The details herein compare some of the surprises I found in
simply trying to identify package ownership of a </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/349324348319321410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=349324348319321410&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/349324348319321410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/349324348319321410'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/07/notes-on-packages-in-solaris-11.html' title='Notes on Packages in Solaris 11'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-2498807838236776669</id><published>2011-07-06T03:51:00.000-04:00</published><updated>2011-07-06T03:51:20.821-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vlan'/><category scheme='http://www.blogger.com/atom/ns#' term='dladm'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='ifconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='802.1q'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>VLAN Tagging and Vanity Naming in Solaris 11</title><summary type='text'>While awaiting Solaris 11 to be released, I've recently been poking
around in Solaris 11 Express for a preview of what to expect.  In setting
up a test box, I needed to set up VLAN tagging (802.1q trunking) on
an interface.  Due to some of the new Solaris 11 networking features,
configuring a VLAN tagged interface is slightly different from what
I recall.  Our details this time are:
        HOST:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2498807838236776669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2498807838236776669&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2498807838236776669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2498807838236776669'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/07/vlan-tagging-and-vanity-naming-in.html' title='VLAN Tagging and Vanity Naming in Solaris 11'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-2514113087910460300</id><published>2011-06-18T18:11:00.002-04:00</published><updated>2011-08-01T02:06:57.494-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='iscsi'/><title type='text'>Configuring iSCSI Initiators in Linux</title><summary type='text'>In part 1, we worked through how to set up iSCSI targets in Linux
(the server side).  Here, in part 2, are my notes on how to set up the
initiators in Linux (the client side).  Our host details for this are
the same as part 1:
        HOSTS:          humboldt (initiator node), cobblepot (target node)
        PROMPT:         host [0]
        OS:             CentOS 5.6 Linux (RedHat Clone)
        </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2514113087910460300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2514113087910460300&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2514113087910460300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2514113087910460300'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/06/configuring-iscsi-initiators-in-linux.html' title='Configuring iSCSI Initiators in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-7041450796077823444</id><published>2011-06-15T23:30:00.001-04:00</published><updated>2011-06-18T18:13:42.454-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='iscsi'/><title type='text'>Configuring iSCSI Targets in Linux</title><summary type='text'>Since I've already been looking into iSCSI on Solaris, I thought I'd look
to see what Linux has to offer.  While in comparison to Solaris I think
the Linux side could still mature a little, it still has potential and
a functional offering.  The following is part 1 of my notes detailing
the configuration of a test Linux iSCSI target node (server side).
Configuration of an iSCSI initiator node (</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7041450796077823444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7041450796077823444&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7041450796077823444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7041450796077823444'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/06/configuring-iscsi-targets-in-linux.html' title='Configuring iSCSI Targets in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-4134421873531968186</id><published>2011-06-13T01:06:00.002-04:00</published><updated>2011-08-01T02:07:24.476-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iscsi'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Configuring iSCSI Initiators in Solaris</title><summary type='text'>In part 1, we worked through how to set up iSCSI targets in Solaris
(the server side).  Now, for part 2, I present my notes on how to set
up the initiators in Solaris on the client side.  Our host details for
this are the same as part 1:
        HOSTS:          sunspot (target node), sunbeam (initiator node)
        PROMPT:         host [0]
        OS:             Solaris 10 10/09 (u8)
Before </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/4134421873531968186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=4134421873531968186&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4134421873531968186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4134421873531968186'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/06/configuring-iscsi-initiators-in-solaris.html' title='Configuring iSCSI Initiators in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-4724189658066936435</id><published>2011-06-08T19:15:00.004-04:00</published><updated>2011-06-15T23:32:04.286-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iscsi'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Configuring iSCSI Targets in Solaris</title><summary type='text'>While reviewing potential ideas for several environments, I started
looking into the use iSCSI as a means of providing remote storage.
With that in mind, this is part 1 of my iSCSI notes, detailing the
configuration of a test Solaris iSCSI target node which would provide
storage to client hosts.  Configuration of an iSCSI initiator node (client
host) will be detailed part 2.  Our host details for</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/4724189658066936435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=4724189658066936435&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4724189658066936435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4724189658066936435'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/06/configuring-iscsi-targets-in-solaris.html' title='Configuring iSCSI Targets in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3689120184391651967</id><published>2011-05-26T23:54:00.002-04:00</published><updated>2011-05-27T00:00:52.040-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='zfs'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='relicate'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='snapshot'/><title type='text'>Replicating a ZFS FS Between Hosts</title><summary type='text'>Occasionally, it can be useful to fully replicate a volume of data from
one host to another.  Perhaps you need to mirror a production filesystem
(FS) for use in development, need a sane backup, etc.  The following
describes one way of doing this using ZFS.  Additionally, we're going
to do so using disparate OSes (though like OSes could have been used).
Here are the setup details:
        HOSTS:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3689120184391651967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3689120184391651967&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3689120184391651967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3689120184391651967'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/05/replicating-zfs-fs-between-hosts.html' title='Replicating a ZFS FS Between Hosts'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-5676993171452178882</id><published>2011-05-19T23:54:00.003-04:00</published><updated>2011-05-20T00:17:46.914-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='format'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='svm'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Replacing a Failed SVM Disk</title><summary type='text'>At some point, everyone deal's with a disk failure, as I had to do
recently.  In this case, it was a root disk.  Thankfully, however,
it was mirrored with SVM (Solaris Volume Manager).  Unfortunately, disk
failures aren't the type of thing that should happen too frequently so
it can be easy to overlook steps in the recovery process.  The following
details both my oversight and recovery of the </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5676993171452178882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5676993171452178882&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5676993171452178882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5676993171452178882'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/05/replacing-failed-svm-disk.html' title='Replacing a Failed SVM Disk'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3450947346122371185</id><published>2011-05-17T01:12:00.003-04:00</published><updated>2011-05-17T01:22:27.799-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Sending Messages to Users</title><summary type='text'>Recently while working on a problem with someone else, I needed to have
them run a series of commands with specific options.  Since we were
both working remotely, it wasn't as simple as telling them to look
over my shoulder.  Though I tried telling them the commands over the
phone, we ran into the issue of parts of the commands being misheard or
misunderstood.  To alleviate any confusion, I </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3450947346122371185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3450947346122371185&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3450947346122371185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3450947346122371185'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/05/sending-messages-to-users.html' title='Sending Messages to Users'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1444523790927190909</id><published>2011-04-16T17:28:00.003-04:00</published><updated>2011-04-16T17:46:18.352-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='inode'/><category scheme='http://www.blogger.com/atom/ns#' term='quotas'/><title type='text'>Enabling Local FS Quotas in Linux</title><summary type='text'>Quotas allow you to limit the amount of space a user or group can use
and / or the number of files a user or group can create on a filesystem
(FS).  The following shows how to set up these quotas and the expected
user experience.  Our host details for this are:
        HOST:           tux
        PROMPT:         user@tux [0]
        OS:             CentOS 5.4 Linux
        GROUPS:         </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1444523790927190909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1444523790927190909&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1444523790927190909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1444523790927190909'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/04/enabling-local-fs-quotas-in-linux.html' title='Enabling Local FS Quotas in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-136003886964032649</id><published>2011-04-07T22:56:00.002-04:00</published><updated>2011-04-07T23:26:44.218-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rbac'/><category scheme='http://www.blogger.com/atom/ns#' term='privileges'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Granting Elevated Privileges in Solaris</title><summary type='text'>root, root, root, everybody always wants root.  Developers, application
administrators, users, they all seem to find a reason to "need" root
access.  Since normally these needs are for access to particular files
or to perform very specific tasks, only a subset of root's access is
actually needed.  File access should be trivial enough, just configure
the appropriate permissions or FACLs.  For </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/136003886964032649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=136003886964032649&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/136003886964032649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/136003886964032649'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/04/granting-elevated-privileges-in-solaris.html' title='Granting Elevated Privileges in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-5531778410022822369</id><published>2011-03-27T23:38:00.002-04:00</published><updated>2011-03-27T23:44:33.816-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='fuser'/><title type='text'>Finding Open Files in Linux</title><summary type='text'>Finding open files in Linux is quite similar to finding them in FreeBSD
and Solaris.  Here, we'll specifically identify open files on a particular
filesystem (FS) within a Linux environment.  Our host details this
time are:

        HOST:           cobblepot
        PROMPT:         cobblepot [0]
        OS:             CentOS 5.4 Linux
        NOTE:           The following should also be </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5531778410022822369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5531778410022822369&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5531778410022822369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5531778410022822369'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/03/finding-open-files-in-linux.html' title='Finding Open Files in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-7968570347829529752</id><published>2011-03-25T14:31:00.001-04:00</published><updated>2011-03-27T23:39:37.777-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='fstat'/><title type='text'>Finding Open Files in FreeBSD</title><summary type='text'>Following up the same in Solaris, here's how to identify open files on
a particular filesystem (FS) in a FreeBSD environment.  Our host details
for this are:
        HOST:           berkeley
        PROMPT:         berkeley [0]
        OS:             FreeBSD 6.2
        NOTE:           The following should likely work on prior FreeBSD
                        versions and has been verified to </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7968570347829529752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7968570347829529752&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7968570347829529752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7968570347829529752'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/03/finding-open-files-in-freebsd.html' title='Finding Open Files in FreeBSD'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1744797597987828379</id><published>2011-03-23T23:29:00.003-04:00</published><updated>2011-03-27T23:40:37.215-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='fuser'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Finding Open Files in Solaris</title><summary type='text'>During a recent discussion, another sysadmin asked that I write him a
tool to identify any open files on a particular file system (FS) in a
Solaris environment.  Rather than reinvent the wheel, I provided him
with the steps outlined here.  Our host details are:
        HOST:           sunspot
        PROMPT:         sunspot [0]
        OS:             Solaris 10 (also works for Solaris 8 and 9)
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1744797597987828379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1744797597987828379&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1744797597987828379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1744797597987828379'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/03/finding-open-files-in-solaris.html' title='Finding Open Files in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3116268893196666950</id><published>2011-03-17T16:02:00.001-04:00</published><updated>2011-03-17T16:17:37.917-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog info'/><title type='text'>updated utility, getldp.pl</title><summary type='text'>An updated version of 'getldp.pl', v0.1.5, is now available on the 
Tools page.  This version now appropriately handles VLAN tagged (802.1q)
CDP packets and includes output for duplex, 802.1q priority, and VLAN ID
(assuming the fields are present in the CDP packets):
        snorkle [0] getldp.pl -i packet-captures/new.cap -x
        Watching for CDP packet on pack-cap/1.pcap for 60 seconds...
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3116268893196666950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3116268893196666950&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3116268893196666950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3116268893196666950'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/03/updated-utility-getldppl.html' title='updated utility, getldp.pl'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-571199050257856805</id><published>2011-03-15T00:34:00.000-04:00</published><updated>2011-03-15T00:34:01.942-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='conversions'/><title type='text'>Converting inet_aton and inet_ntoa</title><summary type='text'>At some point or another, you've probably stumbled upon the 'inet_aton'
and 'inet_ntoa' functions.  Perhaps you have used them in programming,
or maybe for a MySQL statement, etc.  Briefly, for those not familiar
with either function, 'inet_aton' takes an IP address (10.234.18.76) and
converts it into a packed address (183112268).  Alternatively, 'inet_ntoa'
takes a packed address (183112268) and</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/571199050257856805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=571199050257856805&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/571199050257856805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/571199050257856805'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/03/converting-inetaton-and-inetntoa.html' title='Converting inet_aton and inet_ntoa'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-937479027439449213</id><published>2011-03-03T22:53:00.000-05:00</published><updated>2011-03-03T22:53:28.077-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='rpc'/><category scheme='http://www.blogger.com/atom/ns#' term='nfs'/><title type='text'>Configuring NFS in FreeBSD</title><summary type='text'>Having written up Solaris and Linux, it's time to take a look at
configuring NFS in FreeBSD.  Briefly, NFS (network file system) provides
access to remote filesystems which appear similar to local resources
on client hosts.  The following focuses on simple NFS server and client
configuration in FreeBSD (see note 1).  Our host details are:
        HOST (server):          beastie (10.0.23.181)
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/937479027439449213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=937479027439449213&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/937479027439449213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/937479027439449213'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/03/configuring-nfs-in-freebsd.html' title='Configuring NFS in FreeBSD'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-5828878794322267613</id><published>2011-02-28T02:31:00.001-05:00</published><updated>2011-03-03T22:54:33.906-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='rpc'/><category scheme='http://www.blogger.com/atom/ns#' term='nfs'/><title type='text'>Configuring NFS in Linux</title><summary type='text'>As a follow up to 'Configuring NFS in Solaris', we turn to the same
in Linux.  Briefly, NFS (network file system) provides access to remote
filesystems which appear similar to local resources on client hosts.
The following focuses on simple NFS server and client configuration in 
Linux (see note 1).  Our host details are:
        HOST (server):          tux (10.0.23.171)
        HOST (client):</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5828878794322267613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5828878794322267613&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5828878794322267613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5828878794322267613'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/02/configuring-nfs-in-linux.html' title='Configuring NFS in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-5726867607983474022</id><published>2011-02-24T16:00:00.006-05:00</published><updated>2012-01-12T15:38:29.280-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='rpm'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='pkgchk'/><category scheme='http://www.blogger.com/atom/ns#' term='file integrity'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>File Integrity Checks via Package DB</title><summary type='text'>After a system has been installed, files tend to change over time.
These changes may be deliberate, part of normal host operation, the
result of an errant 'chmod', etc.  Tools like Samhain, AIDE, and Tripwire
(note 0) have been devised specifically to identify such changes which
they do well.  The only problem is that these tools need to be installed
and configured.  Though by no means a full </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5726867607983474022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5726867607983474022&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5726867607983474022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5726867607983474022'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/02/file-integrity-checks-via-package-db.html' title='File Integrity Checks via Package DB'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-7074430107714525548</id><published>2011-02-20T19:43:00.005-05:00</published><updated>2011-03-03T22:55:37.803-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='smf'/><category scheme='http://www.blogger.com/atom/ns#' term='rpc'/><category scheme='http://www.blogger.com/atom/ns#' term='nfs'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Configuring NFS in Solaris</title><summary type='text'>Networked environments allow for the sharing of many resources, including
filesystems (FS).  As a long time industry standard in UNIX, NFS (network
file system) provides access to remote filesystems which appear similar
to local resources on client hosts.  Since Sun Microsystems originally
devised NFS, the following focuses on simple NFS server and client
configuration in Solaris (see note 1).  </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7074430107714525548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7074430107714525548&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7074430107714525548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7074430107714525548'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/02/configuring-nfs-in-solaris.html' title='Configuring NFS in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3289621367289114477</id><published>2011-02-17T18:33:00.001-05:00</published><updated>2011-02-17T18:35:28.622-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ports'/><category scheme='http://www.blogger.com/atom/ns#' term='processes'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Network Ports and Processes (Windows)</title><summary type='text'>Previously, I wrote up how to match open network ports to running
processes for FreeBSD, Solaris, and Linux.  If UNIX hosts can correlate
ports to processes, shouldn't Windows Server be able to as well?
Beginning with Windows 2000, it can.  Our host details for this are:
        HOSTS:          redmond
        PROMPT:         redmond C:\&gt;
        OS:             Windows Server 2008
With Windows </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3289621367289114477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3289621367289114477&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3289621367289114477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3289621367289114477'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/02/network-ports-and-processes-windows.html' title='Network Ports and Processes (Windows)'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6130768589882232335</id><published>2011-02-13T17:29:00.002-05:00</published><updated>2011-02-13T17:32:23.269-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog info'/><title type='text'>new utility, basecon.pl</title><summary type='text'>I've posted a new utility, basecon.pl, to the Tools page.  basecon.pl is a simple utility that converts base inputs to selected base output.  Currently, basecon.pl can accept input and output types of ascii, binary, decimal, hexadecimal, and octal.  The following is sample output from basecon.pl:
user@host [0] basecon.pl -h

basecon.pl converts base inputs to selected base output

Usage:  </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6130768589882232335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6130768589882232335&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6130768589882232335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6130768589882232335'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/02/new-utility-baseconpl.html' title='new utility, basecon.pl'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-4143157009207636506</id><published>2011-02-03T23:08:00.001-05:00</published><updated>2011-02-03T23:10:28.055-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='rc.local'/><title type='text'>Static Routes in Linux</title><summary type='text'>Nearly every UNIX sysadmin at some point will need to know how to manage
a host's routing table.  With that in mind, here's how to manage static
routes on a Red Hat Linux clone.  Our details for this are:
        HOST:           tux
        PROMPT:         tux [0]
        OS:             CentOS 5.4 Linux
In the following exmple, a route is added for network 10.11.18.0/24
(10.11.18.0 - </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/4143157009207636506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=4143157009207636506&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4143157009207636506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4143157009207636506'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/02/static-routes-in-linux.html' title='Static Routes in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-2555944157409658505</id><published>2011-01-31T21:19:00.001-05:00</published><updated>2011-02-03T23:11:26.156-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rc.conf'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Static Routes in FreeBSD</title><summary type='text'>A friend of mine recently told me that while he appreciated the detail
and content of my writings, a good deal of the subject matter was a
little beyond him.  In support of the fresh-faced sysadmins and those
that might be new to FreeBSD (we were all there once), this write up is
how to add static routes to a FreeBSD host.  Our details for this are:
        HOST:           beastie
        PROMPT:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2555944157409658505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2555944157409658505&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2555944157409658505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2555944157409658505'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/static-routes-in-freebsd.html' title='Static Routes in FreeBSD'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-7857544056800814386</id><published>2011-01-29T03:48:00.001-05:00</published><updated>2011-01-29T03:59:38.453-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='mdadm'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='raid'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mirror'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='disk clone'/><title type='text'>Breaking and Syncing an MD Root Mirror</title><summary type='text'>Here's one of those times where I thought, "I wonder", as in I wonder if
I can break an MD root mirror and sanely recreate it.  You can do so with
other software RAID solutions so why not here?  Well, you can.  There is
nothing short about this procedure, taking 80+ commands to accomplish.
Then again, if you are getting ready to do something to a host that
is potentially going to wreck the root </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7857544056800814386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7857544056800814386&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7857544056800814386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7857544056800814386'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/breaking-and-syncing-md-root-mirror.html' title='Breaking and Syncing an MD Root Mirror'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-472927309893172592</id><published>2011-01-23T22:48:00.007-05:00</published><updated>2011-01-29T04:02:41.841-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='raid'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='mkfs'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='mdadm'/><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fdisk'/><category scheme='http://www.blogger.com/atom/ns#' term='mirror'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='mbr'/><category scheme='http://www.blogger.com/atom/ns#' term='disk clone'/><title type='text'>Creating an MD Root Mirror in Linux</title><summary type='text'>For whatever reason, you originally set up your Linux host without a root
disk mirror and now you want it mirrored.  One could say "just re-install,"
but surely there is another way, and there is.  The solution isn't quick
or simple, though it isn't impossible.  Our host details are:
        HOST:           tux
        PROMPTS:        [tux[0] |[root@tux /]# |sh-3.2# ]
        OS:             </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/472927309893172592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=472927309893172592&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/472927309893172592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/472927309893172592'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/creating-md-root-mirror-in-linux.html' title='Creating an MD Root Mirror in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3136294812335087629</id><published>2011-01-20T01:48:00.000-05:00</published><updated>2011-01-20T01:48:05.748-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='inittab'/><category scheme='http://www.blogger.com/atom/ns#' term='init'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><title type='text'>Missing Linux inittab</title><summary type='text'>Since I'm somewhat on a "break the boot process" kick, I've deliberately
removed '/etc/inittab' on a Linux host.  As the following illustrates,
a missing 'inittab' really isn't as bad as it seems.  Our details for
this setup are:
        HOST:           tux
        PROMPTS:        [sh-3.2# |tux [0] ]
        OS:             CentOS 5.4 Linux
We start off with booting the host normally.  As </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3136294812335087629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3136294812335087629&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3136294812335087629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3136294812335087629'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/missing-linux-inittab.html' title='Missing Linux inittab'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-7675676529820180071</id><published>2011-01-17T20:31:00.000-05:00</published><updated>2011-01-17T20:31:37.331-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bios'/><category scheme='http://www.blogger.com/atom/ns#' term='mbr'/><title type='text'>Missing GRUB Config in Linux</title><summary type='text'>Having recently written up how to restore GRUB to a missing / corrupted
master boot record (MBR), it seemed appropriate to follow up with
resolving a missing GRUB config file.  Our host details for this
situation are:
        HOST:           tux
        PROMPTS:        [grub&gt; |tux [0] ]
        OS:             CentOS 5.4 Linux
        DISKS:          [sda (hd0|disk1)|sdb (hd1|disk2)]
        ROOT</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7675676529820180071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7675676529820180071&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7675676529820180071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7675676529820180071'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/missing-grub-config-in-linux.html' title='Missing GRUB Config in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8426733712150748063</id><published>2011-01-15T17:11:00.001-05:00</published><updated>2011-01-15T17:11:43.852-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mke2fs'/><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='dumpe2fs'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><title type='text'>Recreate a Linux EXT3 FS</title><summary type='text'>We've looked at Solaris and FreeBSD, now it's time to look at recreating
a Linux EXT3 filesystem.  Similar to the previous two, if you customized
the options to 'mke2fs / mkfs', 'mke2fs -n' is not the answer since it
will only produce data about generic FS creation.  Our host details this
time are:
        HOST:                   tux
        PROMPT:                 tux [0]
        OS:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8426733712150748063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8426733712150748063&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8426733712150748063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8426733712150748063'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/recreate-linux-ext3-fs.html' title='Recreate a Linux EXT3 FS'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8231512809151064732</id><published>2011-01-13T19:33:00.001-05:00</published><updated>2011-01-15T17:13:22.721-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='newfs'/><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='dumpfs'/><title type='text'>Recreate a FreeBSD UFS FS</title><summary type='text'>As a follow up to recreating a Solaris UFS FS, the following details
FreeBSD.  Just as with Solaris, when trying to determine how a filesystem
was created, 'newfs -N /dev/da2s1a' is not the answer, as it only produces
information relevant to a default FS creation.  Our host details for this
scenario are:
        HOST:                   beastie
        PROMPT:                 beastie [0]
        </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8231512809151064732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8231512809151064732&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8231512809151064732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8231512809151064732'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/recreate-freebsd-ufs-fs.html' title='Recreate a FreeBSD UFS FS'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8752024007168150534</id><published>2011-01-11T20:57:00.004-05:00</published><updated>2011-01-15T17:12:43.486-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='newfs'/><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='fstyp'/><category scheme='http://www.blogger.com/atom/ns#' term='mkfs'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Recreate a Solaris UFS FS</title><summary type='text'>Have you ever wondered what options were used to create a UFS filesystem
(FS) on a Solaris host?  Normally when you ask that question, it
seems someone will refer you to passing '-N' to 'newfs'.  Unfortunately,
this response will only provide you with default parameters to build a
generic FS, not the one you are concerned with.  Our host details for 
this scenario are:
        HOST:           </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8752024007168150534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8752024007168150534&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8752024007168150534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8752024007168150534'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/recreate-solaris-ufs-fs.html' title='Recreate a Solaris UFS FS'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-315374644158897868</id><published>2011-01-10T02:13:00.004-05:00</published><updated>2011-01-29T04:03:30.718-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='mkswap'/><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mirror'/><category scheme='http://www.blogger.com/atom/ns#' term='fdisk'/><category scheme='http://www.blogger.com/atom/ns#' term='bios'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='ufsdump'/><category scheme='http://www.blogger.com/atom/ns#' term='mbr'/><category scheme='http://www.blogger.com/atom/ns#' term='disk clone'/><title type='text'>Disk Cloning in Linux</title><summary type='text'>A while back, I wrote up how to clone a disk in Solaris and in FreeBSD,
yet somehow managed to overlook writing up how to do so in Linux.
This write up is to rectify just that, how to clone a disk, in this case,
the root disk, in Linux.  The following are our setup details:
        HOST:           tux
        PROMPT:         tux [0]
        OS:             CentOS 5.4 Linux
        MASTER DISK:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/315374644158897868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=315374644158897868&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/315374644158897868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/315374644158897868'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/disk-cloning-in-linux.html' title='Disk Cloning in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-567123639650236936</id><published>2011-01-08T08:41:00.002-05:00</published><updated>2011-01-24T14:06:45.409-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='bios'/><category scheme='http://www.blogger.com/atom/ns#' term='mbr'/><title type='text'>GRUB, a Corrupted MBR, and Linux</title><summary type='text'>Recently, after cloning a root disk in Linux, I ran into an issue because
I failed to setup the master boot record (MBR) on the alternate disk.
Everything else was configured, including the boot image files and grub
configuration under /boot/grub, but the MBR wasn't setup.  The following
details one solution to this using the following details:
        HOST:           tux
        PROMPTS:        </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/567123639650236936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=567123639650236936&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/567123639650236936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/567123639650236936'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/grub-corrupted-mbr-and-linux.html' title='GRUB, a Corrupted MBR, and Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-7649338225178453541</id><published>2011-01-07T05:56:00.000-05:00</published><updated>2011-01-07T05:56:10.784-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='mkswap'/><category scheme='http://www.blogger.com/atom/ns#' term='partition'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fdisk'/><category scheme='http://www.blogger.com/atom/ns#' term='swap'/><title type='text'>Adding Swap Space in Linux</title><summary type='text'>We've discussed FreeBSD and Solaris, now it's time to have a look at
adding swap space in Linux.  As previously handled, the setting up
of swap on a free disk partition or else a swap file is discussed.
The following details our example host:
        HOST:           tux
        PROMPT:         tux [0]
        OS:             CentOS 5.4 Linux
PARTITION:  If you already have a free partition that </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7649338225178453541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7649338225178453541&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7649338225178453541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7649338225178453541'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/adding-swap-space-in-linux.html' title='Adding Swap Space in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6093798918880564129</id><published>2011-01-06T14:54:00.004-05:00</published><updated>2011-01-07T05:58:52.232-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mkfile'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='format'/><category scheme='http://www.blogger.com/atom/ns#' term='partition'/><category scheme='http://www.blogger.com/atom/ns#' term='swap'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Adding Swap Space in Solaris</title><summary type='text'>Following up on "Adding Swap Space in FreeBSD", we take a look at the same
with Solaris.  As in the FreeBSD writeup, the usage of a free disk slice
or else a swap file is discussed.  The following details our host info:
        HOST:           snorkle
        PROMPT:         snorkle [0]
        OS:             Solaris 10 x86
While detailed is Solaris 10 x86 for our examples, the following should
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6093798918880564129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6093798918880564129&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6093798918880564129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6093798918880564129'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/adding-swap-space-in-solaris.html' title='Adding Swap Space in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1417131535484505296</id><published>2011-01-05T08:14:00.005-05:00</published><updated>2011-01-07T05:58:00.073-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rc.conf'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='partition'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='fdisk'/><category scheme='http://www.blogger.com/atom/ns#' term='bsdlabel'/><category scheme='http://www.blogger.com/atom/ns#' term='mdconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='swap'/><title type='text'>Adding Swap Space in FreeBSD</title><summary type='text'>While it shouldn't occur too frequently, it is likely at some point as a
sysadmin, you will need to add additional swap space to a box.  At that
time, your options will be to use a free disk partition with suitable
space or to create a swapfile on an existing filesystem.  The following
details both partition and swapfile with the host info below:
        HOST:           beastie
        PROMPT:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1417131535484505296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1417131535484505296&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1417131535484505296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1417131535484505296'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/adding-swap-space-in-freebsd.html' title='Adding Swap Space in FreeBSD'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-5404333002246077822</id><published>2011-01-01T18:56:00.006-05:00</published><updated>2011-01-05T08:04:58.589-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mount'/><category scheme='http://www.blogger.com/atom/ns#' term='loop device'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='mdconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='iso'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Mounting ISO Images</title><summary type='text'>So you've created a fresh ISO image and now you want to use it, verify
its contents, etc.  Whatever your purpose, it is fairly trivial to
mount the image file and access it.  The following are our host details:
        HOSTS:          tux (Linux), beastie (FreeBSD), snorkle (Solaris)
        PROMPT:         host [0]
        OSes:           CentOS 5.4 (tux)
                        FreeBSD 8.1 (</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5404333002246077822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5404333002246077822&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5404333002246077822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5404333002246077822'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2011/01/mounting-iso-images.html' title='Mounting ISO Images'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-5011881253647210749</id><published>2010-12-28T05:28:00.002-05:00</published><updated>2010-12-28T05:33:09.480-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ports'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='port forwarding'/><category scheme='http://www.blogger.com/atom/ns#' term='tunnel'/><title type='text'>Local Port Forwarding In SSH</title><summary type='text'>Anyone familiar with UNIX administration is almost assuredly familiar
with SSH.  As a de facto standard of remote access, it can be used as
a replacement to telnet, ftp, rcp, and rlogin.  Additionally, it can
be used to provide a secure channel for other needs such encrypting
arbitrary IP services between two hosts or tunnelling IP services
through an intermediary host.  The following details how</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5011881253647210749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5011881253647210749&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5011881253647210749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5011881253647210749'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/12/local-port-forwarding-in-ssh.html' title='Local Port Forwarding In SSH'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-4422676469801997619</id><published>2010-12-19T02:45:00.003-05:00</published><updated>2010-12-19T02:59:37.998-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='sudo'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='privileges'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='op'/><title type='text'>op, An Alternative To sudo</title><summary type='text'>**** What is op? ****

For those unfamiliar with op, one can think of op as being similar
to sudo.  As taken from the man page (op.1):
        The op tool provides a flexible means for system administrators
        to  grant  trusted users access to certain root operations without
        having to give them full superuser privileges.  Different sets of
        users may access different </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/4422676469801997619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=4422676469801997619&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4422676469801997619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4422676469801997619'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/12/op-alternative-to-sudo.html' title='op, An Alternative To sudo'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3004662549728045584</id><published>2010-12-16T19:57:00.005-05:00</published><updated>2010-12-19T00:38:04.681-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ifconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Using Logical Network Interfaces</title><summary type='text'>Logical interfaces (logints, vips) are sometimes overlooked though can be
quite handy.  For instance, they can be used for IP based hosting (think
webservers), failover of clustered services, testing, providing network
connectivity for zones, etc.  Additionally, they are relatively trivial
to setup and use (see note 1).  As an aside, in the details below, the
terms logints and vips are used </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3004662549728045584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3004662549728045584&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3004662549728045584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3004662549728045584'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/12/using-logical-network-interfaces.html' title='Using Logical Network Interfaces'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8258188015566931127</id><published>2010-12-12T19:38:00.002-05:00</published><updated>2010-12-12T20:06:31.175-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='prtconf'/><category scheme='http://www.blogger.com/atom/ns#' term='host info'/><category scheme='http://www.blogger.com/atom/ns#' term='bios'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>BIOS Boot Device - Solaris</title><summary type='text'>In 'Host Info - Boot Parameters', we saw how the boot device on Solaris
could be identified using 'prtconf'.  The output was similar to:
        boot-device:    '/pci@1e,600000/ide@d/disk@0,0:aWhile similar output to the above should exist on any SPARC platform,
on x86 'prtconf' may leave you wanting, returning a result like:
        snorkle [0] /usr/sbin/prtconf -vp | /usr/bin/egrep 'boot(args|-</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8258188015566931127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8258188015566931127&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8258188015566931127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8258188015566931127'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/12/bios-boot-device-solaris.html' title='BIOS Boot Device - Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-2953709057897884419</id><published>2010-12-09T03:52:00.002-05:00</published><updated>2010-12-09T04:00:26.950-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='volume'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='svm'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Mounting an SVM Root Disk from CDROM</title><summary type='text'>The following illustrates how to mount a root disk under Solaris Volume
Manager (SVM) control when booted from a CDROM.  Our host details:
        HOST:                   snorkle
        PROMPT:                 cdrom [0]
        OS:                     Solaris 10 u8 x86
        SVM ROOT DEVICE:        d2
        PHYSICAL ROOT SLICE:    c1t1d0s0
        NOTES:                  The following is </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2953709057897884419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2953709057897884419&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2953709057897884419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2953709057897884419'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/12/mounting-svm-root-disk-from-cdrom.html' title='Mounting an SVM Root Disk from CDROM'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-5915262166019123079</id><published>2010-12-07T02:48:00.001-05:00</published><updated>2010-12-07T02:52:56.850-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='nfs'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>FreeBSD Issue with Solaris NFS Shares</title><summary type='text'>In a past NAS migration attempt, it was discovered that FreeBSD boxes 
don't necessarily play well with NFS mounts shared from Solaris boxes
when the mount IP is on a virtual interface.  The reason behind this
issue is that Solaris, in dealing with virtual interfaces, responds 
to incoming requests using one configured IP address on the particular
physical interface.  FreeBSD, however, expects a </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5915262166019123079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5915262166019123079&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5915262166019123079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5915262166019123079'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/12/freebsd-issue-with-solaris-nfs-shares.html' title='FreeBSD Issue with Solaris NFS Shares'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-2477186986738804733</id><published>2010-12-03T00:35:00.001-05:00</published><updated>2010-12-03T00:38:45.626-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cpu'/><category scheme='http://www.blogger.com/atom/ns#' term='registry'/><category scheme='http://www.blogger.com/atom/ns#' term='host info'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='memory'/><category scheme='http://www.blogger.com/atom/ns#' term='systeminfo'/><title type='text'>Host Info - Windows Server pt. 1</title><summary type='text'>What's this, a Windows Server post?  He's lost his mind, right?!
This post can be chalked up to "what if X", as in, what if I want to
get host information on a Windows server from the command line.  So,
adding to the host info series, here's how to get memory, cpu, and boot
information in Windows 2003.  Our host details are:
        HOST:           fenster
        PROMPT:         fenster [C:\]
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2477186986738804733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2477186986738804733&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2477186986738804733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2477186986738804733'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/12/host-info-windows-server-pt-1.html' title='Host Info - Windows Server pt. 1'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3490509955144091990</id><published>2010-11-30T00:25:00.001-05:00</published><updated>2010-12-03T00:37:10.962-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='proc'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='kenv'/><category scheme='http://www.blogger.com/atom/ns#' term='prtconf'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='host info'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Host Info - Boot Parameters</title><summary type='text'>Now entering the batter's box of the 'host info' series, boot parameters
of a running host.  Our lineup of hosts and "stats" are:
        HOSTS:          snorkle (sunhost), tux (linhost), beastie (bsdhost)
        PROMPT:         host [0]
        Solaris INFO:   Solaris 10, x86
        Linux INFO:     CentOS 5.4, x86
        FreeBSD INFO:   FreeBSD 8.1, x86
Leading the lineup, and recently traded</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3490509955144091990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3490509955144091990&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3490509955144091990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3490509955144091990'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/host-info-boot-parameters.html' title='Host Info - Boot Parameters'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6252199791326921178</id><published>2010-11-28T17:45:00.000-05:00</published><updated>2010-11-28T17:45:47.561-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog info'/><title type='text'>Trust, But Verify</title><summary type='text'>In setting up this blog, my intention has been to submit posts that are 
technically sound and accurate.  The posts could then serve me in the
future as reference and hopefully be of service to others.  A comment I
received about one of my posts caused me to go back and read thoroughly 
every detail of it.  Since I had originally written the details almost
2 years ago and only recently posted it </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6252199791326921178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6252199791326921178&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6252199791326921178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6252199791326921178'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/trust-but-verify.html' title='Trust, But Verify'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6792872188006773527</id><published>2010-11-28T02:19:00.037-05:00</published><updated>2010-12-02T20:35:59.146-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='svm'/><category scheme='http://www.blogger.com/atom/ns#' term='mirror'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='vxvm'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Replacing VxVM with SVM for the rootdisk</title><summary type='text'>The purpose of this post is to illustrate how to replace Veritas Volume
Manager (VxVM) with Sun Volume Manager (SVM) for control of the root disk
while leaving application volumes under VxVM control.  I had originally
tested this against Solaris 9 sparc running VxVM 4.0, though have updated
it for Solaris 10 x86 running VxVM 5.0MP3.  The commands are still the
same, with the addition of </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6792872188006773527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6792872188006773527&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6792872188006773527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6792872188006773527'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/replacing-vxvm-with-svm-for-rootdisk.html' title='Replacing VxVM with SVM for the rootdisk'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-5071109173216909366</id><published>2010-11-24T14:29:00.003-05:00</published><updated>2010-11-30T00:25:56.556-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vlan'/><category scheme='http://www.blogger.com/atom/ns#' term='proc'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='dladm'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ifconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='802.1q'/><category scheme='http://www.blogger.com/atom/ns#' term='host info'/><category scheme='http://www.blogger.com/atom/ns#' term='ndd'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='ethtool'/><title type='text'>Host Info - Network Interfaces</title><summary type='text'>As part of the 'host info' series, we're on to network interfaces.
I know, can't be too hard, run 'ifconfig'.  That's fine if you want IP
(layer 3) related information, but what about layer 2 details?  To get
link status, associated interface speed, duplex, and VLAN tagging
(802.1q trunking) information, following comes into play.  Like before,
the details of our hosts are:
        HOSTS:</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5071109173216909366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5071109173216909366&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5071109173216909366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5071109173216909366'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/host-info-network-interfaces.html' title='Host Info - Network Interfaces'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-8033746640204283485</id><published>2010-11-22T01:54:00.002-05:00</published><updated>2010-11-22T02:36:58.579-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='nfs'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='fuser'/><category scheme='http://www.blogger.com/atom/ns#' term='fstat'/><title type='text'>Overlaid Mount Problem</title><summary type='text'>In UNIX environments, it's not uncommon to see various file systems (FS)
mounted, be it local storage, fiber attached from a SAN, network based
like NFS, etc.  These mounts may be exist for any number of reasons,
such as application data, user home directories, additional log space,
and so on.  On occasion, such mounts can obfuscate an otherwise easily
identifiable problem.  So here's our host </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8033746640204283485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8033746640204283485&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8033746640204283485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8033746640204283485'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/overlaid-mount-problem.html' title='Overlaid Mount Problem'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-626225119656428617</id><published>2010-11-19T00:34:00.001-05:00</published><updated>2010-11-19T00:37:36.566-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vlan'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='vconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='ifconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='802.1q'/><title type='text'>VLAN Tagged Interfaces (Linux)</title><summary type='text'>A while back, I wrote on how to setup VLAN tagged interfaces on Solaris
and FreeBSD.  Though I've also needed to set them up under Linux, I
never seemed to get around to writing up how to do so.  To remedy this,
the following are our setup details:
        HOST:           tux
        PROMPT:         tux [0]
        LINUX DISTRO:   CentOS 5.4 (Red Hat EL clone)
        INTERFACE:      eth0
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/626225119656428617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=626225119656428617&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/626225119656428617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/626225119656428617'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/vlan-tagged-interfaces-linux.html' title='VLAN Tagged Interfaces (Linux)'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8686374186539774975</id><published>2010-11-17T20:03:00.005-05:00</published><updated>2010-11-24T14:34:54.733-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='host info'/><category scheme='http://www.blogger.com/atom/ns#' term='fdisk'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Host Info - Disks</title><summary type='text'>Continuing the 'host info' series, we check out what disks are presented
to the system.  As usual, the details of our hosts are:
        HOSTS:          snorkle (sunhost), tux (linhost), beastie (bsdhost)
        PROMPT:         host [0]
        Solaris INFO:   Solaris 10, x86
        Linux INFO:     CentOS 5.4, x86
        FreeBSD INFO:   FreeBSD 8.1, x86
Unlike Linux and FreeBSD, we have to </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8686374186539774975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8686374186539774975&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8686374186539774975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8686374186539774975'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/host-info-disks.html' title='Host Info - Disks'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3125972832744136689</id><published>2010-11-15T14:20:00.002-05:00</published><updated>2010-11-17T20:04:10.234-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cpu'/><category scheme='http://www.blogger.com/atom/ns#' term='sysctl'/><category scheme='http://www.blogger.com/atom/ns#' term='proc'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='host info'/><category scheme='http://www.blogger.com/atom/ns#' term='prtdiag'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Host Info - CPUs</title><summary type='text'>Following up on memory in the 'host info' series is CPUs.  As with memory,
the details of our hosts are:
        HOSTS:          snorkle (sunhost), tux (linhost), beastie (bsdhost)
        PROMPT:         host [0]
        Solaris INFO:   Solaris 10, x86
        Linux INFO:     CentOS 5.4, x86
        FreeBSD INFO:   FreeBSD 8.1, x86
CPU information In Solaris:

    To determine whether the kernel</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3125972832744136689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3125972832744136689&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3125972832744136689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3125972832744136689'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/host-info-cpus.html' title='Host Info - CPUs'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-4090690260135927734</id><published>2010-11-13T02:20:00.003-05:00</published><updated>2010-11-15T14:25:12.113-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sysctl'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='prtconf'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='host info'/><category scheme='http://www.blogger.com/atom/ns#' term='prtdiag'/><category scheme='http://www.blogger.com/atom/ns#' term='memory'/><category scheme='http://www.blogger.com/atom/ns#' term='swap'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Host Info - Memory</title><summary type='text'>This post on memory is the first in a series on how to retrieve various
bits of host information from Solaris, Linux, and FreeBSD.  The OS
details are:
        HOSTS:          snorkle (sunhost), tux (linhost), beastie (bsdhost)
        PROMPT:         host [0]
        Solaris INFO:   Solaris 10, x86
        Linux INFO:     CentOS 5.4, x86
        FreeBSD INFO:   FreeBSD 8.1, x86
Of note, most of </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/4090690260135927734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=4090690260135927734&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4090690260135927734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4090690260135927734'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/host-info-memory.html' title='Host Info - Memory'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8598037512982300224</id><published>2010-11-09T22:32:00.002-05:00</published><updated>2011-03-27T23:41:48.315-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='fuser'/><title type='text'>Removing / Recovering an Open File (Linux)</title><summary type='text'>Following up on "Removing / Recovering an Open File (Solaris)," the aim
here is to do the same with Linux.  The setup is the same, wherein a
'tail' is run in another terminal to hold open a file descriptor to a
file, while said file is accidentally removed.  Though the followingdetails CentOS 5.4, the same steps should be applicable on current and
previous versions of like distros.

INFO

</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8598037512982300224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8598037512982300224&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8598037512982300224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8598037512982300224'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/removing-recovering-open-file-linux.html' title='Removing / Recovering an Open File (Linux)'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-110774666031403134</id><published>2010-11-07T03:08:00.004-05:00</published><updated>2010-11-07T04:13:12.946-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog info'/><title type='text'>new tools</title><summary type='text'>The following new utilities have been posted to the 'Tools' page:
     getldp.pl -- determine device information for what a network interface is 
            connected to by way of reading CDP or LLDP packets
    ipcalc.pl -- utility for IPv4 range calculations based on CIDRs or netmasks
    lprtdiag.pl -- Linux 'prtdiag' like utiltiy
    op82dec.pl -- DHCP option 82 suboption 2 decoder / encoder</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/110774666031403134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=110774666031403134&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/110774666031403134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/110774666031403134'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/new-tools.html' title='new tools'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6083928645741580089</id><published>2010-11-06T03:26:00.002-04:00</published><updated>2010-11-17T20:23:10.461-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='dmp'/><category scheme='http://www.blogger.com/atom/ns#' term='vxdmp'/><category scheme='http://www.blogger.com/atom/ns#' term='mpxio'/><category scheme='http://www.blogger.com/atom/ns#' term='luxadm'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='mpathadm'/><title type='text'>Identifying DMP Subpaths in Solaris</title><summary type='text'>Recently I stumbled across one of my notes detailing a quick way to
identify the underlying subpaths supporting VxDMP devices:
        frost [0] /usr/sbin/vxdisk path
        SUBPATH                     DANAME               DMNAME       GROUP        STATE
        c2t20301E67B00F1032d12s2    c2t20301E67B00F1032d12s2 app6         appdg        ENABLED
        c3t20311E67B00F1032d12s2    </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6083928645741580089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6083928645741580089&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6083928645741580089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6083928645741580089'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/identifying-dmp-subpaths-in-solaris.html' title='Identifying DMP Subpaths in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3025052861402526203</id><published>2010-11-03T21:56:00.001-04:00</published><updated>2010-11-03T22:09:10.645-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='inode'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Free Space and Inodes</title><summary type='text'>Have you ever exhausted capacity on a volume when it still shows storage
space available?  The following details such a situation where the
intention is to simply copy some man pages into a directory.

HOST INFO

        host            beastie
        prompt          beastie [0]
        OS              FreeBSD 8.1
        FILESYSTEM      /mnt/somevol
        NOTE            Though the example </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3025052861402526203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3025052861402526203&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3025052861402526203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3025052861402526203'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/free-space-and-inodes.html' title='Free Space and Inodes'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-4987459316868028392</id><published>2010-11-01T01:57:00.001-04:00</published><updated>2010-11-17T20:16:41.961-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Logical Disk Names In Solaris</title><summary type='text'>Anyone familiar with Solaris instantly recognizes c1t3d0s4 and that
it identifies slice 4 on disk c1t3d0.  That's great, but what does the
rest mean.  On other UNIX OSes, you might get sdb3 or da2s1a to identify
a disk slice / partition and have to use a variety of means to determine
how it connects to the system.  Alternatively, Solaris provides a logical
disk name to easily identify the disk.  </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/4987459316868028392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=4987459316868028392&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4987459316868028392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/4987459316868028392'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/11/logical-disk-names-in-solaris.html' title='Logical Disk Names In Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6385662577088014698</id><published>2010-10-30T02:06:00.005-04:00</published><updated>2010-11-22T02:59:43.130-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='facl'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Fix a Broken chmod, or How to chmod chmod</title><summary type='text'>So here's the setup.  You've logged into one of your servers to update
permissions on a file only to see this:

        server [0] /bin/chmod +x /opt/somefile
        -ksh: /bin/chmod: cannot execute [Permission denied]
        server [0] /bin/ls -ld /bin/chmod
        -rw-r--r-- 1 root root 38564 Jul 18 22:24 /bin/chmod

Ouch, if we use 'chmod' to modify permissions on files, yet 'chmod'
is no </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6385662577088014698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6385662577088014698&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6385662577088014698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6385662577088014698'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/fix-broken-chmod-or-how-to-chmod-chmod.html' title='Fix a Broken chmod, or How to chmod chmod'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-7708030235372547703</id><published>2010-10-28T15:35:00.000-04:00</published><updated>2010-11-17T20:23:10.462-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='volume'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='vxvm'/><title type='text'>Reassociating a Failed Disk in Veritas</title><summary type='text'>Recently we had a situation wherein Vertias Volume Manager (VxVM)
marked a disk as 'failed' while additionally presenting the disk
available for use though unconfigured.  The weird part was that VxVM
continued to allow use of the volume until the volume was stopped.
Checks of the disk group (dg) would show 'NODEVICE' for the disk in
question, and a listing of the disk would show no Veritas header</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7708030235372547703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7708030235372547703&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7708030235372547703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7708030235372547703'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/reassociating-failed-disk-in-veritas.html' title='Reassociating a Failed Disk in Veritas'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-2768592672072417913</id><published>2010-10-21T21:43:00.002-04:00</published><updated>2011-03-23T23:34:27.267-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='file recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='fuser'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Removing / Recovering an Open File (Solaris)</title><summary type='text'>While working with filesystems, one will inevitably have to deal with afile that is quickly growing and becoming unmanageable.  Unfortunately,this situation normally becomes evident because the space of a volumehas been nearly exhausted.  If retention is necessary, you could set upthe file for log rotation and compression.  If the data isn't crucial,you could simply zero out the file or remove it</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2768592672072417913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2768592672072417913&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2768592672072417913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2768592672072417913'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/removing-recovering-open-file-solaris.html' title='Removing / Recovering an Open File (Solaris)'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8769297737416268788</id><published>2010-10-19T04:10:00.001-04:00</published><updated>2010-10-30T02:34:18.187-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='facl'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Fun with FACLs</title><summary type='text'>Quick, think of a way to give a specific user (jdoe) access to a
particular set of files which are owned by a different user (ivan)
and group (moskau).  Depending of what you are trying to accomplish,
I can immediately think of 7 ways:
        1: ensure adequate group permissions on the files and assign
           jdoe to the necessary group or supplemental group
        2: change the group </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8769297737416268788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8769297737416268788&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8769297737416268788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8769297737416268788'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/fun-with-facls.html' title='Fun with FACLs'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-7315359969726166408</id><published>2010-10-19T03:54:00.000-04:00</published><updated>2010-11-17T20:23:10.463-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='raid'/><category scheme='http://www.blogger.com/atom/ns#' term='volume'/><category scheme='http://www.blogger.com/atom/ns#' term='geom'/><title type='text'>Creating a Mirrored Volume with Geom (FreeBSD)</title><summary type='text'>INTRO

While it's not uncommon to find a Solaris host with some sort of RAID
configuration in place, within some environments, RAID configurationson FreeBSD seem to almost be held with trepidation.  The information
detailed below aims to overcome this hesitancy with the creation of a
simple mirrored (RAID1) volume using FreeBSD's current standard, GEOM.
Though the following details GEOM on </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7315359969726166408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7315359969726166408&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7315359969726166408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7315359969726166408'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/creating-mirrored-volume-with-geom.html' title='Creating a Mirrored Volume with Geom (FreeBSD)'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-1804168707989997144</id><published>2010-10-19T03:45:00.010-04:00</published><updated>2010-11-17T20:23:10.465-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='hba'/><category scheme='http://www.blogger.com/atom/ns#' term='luxadm'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='fcinfo'/><title type='text'>Solaris Devpath Enumeration</title><summary type='text'>The purpose of this doc is show how to physically identify and enumerate
your disk devices on a Sun branded box.  The reasons to do this may
include identifying a disk for replacement, determining the bus it is
attached to, I/O balancing, etc.  Of note, this doc is only valid with Sun
hardware with Solaris running on it as Sun has been kind enough to release
details regarding such.  Sun details </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1804168707989997144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1804168707989997144&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1804168707989997144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1804168707989997144'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/solaris-devpath-enumeration.html' title='Solaris Devpath Enumeration'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8910507976105878107</id><published>2010-10-19T03:03:00.000-04:00</published><updated>2010-11-17T20:23:10.466-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='raid'/><category scheme='http://www.blogger.com/atom/ns#' term='zfs'/><category scheme='http://www.blogger.com/atom/ns#' term='volume'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><title type='text'>ZFS Pool and FS Creation</title><summary type='text'>Volume and file system management are traditionally separate affairs,
being created and maintained individually of one another.  With Sun's
ZFS, the line between the two become blurred.  As a brief understanding,
a 'zpool' can be generically considered a volume, comprised of multipledisks and configured in a variety of RAID layouts.  A zfs file system is
then created on top of the volume, in the </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8910507976105878107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8910507976105878107&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8910507976105878107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8910507976105878107'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/zfs-pool-and-fs-creation.html' title='ZFS Pool and FS Creation'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8371718332412589262</id><published>2010-10-19T02:55:00.003-04:00</published><updated>2011-03-15T00:47:53.961-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='option 82'/><category scheme='http://www.blogger.com/atom/ns#' term='decimal'/><category scheme='http://www.blogger.com/atom/ns#' term='conversions'/><category scheme='http://www.blogger.com/atom/ns#' term='binary'/><category scheme='http://www.blogger.com/atom/ns#' term='hex'/><category scheme='http://www.blogger.com/atom/ns#' term='dhcp'/><title type='text'>Option 82 Decoding</title><summary type='text'>When looking at DHCP leases, one sometimes may need to be able todecode the option 82 (op82) string passed to the DHCP server.  Inthe examples below, the op82 string is provided as the 'relay-agent-remote-id''.  The value provided, however, isn'tintuitively clear:

        01:01:00:00:ac:08:20:56:22:dd:01:ae  
Before going any further, op82dec.pl (on the Tools page) is specifically 
capable of </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8371718332412589262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8371718332412589262&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8371718332412589262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8371718332412589262'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/option-82-decoding.html' title='Option 82 Decoding'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1506729159075592212</id><published>2010-10-19T02:22:00.000-04:00</published><updated>2010-10-19T02:22:15.812-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Rebuilding a Solaris Package</title><summary type='text'>Have you ever needed to rebuild a package already installed on a Solaris
host?  Though it may seem to be a rare case, I've had to do this several
times in the past and have yet to find any clear information on it.
A recent instance was where a primary host had a piece of softwareinstalled, though its peer did not.  Since the software revision was
older, it was determined to be safer to use the </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1506729159075592212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1506729159075592212&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1506729159075592212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1506729159075592212'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/rebuilding-solaris-package.html' title='Rebuilding a Solaris Package'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-6935140825124196134</id><published>2010-10-19T02:07:00.001-04:00</published><updated>2011-01-29T04:05:28.059-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='raid'/><category scheme='http://www.blogger.com/atom/ns#' term='svm'/><category scheme='http://www.blogger.com/atom/ns#' term='mirror'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='disk clone'/><title type='text'>Breaking and Syncing a SVM Root Mirror (Solaris)</title><summary type='text'>INTRO

The information detailed below is to assist with proactive planning for
the potential demise and recovery of a host back to the state it wasin prior to demise.  Circumstances this will likely be of benefit would
include the patching of a host, application upgrades by a vendor, trying
new and untested configurations, etc.  The value involved is that should
something go catastrophically </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6935140825124196134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6935140825124196134&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6935140825124196134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6935140825124196134'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/breaking-and-syncing-svm-root-mirror.html' title='Breaking and Syncing a SVM Root Mirror (Solaris)'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1532470029152851981</id><published>2010-10-19T01:46:00.001-04:00</published><updated>2011-01-29T04:06:42.363-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='raid'/><category scheme='http://www.blogger.com/atom/ns#' term='mirror'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='obp'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='disk clone'/><title type='text'>Breaking and Syncing a Hardware Root Mirror (Solaris)</title><summary type='text'>INTRO

The information detailed below is to assist with proactive planning for
the potential demise and recovery of a host back to the state it wasin prior to demise.  Circumstances this will likely be of benefit would
include the patching of a host, application upgrades by a vendor, trying
new and untested configurations, etc.  The value involved is that should
something go catastrophically </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1532470029152851981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1532470029152851981&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1532470029152851981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1532470029152851981'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/breaking-and-syncing-hardware-root.html' title='Breaking and Syncing a Hardware Root Mirror (Solaris)'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-8827072904437643063</id><published>2010-10-19T01:13:00.000-04:00</published><updated>2010-10-19T01:13:59.627-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='obp'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='hex'/><title type='text'>Solaris HWADDRs from OBP</title><summary type='text'>Occasionally, it's useful to know the hwaddr or MAC addr of an interface
without actually booting a box, such as when you are setting up a
jumpstart config for said box.  On Sun Sparc based machines, this
information can be obtained within the OpenBoot (OB) environment.As an aside, until recent years, all network interfaces on a Sun Sparc
box had the same hwaddr, though this was configurable via </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8827072904437643063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8827072904437643063&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8827072904437643063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8827072904437643063'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/solaris-hwaddrs-from-obp.html' title='Solaris HWADDRs from OBP'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6524929013165263680</id><published>2010-10-19T01:08:00.004-04:00</published><updated>2011-02-28T03:07:09.778-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='rcX.d'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Static Routes in Solaris</title><summary type='text'>This tip may seem somewhat trivial as we all know that to retain static
routes in Solaris, you simply create an init script such as the following:

        adler [0] ls -l /etc/rc2.d/S76route        -rwxr-xr-x   1 root     other        392 Mar 24  2009 /etc/rc2.d/S76route*
        adler [0] cat /etc/rc2.d/S76route
        #!/bin/sh
        /usr/sbin/route add -net 10.150.0.0/16 172.5.21.145
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6524929013165263680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6524929013165263680&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6524929013165263680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6524929013165263680'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/static-routes-in-solaris.html' title='Static Routes in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1939297542119362261</id><published>2010-10-19T01:00:00.000-04:00</published><updated>2010-10-19T01:00:53.386-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vlan'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ipmp'/><category scheme='http://www.blogger.com/atom/ns#' term='802.1q'/><title type='text'>IPMP and 802.1q on Linux</title><summary type='text'>Described herein is the practice of using IPMP (IP MultiPathing) and VLAN
tagged (802.1q trunking) interfaces layered together for the purpose of
port considerations (read: consolidation) and HA (high availability).
The following points should be noted relevant to the host used in thefollowing examples:

        OS:             Linux (CentOS 5.2)
        Kernel:         2.6.18-92.el5
        Host</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1939297542119362261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1939297542119362261&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1939297542119362261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1939297542119362261'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/ipmp-and-8021q-on-linux.html' title='IPMP and 802.1q on Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-5502025577639891775</id><published>2010-10-19T00:42:00.002-04:00</published><updated>2010-10-19T00:42:56.197-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='processes'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Process Environments</title><summary type='text'>When working on a host, it is sometimes of value to know the environmental
settings, such as PATH, that a process is currently using.  Fortunately,
there a way of obtaining this information for Solaris, Linux, and FreeBSD.
The following is an example for cron from a Solaris x86 box (though sparccould have been used):

        solaris [0] /usr/bin/ps -ef | /usr/bin/grep cron
            root  1687</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5502025577639891775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5502025577639891775&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5502025577639891775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5502025577639891775'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/process-environments.html' title='Process Environments'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-2683532608121000679</id><published>2010-10-19T00:38:00.000-04:00</published><updated>2010-11-17T20:23:10.470-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='volume'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><title type='text'>Recovering from a corrupted ext3 journal</title><summary type='text'>Occasionally, an EXT3 volume's journal will become corrupted.  When
this occurs, Linux will proactively remount the volume in question as
read-only in attempt to stave off further data corruption, loss, etc.
When the volume is remounted r/o, lines similar to the following can befound in dmesg, written to the console, and possibly in /var/log/messages:

        Aug 13 15:29:16 localhost kernel: </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2683532608121000679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2683532608121000679&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2683532608121000679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2683532608121000679'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/recovering-from-corrupted-ext3-journal.html' title='Recovering from a corrupted ext3 journal'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8190594667192723116</id><published>2010-10-19T00:23:00.004-04:00</published><updated>2011-02-24T16:52:27.579-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='rpm'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Package Builds in Linux</title><summary type='text'>This document details how to create a package on Linux.  Only the creationof a simple package is detailed in this doc.  For more elaborate packages,see the relevant man pages.The following assumptions are being made regarding the package builddescribed herein:        - the program, etc, has already been installed on the host          the package is to be built upon                - program </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8190594667192723116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8190594667192723116&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8190594667192723116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8190594667192723116'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/package-builds-in-linux.html' title='Package Builds in Linux'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-8009330710629629372</id><published>2010-10-19T00:15:00.011-04:00</published><updated>2010-10-19T00:34:46.552-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><title type='text'>Package Builds in FreeBSD</title><summary type='text'>This document details how to create a package on FreeBSD.  Only thecreation of a simple package is detailed in this doc.  For more elaboratepackages, see the relevant man pages.The following assumptions are being made regarding the package builddescribed herein:        - the program, etc, has already been installed on the host          the package is to be built upon                - program </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/8009330710629629372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=8009330710629629372&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8009330710629629372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/8009330710629629372'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/package-builds-in-freebsd.html' title='Package Builds in FreeBSD'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-3361945050821690226</id><published>2010-10-18T23:04:00.002-04:00</published><updated>2010-10-18T23:34:54.188-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Package Builds in Solaris</title><summary type='text'>This document details how to create a package on Solaris.  Only the
creation of a simple package is detailed in this doc.  For more elaborate
packages, see the relevant man pages.

The following assumptions are being made regarding the package build
described herein:

        - the program, etc, has already been installed on the host
          the package is to be built upon

        - for </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/3361945050821690226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=3361945050821690226&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3361945050821690226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/3361945050821690226'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/package-builds-in-solaris.html' title='Package Builds in Solaris'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-7880822746289144499</id><published>2010-10-18T22:52:00.001-04:00</published><updated>2011-02-17T18:34:42.795-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ports'/><category scheme='http://www.blogger.com/atom/ns#' term='processes'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Network Ports and Processes</title><summary type='text'>Looking at a host, there are times when it may be indeterminablewhat process may be holding a particular port open.  Perhaps becausethere is no entry for the port in /etc/services, thus netstat, etc,will not display a recognizable name.  The reason may be that the portnumber is not identifiable relative to any process running on the host.For whatever the reason, it may be necessary to determine </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7880822746289144499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7880822746289144499&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7880822746289144499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7880822746289144499'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/network-ports-and-processes.html' title='Network Ports and Processes'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-5153858274068412131</id><published>2010-10-18T22:40:00.000-04:00</published><updated>2010-10-18T22:40:41.144-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='fs'/><category scheme='http://www.blogger.com/atom/ns#' term='inode'/><title type='text'>Strange Filenames</title><summary type='text'>Inevitably, while working on a server, one will come across a file with a
strange name that seemingly cannot be easily operated upon.  Some examples
of commonplace files tend to be "!" and "@", wherein the "strange" file
was created while working perhaps in vi.  Other examples may be "--", "*","    .  ^   ", "     ", "$", "|", etc.  These file present somewhat of a
challenge as they have the </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/5153858274068412131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=5153858274068412131&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5153858274068412131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/5153858274068412131'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/strange-filenames.html' title='Strange Filenames'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-7729329084396704725</id><published>2010-10-18T22:35:00.000-04:00</published><updated>2010-10-18T22:35:03.073-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='files'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><title type='text'>Simple Pattern Replacements</title><summary type='text'>Managing data within a file sometimes requires that all instances of a
specific word / phrase be replaced with that of another.  This could be
something along the lines of a file from one host is copied to another,
thus the hostname contained in the file must be updated to reflect the
new host it resides upon.  Another instance could be the removal of ^M
from within a file originally dos </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7729329084396704725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7729329084396704725&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7729329084396704725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7729329084396704725'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/simple-pattern-replacements.html' title='Simple Pattern Replacements'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-1939804646932219400</id><published>2010-10-18T22:29:00.002-04:00</published><updated>2010-10-19T01:09:13.086-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='smf'/><category scheme='http://www.blogger.com/atom/ns#' term='rcX.d'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Solaris Management Facility</title><summary type='text'>With the advent of Solaris 10, Sun introduced a new mechanism to manage
the running of services, the services management facility (smf(5)).
This is important to note as it impacts the startup of services
traditionally handled via the various rcX.d directories.  In short, whilethe rcX.d directories are still existent and may be used for "legacy"
scripts, the actual handling of the majority of the </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/1939804646932219400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=1939804646932219400&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1939804646932219400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/1939804646932219400'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/solaris-management-facility.html' title='Solaris Management Facility'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6678172224870379730</id><published>2010-10-18T22:18:00.002-04:00</published><updated>2011-07-13T02:03:42.042-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pkg'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='rpm'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Package File Ownership</title><summary type='text'>Once a system is built and begins to be used, undoubtedly, more files
are added to the system.  These files may be logs, user / application
created files, files that are part of a package, or those compiled
from source.  When poking around a system, one may stumble across a filethat was installed by a package though either the package is unknown to
the individual or is not readily identifiable.  </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6678172224870379730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6678172224870379730&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6678172224870379730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6678172224870379730'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/package-file-ownership.html' title='Package File Ownership'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-356916275858603788</id><published>2010-10-18T22:11:00.000-04:00</published><updated>2010-10-18T22:11:38.613-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='inode'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>File Times</title><summary type='text'>Occasionally it may be necessary to determine the various times of a file.These times break down to access (when the file was last accessed),modification (time of last modification), and inode (time of lastmodification of the inode (mode / permission changes, etc.).  FreeBSD,Solaris, and Linux have various means of determining this information,one of which being /bin/ls.  The output from this </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/356916275858603788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=356916275858603788&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/356916275858603788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/356916275858603788'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/file-times.html' title='File Times'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-2256068793191658112</id><published>2010-10-18T21:55:00.000-04:00</published><updated>2010-10-18T21:55:34.044-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='epoch'/><category scheme='http://www.blogger.com/atom/ns#' term='awk'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><category scheme='http://www.blogger.com/atom/ns#' term='date'/><title type='text'>Epoch Time</title><summary type='text'>Have you ever needed a way to determine UNIX (Epoch) Time, or perhaps its
counterpart in 24 hour format?

via perl:
        server [0] perl -e 'print scalar time;' ; echo
        1154020678

        To use UNIX time to determine it's correlative in 24 hour format:
            server [0] perl -e 'print scalar localtime 1154020678 ;' ; echo
            Thu Jul 27 13:17:58 2006

via gnu awk:
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/2256068793191658112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=2256068793191658112&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2256068793191658112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/2256068793191658112'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/epoch-time.html' title='Epoch Time'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519466443740157589.post-139390149153453941</id><published>2010-10-18T21:51:00.003-04:00</published><updated>2011-01-10T02:25:05.925-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='vtoc'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='mirror'/><category scheme='http://www.blogger.com/atom/ns#' term='fsck'/><category scheme='http://www.blogger.com/atom/ns#' term='disk clone'/><title type='text'>Disk Cloning in FreeBSD</title><summary type='text'>Disk Cloning in FreeBSD:

A few assumptions:
        master disk:  da0

                \--&gt; disk already configured and in use
        alternate:    da1
                \--&gt; disk not configured and will become a clone of master
        configured slice:  s1
                \--&gt; slices 2, 3, and 4 remain unconfigured
        configured partitions:  a, b, d, e
                \--&gt; a=/, b=swap, d=/</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/139390149153453941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=139390149153453941&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/139390149153453941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/139390149153453941'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/disk-cloning-in-freebsd.html' title='Disk Cloning in FreeBSD'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-7799405123002193597</id><published>2010-10-18T21:34:00.003-04:00</published><updated>2011-03-15T00:48:06.287-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='octal'/><category scheme='http://www.blogger.com/atom/ns#' term='decimal'/><category scheme='http://www.blogger.com/atom/ns#' term='conversions'/><category scheme='http://www.blogger.com/atom/ns#' term='binary'/><category scheme='http://www.blogger.com/atom/ns#' term='base'/><category scheme='http://www.blogger.com/atom/ns#' term='hex'/><title type='text'>Base Conversions</title><summary type='text'>Every now and then, it may be necessary to do base conversions on numbers.
While some may be readily able to read 0x17 in hexadecimal as 23 in
decimal as 10111 in binary as 27 in octal, there are those who may not.
A simple example of how this information may be of use would be in

figuring out an interface's netmask from ifconfig's output.  In this
output, the netmask is printed in hexadecimal:
</summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/7799405123002193597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=7799405123002193597&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7799405123002193597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/7799405123002193597'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/base-conversions.html' title='Base Conversions'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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-4519466443740157589.post-6606692702369007592</id><published>2010-10-18T21:27:00.001-04:00</published><updated>2010-11-17T20:23:53.707-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ctd'/><category scheme='http://www.blogger.com/atom/ns#' term='disks'/><category scheme='http://www.blogger.com/atom/ns#' term='vtoc'/><category scheme='http://www.blogger.com/atom/ns#' term='partition'/><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='bsdlabel'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Determining Partition Tables</title><summary type='text'>This tip deals somewhat with Solaris, though moreso with FreeBSD.
On a Solaris host, to quickly determine how a hard disk may be carved up,
one can simply run prtvtoc against the device:    sunbox [0] /usr/bin/uname -a
    SunOS sunbox 5.10 Generic_118855-14 i86pc i386 i86pc
    sunbox [0] /usr/sbin/prtvtoc /dev/dsk/c1t0d0s2
    * /dev/dsk/c1t0d0s2 partition map
    *
    * Dimensions:
    *     </summary><link rel='replies' type='application/atom+xml' href='http://troysunix.blogspot.com/feeds/6606692702369007592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4519466443740157589&amp;postID=6606692702369007592&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6606692702369007592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519466443740157589/posts/default/6606692702369007592'/><link rel='alternate' type='text/html' href='http://troysunix.blogspot.com/2010/10/determining-partition-tables.html' title='Determining Partition Tables'/><author><name>troy</name><uri>http://www.blogger.com/profile/02867962932926227365</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>
