<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Number 42 &#187; Solaris</title>
	<atom:link href="http://www.thenumber42.net/category/computer-stuff/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thenumber42.net</link>
	<description>Mostly about software testing, but a little bit about life, the universe, and everything</description>
	<lastBuildDate>Wed, 31 Mar 2010 01:52:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Identifying the Hard Drives in Your System Under Solaris</title>
		<link>http://www.thenumber42.net/2008/05/19/identifying-the-hard-drives-in-your-system-under-solaris/</link>
		<comments>http://www.thenumber42.net/2008/05/19/identifying-the-hard-drives-in-your-system-under-solaris/#comments</comments>
		<pubDate>Mon, 19 May 2008 19:52:44 +0000</pubDate>
		<dc:creator>Isaac</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.thenumber42.net/?p=101</guid>
		<description><![CDATA[As someone coming from Linux I find working in Solaris completely backwards.  Case in point: Today I needed to get the drive information from a Solaris machine.  Of all commands the one to use is "format."  Go figure.  Anyway, here's how to do it, thanks to this article:
bash-3.00# format
Searching for disks...done

AVAILABLE [...]]]></description>
			<content:encoded><![CDATA[<p>As someone coming from Linux I find working in Solaris completely backwards.  Case in point: Today I needed to get the drive information from a Solaris machine.  Of all commands the one to use is "format."  Go figure.  Anyway, here's how to do it, thanks to <a href="http://developers.sun.com/solaris/articles/disk_info.html">this article</a>:</p>
<pre>bash-3.00# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c1t0d0 &lt;SUN72G cyl 14087 alt 2 hd 24 sec 424&gt;
          /pci@1c,600000/scsi@2/sd@0,0
       1. c1t1d0 &lt;SUN72G cyl 14087 alt 2 hd 24 sec 424&gt;
          /pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.
/dev/dsk/c1t0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c1t0d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c1t0d0s6 is currently mounted on /var. Please see umount(1M).
/dev/dsk/c1t0d0s7 is currently mounted on /sdh_home. Please see umount(1M).

FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !&lt;cmd&gt;     - execute &lt;cmd&gt;, then return
        quit
format&gt; inquiry
Vendor:   SEAGATE
Product:  ST373207LSUN72G
Revision: 045A
format&gt;
</pre>
<p>Now that you have the disk info you can go to the manufacturers web site and look up the drive information.  In this case the model number is ST373207L, which turns out to be a 10k RPM 73GB SCSI drive.</p>
<p>Good luck drive hunting. <img src='http://www.thenumber42.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="link-summarizer">Link Summary
<ul>
<li><a href='http://developers.sun.com/solaris/articles/disk_info.html'>http://developers.sun...ticles/disk_info.html</a></li>
</ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.thenumber42.net/2008/05/19/identifying-the-hard-drives-in-your-system-under-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unmounting an ISO Image in Solaris</title>
		<link>http://www.thenumber42.net/2008/02/09/unmounting-an-iso-image/</link>
		<comments>http://www.thenumber42.net/2008/02/09/unmounting-an-iso-image/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 20:07:07 +0000</pubDate>
		<dc:creator>Isaac</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[lofiadm]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://www.thenumber42.net/2008/02/09/unmounting-an-iso-image/</guid>
		<description><![CDATA[As a follow up to a previous post, here is how to unmount an ISO image in Solaris.  In Linux mounting and unmounting ISO images is a one step process, not two like in Solaris.
Unmount the image:
umount /mount/point
Delete the block device:
lofiadm -d /dev/lofi/1
]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Table of contents for Solaris Administration</h3><ol><li><a href='http://www.thenumber42.net/2008/02/06/mounting-an-iso-image-in-solaris/' title='Mounting an ISO Image in Solaris'>Mounting an ISO Image in Solaris</a></li><li><a href='http://www.thenumber42.net/2008/02/07/showing-installed-ram-in-solaris/' title='Showing Installed RAM in Solaris'>Showing Installed RAM in Solaris</a></li><li>Unmounting an ISO Image in Solaris</li></ol></div> <p>As a follow up to a previous post, here is how to unmount an ISO image in Solaris.  In Linux mounting and unmounting ISO images is a one step process, not two like in Solaris.</p>
<p>Unmount the image:</p>
<pre class="bash"><span style="color: #c20cb9; font-weight: bold;">umount</span> /<span style="color: #c20cb9; font-weight: bold;">mount</span>/point</pre>
<p>Delete the block device:</p>
<pre class="bash">lofiadm -d /dev/lofi/<span style="color: #000000;">1</span></pre>
 <div class='series_links'><a href='http://www.thenumber42.net/2008/02/07/showing-installed-ram-in-solaris/' title='Showing Installed RAM in Solaris'>Previous in series</a> </div>]]></content:encoded>
			<wfw:commentRss>http://www.thenumber42.net/2008/02/09/unmounting-an-iso-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Showing Installed RAM in Solaris</title>
		<link>http://www.thenumber42.net/2008/02/07/showing-installed-ram-in-solaris/</link>
		<comments>http://www.thenumber42.net/2008/02/07/showing-installed-ram-in-solaris/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 11:00:43 +0000</pubDate>
		<dc:creator>Isaac</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[RAM]]></category>

		<guid isPermaLink="false">http://www.thenumber42.net/2008/02/07/showing-installed-ram-in-solaris/</guid>
		<description><![CDATA[The following command will show the amount of installed RAM in a Sun Solaris machine.
/usr/sbin/prtconf &#124; grep Memory
]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Table of contents for Solaris Administration</h3><ol><li><a href='http://www.thenumber42.net/2008/02/06/mounting-an-iso-image-in-solaris/' title='Mounting an ISO Image in Solaris'>Mounting an ISO Image in Solaris</a></li><li>Showing Installed RAM in Solaris</li><li><a href='http://www.thenumber42.net/2008/02/09/unmounting-an-iso-image/' title='Unmounting an ISO Image in Solaris'>Unmounting an ISO Image in Solaris</a></li></ol></div> <p>The following command will show the amount of installed RAM in a Sun Solaris machine.</p>
<pre class="bash">/usr/sbin/prtconf | <span style="color: #c20cb9; font-weight: bold;">grep</span> Memory</pre>
 <div class='series_links'><a href='http://www.thenumber42.net/2008/02/06/mounting-an-iso-image-in-solaris/' title='Mounting an ISO Image in Solaris'>Previous in series</a> <a href='http://www.thenumber42.net/2008/02/09/unmounting-an-iso-image/' title='Unmounting an ISO Image in Solaris'>Next in series</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.thenumber42.net/2008/02/07/showing-installed-ram-in-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting an ISO Image in Solaris</title>
		<link>http://www.thenumber42.net/2008/02/06/mounting-an-iso-image-in-solaris/</link>
		<comments>http://www.thenumber42.net/2008/02/06/mounting-an-iso-image-in-solaris/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 13:45:21 +0000</pubDate>
		<dc:creator>Isaac</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[lofiadm]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://www.thenumber42.net/2008/02/06/iwagner/</guid>
		<description><![CDATA[I don't want to start a flame war, but I have never been fond of Solaris.  It feels clumsy to me after using Linux for so long.  However, my role at work has recently shifted and I have been forced into using Solaris.  So, I am going to start posting little Solaris [...]]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Table of contents for Solaris Administration</h3><ol><li>Mounting an ISO Image in Solaris</li><li><a href='http://www.thenumber42.net/2008/02/07/showing-installed-ram-in-solaris/' title='Showing Installed RAM in Solaris'>Showing Installed RAM in Solaris</a></li><li><a href='http://www.thenumber42.net/2008/02/09/unmounting-an-iso-image/' title='Unmounting an ISO Image in Solaris'>Unmounting an ISO Image in Solaris</a></li></ol></div> <p>I don't want to start a flame war, but I have never been fond of Solaris.  It feels clumsy to me after using Linux for so long.  However, my role at work has recently shifted and I have been forced into using Solaris.  So, I am going to start posting little Solaris tidbits as I find them.</p>
<p>To mount an ISO image in Solaris it is a two step process.  First, you need to create a block device out of the ISO image:</p>
<pre class="bash">lofiadm -a /path/to/software.iso /dev/lofi/<span style="color: #000000;">1</span></pre>
<p>Next, perform the actual mount:</p>
<pre class="bash"><span style="color: #c20cb9; font-weight: bold;">mount</span> -F hsfs -o ro /dev/lofi/<span style="color: #000000;">1</span> /<span style="color: #c20cb9; font-weight: bold;">mount</span>/point</pre>
 <div class='series_links'> <a href='http://www.thenumber42.net/2008/02/07/showing-installed-ram-in-solaris/' title='Showing Installed RAM in Solaris'>Next in series</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.thenumber42.net/2008/02/06/mounting-an-iso-image-in-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
