<?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:blogger='http://schemas.google.com/blogger/2008' 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-4961605942049698504</id><updated>2024-11-01T03:38:34.725-07:00</updated><category term="Solaris Admin"/><category term="Solaris Network"/><category term="Solaris Security"/><title type='text'>Solaris operating systems tips</title><subtitle type='html'>Solaris operating systems tips</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default?start-index=26&amp;max-results=25'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-6069675013576675012</id><published>2011-09-08T19:45:00.000-07:00</published><updated>2011-09-08T19:45:15.117-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to delete mirror</title><content type='html'>&lt;title&gt;&lt;/title&gt;&lt;style type=&quot;text/css&quot;&gt;
 &lt;!--
  @page { margin: 0.79in }
  P { margin-bottom: 0.08in }
 --&gt;
 
&lt;/style&gt; &lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can delete your mirror device. It is very simple like the steps below.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align=&quot;left&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See your  file system which is mounted from mirror device. For example you  have filesystem /sample that is mounted from mirror device d1&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  df -h /sample&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Filesystem             size   used  avail capacity  Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/md/dsk/d1         940M   1.0M   883M     1%    /sample&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div align=&quot;left&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See your  mirror configuration. In this example you can see there are a   mirror called d1, with 2 submirrors called d11 and d12.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metasatt   tat|more&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d1: Mirror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  Submirror 0: d11&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;      &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Okay         &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  Submirror 1: d12&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;      &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Resyncing    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Resync in progress: 2 % done&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Pass: 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Read option: roundrobin (default)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Write option: parallel (default)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Size: 2048000 blocks (1000 MB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d11: Submirror of d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  State: Okay         &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  Size: 2048000 blocks (1000 MB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Stripe 0:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device     Start Block  Dbase        State Reloc Hot Spare&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c3t2d0s0          0     No            Okay   Yes &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d12: Submirror of d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Resyncing    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;    &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  Size: 2048000 blocks (1000 MB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;      Stripe 0:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device     Start Block  Dbase        State Reloc Hot Spare&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c3t3d0s0          0     No            Okay   Yes &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device Relocation Information:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device   Reloc  Device ID&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; c3t3d0   Yes    id1,sd@SATA_____VBOX_HARDDISK____VB5c17d304-00de27e4&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; c3t2d0   Yes    id1,sd@SATA_____VBOX_HARDDISK____VB08da0d81-38b71174&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div align=&quot;left&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Unmount  your filesystem&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  umount /sample&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;left&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Detach one  of the submirror. For example you detach d12&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;bash-3.00#  metadetach d1 d12&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;d1: submirror d12 is detached&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;ol start=&quot;5&quot;&gt;&lt;li&gt;&lt;div align=&quot;left&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Delete  your mirror and submirror device&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metaclear -r d1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d1: Mirror is cleared&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d11: Concat/Stripe is cleared&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# metaclear d11 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d12: Concat/Stripe is cleared&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/6069675013576675012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/09/how-to-delete-mirror.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/6069675013576675012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/6069675013576675012'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/09/how-to-delete-mirror.html' title='How to delete mirror'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-766251232675498687</id><published>2011-07-25T06:52:00.000-07:00</published><updated>2011-07-25T06:52:36.461-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Network"/><title type='text'>How to configure IPv6 IPMP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt; &lt;br /&gt;
&lt;div align=&quot;JUSTIFY&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IPMP enable to recover from network path failures. If a failure occurs in one network link and an alternate link is configured, IP address can fails over. So network access changes automatically from the failed link to the alternate link, providing uninterrupted access to the network. Here is tips to configure IPMP with Ipv6. You need Solaris 8 10/00 as minimum.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Verify  the solaris OS release&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  more /etc/release&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;                         &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Solaris 10 5/08  s10x_u5wos_10 X86&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;           &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Copyright  2008 Sun Microsystems, Inc.  All Rights Reserved.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;                         &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Use is subject to  license terms.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;                              &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Assembled 24  March 2008&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; font-style: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In  SPARC system, you must configure the host to have unique MAC address  for each interface.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;#  eeprom &quot;local-mac-address?&quot;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;local-mac-address?=false&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# eeprom &quot;local-mac-address?=true&quot;&lt;/span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# eeprom &quot;local-mac-address?&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;local-mac-address?=true&lt;/span&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Your two interfaces  are already set up using Ipv4. View your configuration. This below  example shows 2 interfaces: e1000g0 and e1000g1.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;lo0:  flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt;  mtu 8232 index 1&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet  127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g0:  flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500  index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet  172.16.31.242 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether  8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g1:  flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500  index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet  172.16.31.242 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether  8:0:27:7e:12:83&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set  your interface to include IPMP. You need to edit  /etc/hostname6.&amp;lt;interface&amp;gt; file. The two interfaces will be  member of IPMP group. In this example, you have group jupiter-group.  &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  more /etc/hostname6.e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;-failover  group jupiter-group up&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  more /etc/hostname6.e1000g1&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;-failover  group jupiter-group up&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Configure each  interface to start using IPMP.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  &lt;span style=&quot;font-weight: normal;&quot;&gt;ifconfig e1000g0 &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;group  jupiter-group&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ifconfig e1000g1 group jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Confiure  each interface to start use IPMP for IPv6&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# ifconfig e1000g0 inet6 plumb up&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# ifconfig e1000g1 inet6 plumb up&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;7&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Configure  IPv6 test address for each interface.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ifconfig e1000g0 inet6 -failover&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ifconfig e1000g1 inet6 -failover&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;View  your IPMP configuration&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;lo0:  flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt;  mtu 8232 index 1&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet  127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g0:  flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500  index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet  172.16.31.242 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;groupname  jupiter-group&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ether    8:0:27:7e:12:82&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g1:  flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500  index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;        &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet  172.16.31.242 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;         &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname  jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;     &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether    8:0:27:7e:12:83&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;      &lt;/div&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g0:  flags=a000841&amp;lt;UP,RUNNING,MULTICAST,IPv6,NOFAILOVER&amp;gt; mtu 1500  index 2&lt;/span&gt;&lt;/div&gt;&lt;/ol&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  &lt;span style=&quot;font-weight: normal;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  inet6 fe80::a00:27ff:fe7e:1282/10&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;8&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g1:  flags=a000841&amp;lt;UP,RUNNING,MULTICAST,IPv6,NOFAILOVER&amp;gt; mtu 1500  index 2&lt;/span&gt;&lt;/div&gt;&lt;/ol&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  &lt;span style=&quot;font-weight: normal;&quot;&gt;ether 8:0:27:7e:12:83&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  inet6 fe80::a00:27ff:fe7e:1283/10&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;9&quot;&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check  that mpathd daemon is running. If not running, start this daemon.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  /sbin/in.mpathd&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;  &lt;/span&gt; &lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/766251232675498687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/07/how-to-configure-ipv6-ipmp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/766251232675498687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/766251232675498687'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/07/how-to-configure-ipv6-ipmp.html' title='How to configure IPv6 IPMP'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-3160970651165920146</id><published>2011-07-25T06:49:00.000-07:00</published><updated>2011-07-25T06:49:06.374-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to delete a zone</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt; &lt;br /&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can delete a non global zone if you no longer need it. Below is tips to delete non global zone. Fot this example your non global zone name is zone1.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Shutdown non global  zone&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  init 0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See the status of non  global zone. If your non global zone is already down, status become  &#39;installed&#39;.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zoneadm list -cp&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;0:global:running:/::native:shared&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;2:zone1:installed:/export/home/zone1:3bec2239-802b-e1b4-99dd-bd732571e925:native:shared&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Uninstall  non global zone. Your non global status become &#39;configured&#39;.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zoneadm -z zone1 uninstall&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zoneadm list -cp&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;0:global:running:/::native:shared&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;2:zone1:configured:/export/home/zone1:3bec2239-802b-e1b4-99dd-bd732571e925:native:shared&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Delete  non global zone.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zoneadm -z zone1 delete&lt;/span&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Are  you sure you want to delete zone zone1(y/[n])? &lt;b&gt;y&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zoneadm list -cp&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;0:global:running:/::native:shared&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/3160970651165920146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/07/how-to-delete-zone.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/3160970651165920146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/3160970651165920146'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/07/how-to-delete-zone.html' title='How to delete a zone'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-8850104756768507717</id><published>2011-03-31T23:45:00.000-07:00</published><updated>2011-03-31T23:47:34.718-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to create soft partition</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Soft partition are used to divide physical disk partition/slice into smaller area. For eample you have a disk slice 1 GB, and you want to divide that slice become 10 areas (each with 100 MB size). You can create a soft partition with following steps:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create soft  partition. In this example you will create 100 MB soft partition on  disk slice c3t2d0s0 with 1 GB size. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metainit d10 -p c3t2d0s0 100mb&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; d10: Soft Partition is setup&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check soft partition  status&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metastat -p  &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d10: Soft Partition&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device: c3t2d0s0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Okay&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Size: 204800 blocks (100 MB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device     Start Block  Dbase Reloc&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c3t2d0s0          0     No    Yes&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Extent              Start Block              Block count&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;0                        1                   204800&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device Relocation Information:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device   Reloc  Device ID&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; c3t2d0   Yes    id1,sd@SATA_____VBOX_HARDDISK____VB08da0d81-38b71174&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create file system on  the soft partition&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  newfs /dev/md/rdsk/d10&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/md/rdsk/d10: Unable to find Media type. Proceeding with system  determined parameters.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; newfs: construct a new file system /dev/md/rdsk/d10: (y/n)? y&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/md/rdsk/d10:       204800 sectors in 100 cylinders of 64 tracks, 32  sectors&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;100.0MB in 7 cyl groups (16 c/g, 16.00MB/g, 7680 i/g)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; super-block backups (for fsck -F ufs -o b=#) at:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 32, 32832, 65632, 98432, 131232, 164032, 196832,&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot; style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Mount soft partition.  For example mount on /document&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;bash-3.00# mount /dev/md/dsk/d10 /document&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/8850104756768507717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/03/how-to-create-soft-partition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/8850104756768507717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/8850104756768507717'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/03/how-to-create-soft-partition.html' title='How to create soft partition'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-1975029831729714889</id><published>2011-03-16T00:17:00.000-07:00</published><updated>2011-03-19T00:50:19.033-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to create and backup a snapshot</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can use below procedure to create snapshot. In this example you create a snapshot of  /data&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Determine where you  are going to store the backing store (the snapshot) file. &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;For example you use  /var/tmp as a location to store the backing-store file, and you will  snapshot /data filesystem.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create the snapshot. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # fssnap -F ufs -o backing-store=/var/tmp /data&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Verify  that snapshot is successful.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;root@solaris-sunra&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;y  # &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;fssnap -i&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;0  /data&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Mount  the virtual device as you wish (optional)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # mount -F ufs -o ro /dev/fssnap/0 /mnt&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;root@solaris-sunray  # ls /mnt&lt;/span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Backup filesystem to  tape &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # ufsdump 0ucf /dev/rmt/0 /dev/fssnap/0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/1975029831729714889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/03/how-to-create-and-backup-snapshot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1975029831729714889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1975029831729714889'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/03/how-to-create-and-backup-snapshot.html' title='How to create and backup a snapshot'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-9025590016527792937</id><published>2011-02-23T04:02:00.000-08:00</published><updated>2011-03-15T21:38:25.076-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to create zone</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Zone allow virtual environment to run in the same host server. You can limit amount of physical resource that a zone can use. There are 2 types of zone, global zone and non-global zone. Global zone is the host server it self. Non global zone is the zone that we want to create. You can have maximum 8192 non global zone in a single host server. Below is tips to create a zone.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set the zonepath for  your zone. In this example zonepath is /export/home/zone1 from the  global zone.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # mkdir -p /export/home/zone1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; root@solaris-sunray # chmod 700 /export/home/zone1&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Configure the zone.  Below example shows that your zone use IP address 172.16.31.150, use  20% of CPU resource, and label “zone number 1”.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zonecfg -z zone1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zone1: No such zone configured&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Use &#39;create&#39; to begin configuring a new zone.&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1&amp;gt; create&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1&amp;gt; set zonepath=/export/home/zone1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1&amp;gt; set autoboot=true&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1&amp;gt; add net&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:net&amp;gt; set physical=e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:net&amp;gt; set address=172.16.31.150&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:net&amp;gt; end&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1&amp;gt; add rctl&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:rctl&amp;gt; set name=zone.cpu-shares&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:rctl&amp;gt; add value (priv=privileged,limit=20,action=none)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:rctl&amp;gt; end&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1&amp;gt; add attr&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:attr&amp;gt; set name=comment&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:attr&amp;gt; set type=string&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:attr&amp;gt; set value=&quot;zone number 1&quot;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1:attr&amp;gt; end&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;After you configure  the zone, do verify and commit. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zonecfg:zone1&amp;gt;  verify&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zonecfg:zone1&amp;gt; exit&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot; style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;Check the zone status  (zone is configured properly or not)  &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;root@solaris-sunray # zoneadm -z zone1 list -v&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ID NAME             STATUS     PATH                           BRAND    IP    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  - zone1            configured /export/home/zone1             native   shared&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; root@solaris-sunray # zoneadm -z zone1 verify&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Install the zone&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zoneadm -z zone1 install&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Preparing to install zone &amp;lt;zone1&amp;gt;.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Creating list of files to copy from the global zone.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Copying &amp;lt;7079&amp;gt; files to the zone.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Initializing zone product registry.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Determining zone package initialization order.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Preparing to initialize &amp;lt;1077&amp;gt; packages on the zone.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ...&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Initialized &amp;lt;1077&amp;gt; packages on zone.                                &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Zone &amp;lt;zone1&amp;gt; is initialized.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Installation of &amp;lt;1&amp;gt; packages was skipped.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Installation of these packages generated warnings: &amp;lt;STATsrv&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; The file &amp;lt;/export/home/zone1/root/var/sadm/system/logs/install_log&amp;gt; contains  a log of the zone installation.&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;6&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Change the zone state  to ready and verify&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zoneadm -z zone1 ready&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zoneadm: zone &#39;zone1&#39;: WARNING: The zone.cpu-shares rctl is set but&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zoneadm: zone &#39;zone1&#39;: FSS is not the default scheduling class for&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zoneadm: zone &#39;zone1&#39;: this zone.  FSS will be used for processes&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zoneadm: zone &#39;zone1&#39;: in the zone but to get the full benefit of FSS,&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zoneadm: zone &#39;zone1&#39;: it should be the default scheduling class.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; zoneadm: zone &#39;zone1&#39;: See dispadmin(1M) for more details.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; root@solaris-sunray # zoneadm -z zone1 verify&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; root@solaris-sunray # zoneadm -z zone1 list -v&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ID NAME             STATUS     PATH                           BRAND    IP    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  1 zone1            ready      /export/home/zone1             native   shared&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;7&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Boot the zone and  verify&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zoneadm -z zone1 boot&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; root@solaris-sunray # zoneadm -z zone1 bootlist -v&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ID NAME             STATUS     PATH                           BRAND    IP    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  1 zone1            running    /export/home/zone1             native   shared&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;8&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Log in to the zone  console and set initial configuration like:  host name, root  password, timezone, name service, security policy, terminal type&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zlogin -C zone1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; [Connected to zone &#39;zone1&#39; console]&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ...&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;9&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Log in to the zone&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # zlogin zone1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; [Connected to zone &#39;zone1&#39; pts/4]&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Last login: Fri Oct 15 11:22:13 on pts/4&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Sun Microsystems Inc.SunOS 5.10GenericJanuary 2005&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; # exit&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; [Connection to zone &#39;zone1&#39; pts/4 closed]&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/9025590016527792937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/02/how-to-create-zone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/9025590016527792937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/9025590016527792937'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/02/how-to-create-zone.html' title='How to create zone'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-6636963628362683342</id><published>2011-02-08T23:27:00.000-08:00</published><updated>2011-02-18T03:13:58.153-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Network"/><title type='text'>How to configure probe-based IPMP</title><content type='html'>&lt;div align=&quot;JUSTIFY&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IPMP enable to recover from network path failures. If a failure occurs in one network link and an alternate link is configured, IP address can fails over. So network access changes automatically from the failed link to the alternate link, providing uninterrupted access to the network. Probe based IPMP utilize test address to monitor the health of interfaces. You need Solaris 8 10/00 as minimum.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Verify  the solaris OS release&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  more /etc/release&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Solaris 10 5/08  s10x_u5wos_10 X86&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Copyright  2008 Sun Microsystems, Inc.  All Rights Reserved.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Use is subject to  license terms.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Assembled 24  March 2008&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; font-style: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In  SPARC system, you must configure the host to have unique MAC address  for each interface.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;#  eeprom &quot;local-mac-address?&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; local-mac-address?=false&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# eeprom &quot;local-mac-address?=true&quot;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# eeprom &quot;local-mac-address?&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; local-mac-address?=true&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit  your &lt;i&gt;hosts &lt;/i&gt;file. In this example, you have 2 interface  e1000g0 and e1000g1. Each interface has 2 IP address (data address  and test address). &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  more /etc/inet/hosts&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  Internet host table&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;::1      localhost&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;127.0.0.1        localhost&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;172.16.31.11     jupiter  loghost   # data address for e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;172.16.31.21     jupiter-e1000g1    # data address for e1000g1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;172.16.31.111    jupiter-test        # test address for e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;172.16.31.211    jupiter-e1000g1-test  # test address for e1000g1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set your interface to  include IPMP. You need to edit /etc/hostname.&amp;lt;interface&amp;gt; file.  The two interfaces will be member of IPMP group. In this example,  you have group jupiter-group. &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  &lt;span style=&quot;font-weight: normal;&quot;&gt;more /etc/hostname.e1000g0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;jupiter  netmask + broadcast + group jupiter-group up &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; addif jupiter-test deprecated netmask + broadcast + -failover up&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; # &lt;span style=&quot;font-weight: normal;&quot;&gt;more /etc/hostname.e1000g1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;jupiter-e1000g1  netmask + broadcast + group jupiter-group up &lt;/span&gt;  &lt;/div&gt;&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; addif jupiter-e1000g1-test deprecated netmask + broadcast + -failover up&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Configure each  interface to start using IPMP.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  &lt;span style=&quot;font-weight: normal;&quot;&gt;ifconfig e1000g0 &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;jupiter  netmask + broadcast + group jupiter-group up&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;#  ifconfig e1000g0 addif jupiter-test deprecated netmask + broadcast +  -failover up&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  &lt;span style=&quot;font-weight: normal;&quot;&gt;ifconfig e1000g1 &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;jupiter-e1000g1  netmask + broadcast + group jupiter-group up &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;#  ifconfig e1000g1 addif jupiter-e1000g1-test deprecated netmask +  broadcast + -failover up&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  your IPMP configuration&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# ifconfig -a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232  index 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.11 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0:1:  flags=9040843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&amp;gt; mtu&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; inet 172.16.31.111 netmask &lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;fffffc00&lt;/span&gt;&lt;/span&gt; broadcast &lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;172.16.31.255&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.21 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:83&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1:1:  flags=9040843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&amp;gt; mtu&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; inet 172.16.31.211 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;7&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Verify  that IPMP daemon is running.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  pgrep -lf in.mpathd&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;6513  /usr/lib/inet/in.mpathd&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Test  your IPMP configuration&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  if_mpadm -d e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Nov  3 13:24:31 jupiter in.mpathd[119]: Successfully failed over from NIC  e1000g0 to NIC e1000g1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; # ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232  index 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; e1000g0: flags=1000843&amp;lt;BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.11 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0:1:  flags=9040843&amp;lt;BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&amp;gt; mtu&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; inet 172.16.31.111 netmask &lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;fffffc00&lt;/span&gt;&lt;/span&gt; broadcast &lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;172.16.31.255&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.21 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:83&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1:1:  flags=9040843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&amp;gt; mtu&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; inet 172.16.31.211 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1:2 flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.11 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;8&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether  8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Return  to your original IPMP configuration&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  if_mpadm -r e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Nov  3 13:24:31 jupiter&lt;span style=&quot;font-family: Courier,monospace;&quot;&gt;  &lt;/span&gt;in.mpathd[535]: Successfully failed back to NIC  e1000g0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; # ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232  index 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.11 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0:1:  flags=9040843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&amp;gt; mtu&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; inet 172.16.31.111 netmask &lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;fffffc00&lt;/span&gt;&lt;/span&gt; broadcast &lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;172.16.31.255&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.21 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:83&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1:1:  flags=9040843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&amp;gt; mtu&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;9&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.211  netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/6636963628362683342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/02/how-to-configure-probe-based-ipmp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/6636963628362683342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/6636963628362683342'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/02/how-to-configure-probe-based-ipmp.html' title='How to configure probe-based IPMP'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-8847831207228075873</id><published>2011-01-28T00:51:00.000-08:00</published><updated>2011-02-18T03:15:56.123-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Network"/><title type='text'>How to configure link-based IPMP</title><content type='html'>&lt;div align=&quot;JUSTIFY&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IPMP enable to recover from network path failures. If a failure occurs in one network link and an alternate link is configured, IP address can fails over. So network access changes automatically from the failed link to the alternate link, providing uninterrupted access to the network. Link based IPMP utilize interface kernel driver to monitor the health of interfaces. Link-based IPMP do not use test address. You need Solaris 9 12/02 as minimum.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Verify  the solaris OS release&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  more /etc/release&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Solaris 10 5/08  s10x_u5wos_10 X86&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Copyright  2008 Sun Microsystems, Inc.  All Rights Reserved.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Use is subject to  license terms.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Assembled 24  March 2008&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; font-style: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In  SPARC system, you must configure the host to have unique MAC address  for each interface.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;#  eeprom &quot;local-mac-address?&quot;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; local-mac-address?=false&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# eeprom &quot;local-mac-address?=true&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# eeprom &quot;local-mac-address?&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; local-mac-address?=true&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit  your &lt;i&gt;hosts &lt;/i&gt;file. In this example, you have 2 interface  e1000g0 and e1000g1. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  more /etc/inet/hosts&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  Internet host table&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;::1      localhost&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;127.0.0.1        localhost&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;172.16.31.11     jupiter  loghost   # data address for e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;172.16.31.21     jupiter-e1000g1    # data address for e1000g1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;Set your interface to  include IPMP. You need to edit /etc/hostname.&amp;lt;interface&amp;gt; file.  The two interfaces will be member of IPMP group. In this example,  you have group jupiter-group.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  &lt;span style=&quot;font-weight: normal;&quot;&gt;more /etc/hostname.e1000g0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;jupiter  netmask + broadcast + group jupiter-group up &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # &lt;span style=&quot;font-weight: normal;&quot;&gt;more /etc/hostname.e1000g1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;jupiter-e1000g1  netmask + broadcast + group jupiter-group up&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;  &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Configure each  interface to start using IPMP.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  &lt;span style=&quot;font-weight: normal;&quot;&gt;ifconfig e1000g0 &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;jupiter  netmask + broadcast + group jupiter-group up&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  &lt;span style=&quot;font-weight: normal;&quot;&gt;ifconfig e1000g1 &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;jupiter-e1000g1  netmask + broadcast + group jupiter-group up &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  your IPMP configuration&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# ifconfig -a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232  index 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.11 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.21 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:83&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;7&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;verify  that IPMP daemon is running.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  pgrep -lf in.mpathd&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;6513  /usr/lib/inet/in.mpathd&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Test  your IPMP configuration&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  if_mpadm -d e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Nov  3 13:24:31 jupiter in.mpathd[119]: Successfully failed over from NIC  e1000g0 to NIC e1000g1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; # ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232  index 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0: flags=1000843&amp;lt;BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.11 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.21 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;8&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether  8:0:27:7e:12:83&lt;/span&gt;&lt;/div&gt;&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1:1 flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.11 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;9&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether  8:0:27:7e:12:82&lt;/span&gt; &lt;/div&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Return  to your original IPMP configuration&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  if_mpadm -r e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Nov  3 13:24:31 jupiter&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier,monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;in.mpathd[535]:  Successfully failed back to NIC &lt;/span&gt;&lt;/span&gt;e1000g0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; # ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232  index 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.11 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g1: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.21 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;groupname jupiter-group&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;ol start=&quot;0&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether   8:0:27:7e:12:83&lt;/span&gt;&lt;/div&gt;&lt;/ol&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/8847831207228075873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-configure-link-based-ipmp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/8847831207228075873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/8847831207228075873'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-configure-link-based-ipmp.html' title='How to configure link-based IPMP'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-2952668441165582247</id><published>2011-01-24T23:44:00.000-08:00</published><updated>2011-02-18T03:14:42.104-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to mirror root file system on x86 system</title><content type='html'>&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can mirror root disk with Solaris Volume manager. This is useful to protect your root file system.  Root file system (/) is a critical file system that need to be cared well. For eample you have a root disk with partition 0 is belong to root  (/) file system. You can mirror this root disk to other disk with following steps:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check your root file  system is mounted  from your root disk. In this example you use  c0d0s0 as your root filesystem. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  df -k /&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Filesystem             size   used  avail capacity  Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/dsk/c0d0s0         14G   8.9G   5.4G    63%    /&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make  the disk that will be used as second submirror tobe bootable.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00# fdisk -b  /usr/lib/fs/ufs/mboot -n /dev/rdsk/&lt;i&gt;c1d0s0&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;bash-3.00#&lt;/span&gt;  &lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;/sbin/installgrub  /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;c1d0s0&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create 2 metadevices  that you will use as submirror. In this example you create d11 and  d12.&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metainit -f d11 1 1 c0d0s0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d11: Concat/Stripe is setup&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# metainit d12 1 1 c1d0s0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d12: Concat/Stripe is setup&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create the mirror. In  this example you create mirror d1 use metadevice d11 as submirror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metainit d1 -m d11&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d1: Mirror is setup&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Backup the affected  file. Then set your mirror device d1 as your root filesystem. Check  also that your root file system is now mounted from the mirror.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  cp /etc/system /etc/system.bck&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# cp /etc/vfstab /etc/vfstab.bck&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# metaroot d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# more /etc/vfstab&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; #device         device          mount           FS      fsck    mount   mount&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; #to mount       to fsck         point           type    pass    at boot options&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; #&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/md/dsk/d1  /dev/md/rdsk/d1 /       ufs     1       no      -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol start=&quot;6&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Reboot  your system. Synchronize file systems before you reboot.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  lockfs -a&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  init 6&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Verify  that your system now using mirror d1 as root  filesystem.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  df -h /&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Filesystem             size   used  avail capacity  Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/md/dsk/d1          14G   8.9G   5.4G    63%    /&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;8&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Attach the  second submirror d12 to the mirror.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metattach d1 d12&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d1: submirror d12 is attached&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;9&quot; style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check  your mirror. Now it is resyncing&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# metastat&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d1: Mirror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Submirror 0: d11&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Okay         &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Submirror 1: d12&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Resyncing    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Resync in progress: 4 % done&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Pass: 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Read option: roundrobin (default)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Write option: parallel (default)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Size: 30732345 blocks (14 GB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d11: Submirror of d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  State: Okay         &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  Size: 30732345 blocks (14 GB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Stripe 0:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device   Start Block  Dbase        State Reloc Hot Spare&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c0d0s0          0     No            Okay   Yes &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d12: Submirror of d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  State: Resyncing    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  Size: 31391010 blocks (14 GB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Stripe 0:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device     Start Block  Dbase        State Reloc Hot Spare&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c1d0s0          0     No            Okay   Yes &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device Relocation Information:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device   Reloc  Device ID&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; c1d0   Yes    id1,sd@SATA_____VBOX_HARDDISK____VB238eb2cf-1b6348b6&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; c0d0     Yes    id1,&lt;a href=&quot;mailto:cmdk@AVBOX&quot;&gt;cmdk@AVBOX&lt;/a&gt;_HARDDISK=VBceae357c-d2e0a4a0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol start=&quot;9&quot;&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit GRUB entries  to include the second submirror as boot device&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;bash-3.00#&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;b&gt;vi  /boot/grub/menu.lst&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ....&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; title alternate boot&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; root (hd1,0,a)&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; kernel /boot/multiboot&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; module /boot/x86.miniroot-safe&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/2952668441165582247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-mirror-root-file-system-on-x86.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/2952668441165582247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/2952668441165582247'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-mirror-root-file-system-on-x86.html' title='How to mirror root file system on x86 system'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-7475624699671154299</id><published>2011-01-19T02:10:00.000-08:00</published><updated>2011-02-18T03:16:32.435-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to mirror root file system on SPARC system</title><content type='html'>&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can mirror root disk with Solaris Volume manager. This is useful to protect your root file system.  Root file system (/) is a critical file system that need to be cared well. For eample you have a root disk with partition 0 is belong to root  (/) file system. You can mirror this root disk to other disk with following steps:&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check your root file  system is mounted  from your root disk. In this example you use  c0t0d0s0 as your root filesystem. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  df -k /&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filesystem             size   used  avail capacity  Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/dsk/c0t0d0s0         14G   8.9G   5.4G    63%    /&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create 2 metadevices  that you will use as submirror. In this example you create d11 and  d12.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metainit -f d11 1 1 c0t0d0s0&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; d11: Concat/Stripe is setup&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bash-3.00# metainit d12 1 1 c3t4d0s0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; d12: Concat/Stripe is setup&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create the mirror. In  this example you create mirror d1 use metadevice d11 as submirror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metainit d1 -m d11&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; d1: Mirror is setup&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Backup the affected  file. Then set your mirror device d1 as your root filesystem. Check  also that your root file system is now mounted from the mirror.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  cp /etc/system /etc/system.bck&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bash-3.00# cp /etc/vfstab /etc/vfstab.bck&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bash-3.00# metaroot d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bash-3.00# more /etc/vfstab&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #device         device          mount           FS      fsck    mount   mount&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #to mount       to fsck         point           type    pass    at boot options&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/md/dsk/d1  /dev/md/rdsk/d1 /       ufs     1       no      -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Reboot  your system. Synchronize file systems before you reboot.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  lockfs -a&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  init 6&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Verify  that your system now using mirror d1 as root  filesystem.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  df -h /&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filesystem             size   used  avail capacity  Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/md/dsk/d1          14G   8.9G   5.4G    63%    /&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;7&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Attach the  second submirror d12 to the mirror.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metattach d1 d12&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; d1: submirror d12 is attached&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;8&quot; style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check  your mirror. Now it is resyncing&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00# metastat&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;d1: Mirror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Submirror 0: d11&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Okay         &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Submirror 1: d12&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Resyncing    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Resync in progress: 4 % done&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Pass: 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Read option: roundrobin (default)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Write option: parallel (default)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Size: 30732345 blocks (14 GB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d11: Submirror of d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  State: Okay         &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  Size: 30732345 blocks (14 GB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Stripe 0:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device   Start Block  Dbase        State Reloc Hot Spare&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c0t0d0s0          0     No            Okay   Yes &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d12: Submirror of d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  State: Resyncing    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;  Size: 31391010 blocks (14 GB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Stripe 0:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device     Start Block  Dbase        State Reloc Hot Spare&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c3t4d0s0          0     No            Okay   Yes &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device Relocation Information:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device   Reloc  Device ID&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; c3t4d0   Yes    id1,sd@SATA_____VBOX_HARDDISK____VB238eb2cf-1b6348b6&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; c0t0d0     Yes    id1,&lt;a href=&quot;mailto:cmdk@AVBOX&quot;&gt;cmdk@AVBOX&lt;/a&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;_&lt;/span&gt;HARDDISK=VBceae357c-d2e0a4a0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol start=&quot;9&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Determine  the path of second submirror, then enter OK prompt&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;bash-3.00#&lt;/span&gt;  &lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ls  -l /dev/dsk/c3t4d0s0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lrwxrwxrwx 1 root root 57 Oct 25 11:22 /dev/dsk/c3t4d0s0 -&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; &amp;gt; ../..&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4961605942049698504&amp;amp;postID=7475624699671154299&quot;&gt;/devices/pci@1f&lt;/a&gt;,0/pci@1/pci@1/SUNW,isptwo@4/sd@4,0:a&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# init 0&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;10&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make the second  submirror bootable. &lt;/span&gt;  &lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ok nvalias  mirror_disk &lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4961605942049698504&amp;amp;postID=7475624699671154299&quot;&gt;/pci@1f&lt;/a&gt;,0/pci@1/pci@1/SUNW,isptwo@4/sd@4,0:a&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make alias for the  second submirror. So you can boot from the second sub mirror.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ok printenv  boot-device&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; boot-device= disk net&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ok setenv boot-device disk mirror_disk net&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; boot-device= disk mirror_disk net&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;12&quot;&gt;&lt;li&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;(Optional) after  resyncing process on step 8 is done, you can try to boot from the  second submirror.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ok boot mirror_disk&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/7475624699671154299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-mirror-root-file-system-on-sparc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/7475624699671154299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/7475624699671154299'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-mirror-root-file-system-on-sparc.html' title='How to mirror root file system on SPARC system'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-1714383719864488269</id><published>2011-01-16T23:56:00.000-08:00</published><updated>2011-02-18T03:16:42.371-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to create mirror</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can mirror two disk partition with Solaris Volume manager. Steps for do mirror is very simple like below.  &lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create metadevice  that you will use for build mirror. In this example you create d11  and d12&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metainit d11 1 1 c3t2d0s0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d11: Concat/Stripe is setup&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# metainit d12 1 1 c3t3d0s0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d12: Concat/Stripe is setup&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create the mirror. In  this example you create mirror d1 use metadevice d11 as sub mirror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metainit d1 -m d11&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d1: Mirror is setup&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Attach the other  submirror. In this example you use d12 as the other submirrror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metattach d1 d12&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d1: submirror d12 is attached&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot; style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check the mirror  configuration&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  metastat&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d1: Mirror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Submirror 0: d11&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;State: Okay         &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Submirror 1: d12&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;State: Resyncing    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Resync in progress: 2 % done&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Pass: 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Read option: roundrobin (default)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Write option: parallel (default)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Size: 2048000 blocks (1000 MB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d11: Submirror of d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Okay         &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Size: 2048000 blocks (1000 MB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Stripe 0:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device     Start Block  Dbase        State Reloc Hot Spare&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c3t2d0s0          0     No            Okay   Yes &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; d12: Submirror of d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; State: Resyncing    &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Size: 2048000 blocks (1000 MB)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Stripe 0:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Device     Start Block  Dbase        State Reloc Hot Spare&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c3t3d0s0          0     No            Okay   Yes &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device Relocation Information:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Device   Reloc  Device ID&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; c3t3d0   Yes    id1,sd@SATA_____VBOX_HARDDISK____VB5c17d304-00de27e4&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt; c3t2d0   Yes    id1,&lt;a href=&quot;mailto:sd@SATA&quot;&gt;sd@SATA&lt;/a&gt;_____VBOX_HARDDISK____VB08da0d81-38b71174&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create file system on  the mirror&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  newfs /dev/md/rdsk/d1 &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/md/rdsk/d1: Unable to find Media type. Proceeding with system determined  parameters.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; newfs: construct a new file system /dev/md/rdsk/d1: (y/n)? y&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/md/rdsk/d1:        2048000 sectors in 1000 cylinders of 64 tracks, 32  sectors&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;1000.0MB in 63 cyl groups (16 c/g, 16.00MB/g, 7680 i/g)&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; super-block backups (for fsck -F ufs -o b=#) at:&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 32, 32832, 65632, 98432, 131232, 164032, 196832, 229632, 262432, 295232,&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 1738432, 1771232, 1804032, 1836832, 1869632, 1902432, 1935232, 1968032,&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 2000832, 2033632&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check new file system  that you just have created&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  fsck /dev/md/rdsk/d1 &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ** /dev/md/rdsk/d1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ** Last Mounted on &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ** Phase 1 - Check Blocks and Sizes&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ** Phase 2 - Check Pathnames&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ** Phase 3a - Check Connectivity&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ** Phase 3b - Verify Shadows/ACLs&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ** Phase 4 - Check Reference Counts&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ** Phase 5 - Check Cylinder Groups&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; 2 files, 9 used, 962486 free (14 frags, 120309 blocks, 0.0% fragmentation)&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;6&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Mount the file system&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  mount /dev/md/dsk/d10 /sample&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; bash-3.00# df -k&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; Filesystem            kbytes    used   avail capacity  Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/dsk/c0d0s0      15133279 9349803 5632144    63%    /&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /devices                   0       0       0     0%    /devices&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; ctfs                       0       0       0     0%    /system/contract&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; proc                       0       0       0     0%    /proc&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; mnttab                     0       0       0     0%    /etc/mnttab&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; swap                 2712956     936 2712020     1%    /etc/svc/volatile&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; objfs                      0       0       0     0%    /system/object&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; sharefs                    0       0       0     0%    /etc/dfs/sharetab&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /usr/lib/libc/libc_hwcap1.so.1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;15133279 9349803 5632144    63%    /lib/libc.so.1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; fd                         0       0       0     0%    /dev/fd&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; swap                 2712056      36 2712020     1%    /tmp&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; swap                 2712048      28 2712020     1%    /var/run&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/dsk/c0d1s0      10275725 7438965 2734003    74%    /u01&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/dsk/c3t0d0s0    5153886  223930 4878418     5%    /disk01&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/dsk/c3t1d0s0    5153886  678049 4424299    14%    /disk02&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/dsk/c0d0s7      3448584    3441 3410658     1%    /export/home&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; /dev/md/dsk/d1        962495    1041  903705     1%    /sample&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/1714383719864488269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-create-mirror.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1714383719864488269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1714383719864488269'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-create-mirror.html' title='How to create mirror'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-2402738534850600790</id><published>2011-01-13T19:21:00.000-08:00</published><updated>2011-02-18T03:16:52.874-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Network"/><title type='text'>How to configure link aggregation</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Link aggregation is used because increased demand for network bandwith. It specifies how two or more ethernet connection can be linked to share load and increase reliability. With link aggregation we can increase bandwith, increase reliability, and load balancing. Below is tips to configure link aggregation. &lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display the link  type.In this example non-vlan  type indicates that they are supported GLDv3-based drivers and able  to be aggregated. If type is legacy, the link can not be aggregated.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # dladm show-link&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g0          type: non-vlan  mtu: 1500       device: e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g1          type: non-vlan  mtu: 1500       device: e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g2          type: non-vlan  mtu: 1500       device: e1000g0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Determine  link that available for an aggregation. It is better that you use  link that has not been used. In this case e1000g1 and e1000g2 is  available.&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; root@solaris-sunray # ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232  index 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.242 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display  link status, speed and duplex property.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # dladm show-dev&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g0          link: up          speed: 1000  Mbps       duplex: full&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g1          link: down        speed: 1000  Mbps       duplex: unknown&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g2          link: down        speed: 1000  Mbps       duplex: unknown&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create an aggregation  link that consist of e1000g1 and e1000g2 with identification key 1. &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # &lt;span style=&quot;font-weight: normal;&quot;&gt;dladm create-aggr -d e1000g1 -d  e1000g2 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # dladm show-link&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g0          type: non-vlan  mtu: 1500       device: e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g1          type: non-vlan  mtu: 1500       device: e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g2          type: non-vlan  mtu: 1500       device: e1000g0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;aggr1       type: non-vlan  mtu: 1500   &lt;/span&gt;aggregation: key 1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Configure and set IP  address of new link aggregation.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # &lt;span style=&quot;font-weight: normal;&quot;&gt;ifconfig aggr1 plumb  192.168.1.10 netmask 255.255.255.0 broadcast 192.169.1.255 up&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; root@solaris-sunray # ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232  index 1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; e1000g0: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.242 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether  8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;aggr1:  flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500  index 5 inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255&lt;/span&gt;&lt;/div&gt;&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make  your link aggregation is presistent across reboot.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; root@solaris-sunray # vi /etc/hostname.aggr1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.1.10&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;6&quot;&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/2402738534850600790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-configure-link-aggregation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/2402738534850600790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/2402738534850600790'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-configure-link-aggregation.html' title='How to configure link aggregation'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-8134433944083681467</id><published>2011-01-12T21:26:00.000-08:00</published><updated>2011-01-16T20:57:02.244-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Network"/><title type='text'>How to configure IPv6 address in Solaris</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Ipv4 use 32 bits, whereas IPv6 uses 128 bits. Ipv6 have autoconfiguration capability,so it is no more difficult to administer IPv6 addressing than it is with IPv4. You can use below procedure to configure IPv6 address. In this example you configure one network interface (e1000g) to use Ipv6.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create  /etc/hostname6.&amp;lt;interface&amp;gt; file and reboot. This will make  interface to configure with Ipv6.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; root@solaris-sunray  #&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;&lt;span lang=&quot;en-US&quot;&gt;touch /etc/hostname6.e1000g0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Configure  Ipv6 address.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # ifconfig e1000g0 inet6 plumb up&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;View your Ipv6  address.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # ifconfig -a&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;lo0:  flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt;  mtu 8232 index 1&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet  127.0.0.1 netmask ff000000&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g0:  flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500  index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet  172.16.31.242 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether  8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e1000g0:  flags=2000841&amp;lt;UP,RUNNING,MULTICAST,IPv6&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet6  fe80::a00:27ff:fe7e:1282/10&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;ether  8:0:27:7e:12:82&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit  your /etc/inet/ipnodes to contain your Ipv6 address. And test your  new ipaddress.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # vi /etc/inet/ipnodes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;fe80::a00:27ff:fe7e:1282      solaris-sunray6&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # ping solaris-sunray6&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;solaris-sunray6  is alive&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/8134433944083681467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-configure-ipv6-address-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/8134433944083681467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/8134433944083681467'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-configure-ipv6-address-in.html' title='How to configure IPv6 address in Solaris'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-5871515816029140427</id><published>2011-01-12T00:15:00.001-08:00</published><updated>2011-01-12T00:15:38.255-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to work with NIS no server available error</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Sometimes NIS client can not communicate with NIS master server or NIS slave servers. NIS client show message “No server available”. Below is tips to work with this problem.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check network  connection between NIS client and NIS servers.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check  /var/yp/binding/&lt;i&gt;domainname&lt;/i&gt;/ypservers. This file should  contain lists of NIS servers. If no NIS servers listed, type ypinit  -c command to list your NIS server again.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ypinit -c&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check that  NIS  servers listed on /var/yp/binding/&lt;i&gt;domainname&lt;/i&gt;/ypservers are  operational or not. You may add new NIS server.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check that NIS  servers listed on &lt;i&gt;ypservers&lt;/i&gt; file is also listed on  /etc/hosts.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/5871515816029140427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-work-with-nis-no-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/5871515816029140427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/5871515816029140427'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-work-with-nis-no-server.html' title='How to work with NIS no server available error'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-1518875071937930187</id><published>2011-01-10T20:34:00.000-08:00</published><updated>2011-01-10T20:34:52.089-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to work with NIS daemon not running</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;From NIS client, you can list the NIS servers with &lt;i&gt;ypwhich&lt;/i&gt; command. Sometimes ypwhich command is not working. Below is tips to work with this issue.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;From NIS client, kill  ypwhich process.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  pkill ypwhich&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Login as root user on  NIS server and check if &lt;i&gt;ypbind&lt;/i&gt; and &lt;i&gt;ypserv&lt;/i&gt; daemon is  running. &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # pgrep -fl yp&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;438  /usr/lib/netsvc/yp/rpc.yppasswdd -D /var/yp -m&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;132  /usr/lib/crypto/kcfd&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;443  /usr/lib/netsvc/yp/ypserv -d&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;433  /usr/lib/netsvc/yp/rpc.ypupdated&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;435  /usr/lib/netsvc/yp/ypxfrd&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;474  /usr/lib/netsvc/yp/ypbind&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If ypbind or ypserv  process is not running on step 2, you must stop and start NIS  service.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # svcadm disable network/nis/server:default&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; root@solaris-sunray # svcadm enable network/nis/server:default&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;If  ypbind or ypserv process is running on step 2, &lt;/span&gt;&lt;i&gt;ypserv&lt;/i&gt;  process has probably hung. You must kill &lt;i&gt;ypserv&lt;/i&gt; process and  restart NIS service.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # pkill ypserv&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # svcadm disable network/nis/server:default&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; root@solaris-sunray # svcadm enable network/nis/server:default&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/1518875071937930187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-work-with-nis-daemon-not-running.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1518875071937930187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1518875071937930187'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-work-with-nis-daemon-not-running.html' title='How to work with NIS daemon not running'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-1533349632815839926</id><published>2011-01-10T00:29:00.000-08:00</published><updated>2011-02-18T03:17:57.780-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to delegate dataset to non global zone</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can delegate ZFS filesystem as dataset from global zone to non global zone. With this method, non global zone administrator can administer property of filesystem delegated. Tips to delegate dataset as below.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See ZFS file system  on your host. In this example you will share mirrpool/fs1  filesystem.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs list&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME            USED  AVAIL  REFER  MOUNTPOINT&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool        168K   976M    18K  /mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1     18K   976M    18K  legacy&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs2     18K   976M    18K  /mirrpool/fs2&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Reconfigure the non  global zone to include ZFS filesystem. In this example non global  zone name is zone1.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zonecfg -z zone1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zonecfg:zone1&amp;gt;  add dataset&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zonecfg:zone1:dataset&amp;gt;  set name=mirrpool/fs2&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zonecfg:zone1:dataset&amp;gt;  end&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zonecfg:zone1&amp;gt;  exit&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  the zoned property of your ZFS filesystem.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs get -r zoned mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME           PROPERTY  VALUE         SOURCE&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool       zoned     off           default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   zoned     off           default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs2   zoned     off           default&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Reboot  the non global zone.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zoneadm -z zone1 reboot&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zoneadm:  zone &#39;zone1&#39;: WARNING: The zone.cpu-shares rctl is set but&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zoneadm:  zone &#39;zone1&#39;: FSS is not the default scheduling class for&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zoneadm:  zone &#39;zone1&#39;: this zone.  FSS will be used for processes&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zoneadm:  zone &#39;zone1&#39;: in the zone but to get the full benefit of FSS,&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zoneadm:  zone &#39;zone1&#39;: it should be the default scheduling class.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zoneadm:  zone &#39;zone1&#39;: See dispadmin(1M) for more details.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;zoneadm:  zone &#39;zone1&#39;: WARNING: e1000g0:1: no matching subnet found in  netmasks(4) for 172.16.31.150; using default of 255.255.0.0.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Login  to the non global zone and see the ZFS filesystem that shared from  global zone.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zlogin zone1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;[Connected  to zone &#39;zone1&#39; pts/5]&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Last  login: Tue Nov  2 15:22:28 on pts/5&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Sun  Microsystems Inc.   SunOS 5.10      Generic January 2005&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  df -h mirrpool/fs2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Filesystem              size   used  avail capacity  Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs2            976M    18K   976M     1%    /mirrpool/fs2&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Remember  that non global zone administrator can administer the file system.  List the ZFS filesystem. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  zfs list&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME            USED  AVAIL  REFER  MOUNTPOINT&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool        168K   976M    18K  /mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs2     18K   976M    18K  /mirrpool/fs2&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Return to the global  zone and see the zoned property of filesystem that you have  delegated to non global zone.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs get -r zoned mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME           PROPERTY  VALUE         SOURCE&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool       zoned     off           default&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   zoned     off           default&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs2   zoned     on            local&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/1533349632815839926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-delegate-dataset-to-non-global.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1533349632815839926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1533349632815839926'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-delegate-dataset-to-non-global.html' title='How to delegate dataset to non global zone'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-6674632558549586548</id><published>2011-01-07T06:54:00.000-08:00</published><updated>2011-01-07T06:54:29.610-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to create ZFS file system</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You must have zpool (ZFS pool) before you work with ZFS file system. When you create zpool, you also automatically create ZFS file system. Below is tips to about ZFS filesystem.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See ZFS file system  on your host.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs list&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME        USED  AVAIL  REFER  MOUNTPOINT&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool    106K   976M    18K  /mirrpool&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create a new  filesystem under /mirrpool. In this example you create a new file  system named fs1.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs create mirrpool/fs1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs list&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME            USED  AVAIL  REFER  MOUNTPOINT&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool        130K   976M    18K  /mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1     18K   976M    18K  /mirrpool/fs1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  that your new file system is mounted.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  mount&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/mirrpool  on mirrpool  read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d50004 on  Tue Nov  2 11:41:14 2010&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/mirrpool/fs1  on mirrpool/fs1  read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d50005 on  Tue Nov  2 11:54:00 2010&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Try  to create a new file on there. See you do not need to use newfs  command as previous UFS.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  touch /mirrpool/fs1/data1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  ls -al /mirrpool/fs1/&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;total  7&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;drwxr-xr-x    2 root     root           3 Nov  2 11:54 .&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;drwxr-xr-x    3 root     root           3 Nov  2 11:54 ..&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;-rw-r--r--    1 root     root           0 Nov  2 11:54 data1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  all properties of new file system.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs get all mirrpool/fs1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME           PROPERTY         VALUE                  SOURCE&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   type             filesystem             -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   creation         Tue Nov  2 11:54 2010  -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   used             18K                    -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   available        976M                   -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   referenced       18K                    -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   compressratio    1.00x                  -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   mounted          yes                    -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   quota            none                   default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   reservation      none                   default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   recordsize       128K                   default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   mountpoint       /mirrpool/fs1          default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   sharenfs         off                    default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   checksum         on                     default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   compression      off                    default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   atime            on                     default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   devices          on                     default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   exec             on                     default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   setuid           on                     default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   readonly         off                    default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   zoned            off                    default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   snapdir          hidden                 default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   aclmode          groupmask              default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   aclinherit       restricted             default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   canmount         on                     default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   shareiscsi       off                    default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   xattr            on                     default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   copies           1                      default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   version          3                      -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   utf8only         off                    -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   normalization    none                   -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   casesensitivity  sensitive              -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   vscan            off                    default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   nbmand           off                    default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   sharesmb         off                    default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   refquota         none                   default&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1   refreservation   none                   default&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/6674632558549586548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-create-zfs-file-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/6674632558549586548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/6674632558549586548'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-create-zfs-file-system.html' title='How to create ZFS file system'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-205871376891849490</id><published>2011-01-06T02:31:00.000-08:00</published><updated>2011-01-06T02:31:12.143-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to create ZFS storage pool</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ZFS is file system that implemented on solaris 10 6/06 or later release. To use this file system you should create ZFS pool first. ZFS pool can be a single disk (non redundant), mirrored disk, raid 5 or raid 6 disk. Below is tips to create mirrored Zpool (ZFS pool).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See that the are no  existing ZFS pool&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zpool list&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;no  pools available&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;List the disk that  you want to use as a pool. In this example you will use 2 available  disks c3t2d0 and c3t3d0 as a mirrored pool.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  df -F ufs -h&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Filesystem              size   used  avail capacity  Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/dev/dsk/c0d0s0          14G   8.9G   5.4G    63%    /&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/dev/dsk/c0d0s7         3.3G   3.4M   3.3G     1%    /export/home&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/dev/dsk/c0d1s0         9.8G   7.1G   2.6G    74%    /u01&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/dev/dsk/c3t0d0s0       4.9G   219M   4.7G     5%    /disk01&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/dev/dsk/c3t1d0s0       4.9G   662M   4.2G    14%    /disk02&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  format&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Searching  for disks...done&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;AVAILABLE  DISK SELECTIONS:&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;0.  c0d0 &amp;lt;DEFAULT cyl 2607 alt 2 hd 255 sec 63&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/pci@0,0/pci-ide@1,1/ide@0/cmdk@0,0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;1.  c0d1 &amp;lt;DEFAULT cyl 1302 alt 2 hd 255 sec 63&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/pci@0,0/pci-ide@1,1/ide@0/cmdk@1,0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;2.  c3t0d0 &amp;lt;DEFAULT cyl 2556 alt 2 hd 128 sec 32&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/pci@0,0/pci8086,2829@d/disk@0,0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;3.  c3t1d0 &amp;lt;DEFAULT cyl 2556 alt 2 hd 128 sec 32&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/pci@0,0/pci8086,2829@d/disk@1,0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;4.  c3t2d0 &amp;lt;DEFAULT cyl 1020 alt 2 hd 64 sec 32&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/pci@0,0/pci8086,2829@d/disk@2,0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;5.  c3t3d0 &amp;lt;DEFAULT cyl 1020 alt 2 hd 64 sec 32&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;/pci@0,0/pci8086,2829@d/disk@3,0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Specify  disk (enter its number): ^C&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create the mirrored  pool with 2 disks. This pool name is mirrpool.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zpool create mirrpool mirror c3t2d0 c3t3d0&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zpool list&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME        SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool   1008M    94K  1008M     0%  ONLINE  -&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Check condition of  the pool&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zpool status&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool:  mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;state:  ONLINE&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;scrub:  none requested&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;config:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME         STATE     READ WRITE CKSUM&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool     ONLINE       0     0     0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirror     ONLINE       0     0     0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c3t2d0   ONLINE       0     0     0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c3t3d0   ONLINE       0     0     0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;errors:  No known data errors&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/205871376891849490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-create-zfs-storage-pool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/205871376891849490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/205871376891849490'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-create-zfs-storage-pool.html' title='How to create ZFS storage pool'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-6386833920769182245</id><published>2011-01-05T03:04:00.000-08:00</published><updated>2011-01-05T03:04:20.347-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to work with ZFS snapshot and clone</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ZFS clone is a clone from zfs filesystem whose intial contents are the same with the filesystem from which it was created. Clones can only be created from snapshot. Below is tips to create sanpshot from ZFS filesystem and then create clone.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See ZFS file system  on your host.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs list&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME            USED  AVAIL  REFER  MOUNTPOINT&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool        132K   976M    19K  /mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1     18K   976M    18K  /mirrpool/fs1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  the content of your file system.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  ls -al /mirrpool/fs1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;total  7&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;drwxr-xr-x    2 root     root           3 Nov  2 11:54 .&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;drwxr-xr-x    3 root     root           3 Nov  2 11:54 ..&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;-rw-r--r--    1 root     root           0 Nov  2 11:54 data1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create a snapshot  from your filesystem. In this example you create snapshot from  mirrpool/fs1.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs snapshot mirrpool/fs1@today&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs list&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME                  USED  AVAIL  REFER  MOUNTPOINT&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool              133K   976M    19K  /mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1           18K   976M    18K  /mirrpool/fs1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1@today       0      -    18K  -&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  that your snapshot also contain same data with your original  filesystem (step 2).&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  ls -al /mirrpool/fs1/.zfs/snapshot/today&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;total  4&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;drwxr-xr-x    2 root     root           3 Nov  2 11:54 .&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;dr-xr-xr-x    3 root     root           3 Nov  2 11:54 ..&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;-rw-r--r--    1 root     root           0 Nov  2 11:54 data1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create  clone from the snapshot. In this example you create a clone named  mirrpool/fs2. Initial content of clone is same with the original  file system.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  ls -al /mirrpool/fs2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;total  7&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;drwxr-xr-x    2 root     root           3 Nov  2 11:54 .&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;drwxr-xr-x    4 root     root           4 Nov  2 13:44 ..&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;-rw-r--r--    1 root     root           0 Nov  2 11:54 data1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  that origin from the clone is the snapshot. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;bash-3.00#  zfs get -r origin mirrpool&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;NAME                 PROPERTY  VALUE               SOURCE&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool             origin    -                   -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1         origin    -                   -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs1@today   origin    -                   -&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;mirrpool/fs2         origin    mirrpool/fs1@today  -&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/6386833920769182245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-work-with-zfs-snapshot-and-clone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/6386833920769182245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/6386833920769182245'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-work-with-zfs-snapshot-and-clone.html' title='How to work with ZFS snapshot and clone'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-1398748536326653953</id><published>2011-01-04T00:40:00.000-08:00</published><updated>2011-01-10T00:29:24.189-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Security"/><title type='text'>How to display user without password</title><content type='html'>&lt;div align=&quot;JUSTIFY&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can monitor user who login to your system without password with following tips. This will be usefull to increase your system security. &lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Become super user on  your host&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Show  user login without password with &lt;i&gt;logins&lt;/i&gt; command.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # logins -p&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Andy  501 other 1 Andy Bob&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;See  that user Andy login without password. You can tell this user to  create a new password.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/1398748536326653953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-display-user-without-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1398748536326653953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1398748536326653953'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-display-user-without-password.html' title='How to display user without password'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-5080242770791692</id><published>2011-01-03T00:02:00.000-08:00</published><updated>2011-01-03T00:02:44.891-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to configure NIS slave server</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can use tips below to configure host as NIS slave server. You should have at least one NIS slave server as backup in case NIS master server become unavailable. &lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol&gt;&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify your  /etc/inet/hosts  file to include IP address – hostname of NIS  master, all NIS slave servers and NIS clients.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set NIS domain on  your host. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  vi /etc/defaultdomain&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;sun.com&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  domainname sun.com&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Initialize  your system as NIS client. When system prompts for list of NIS  servers, enter the name of NIS master server and all NIS slave  servers.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ypinit -c&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify  your /etc/nsswitch.conf to contain NIS. For instance, copy from  /etc/nsswitch.nis file&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;#  cp /etc/nsswitch.nis /etc/nsswitch.conf&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make sure &lt;i&gt;ypserv&lt;/i&gt;  process is running on NIS master server. If it is not running, run  the NIS service on your NIS master server.  &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;# pgrep -fl ypserv&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;#  svcadm enable &lt;/span&gt;svc:/network/nis/server:default (optional if  ypserv is not running)&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Note  : Remember to work this step 5 in NIS master server, not on NIS  slave server&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Return to your NIS  slave server and start your NIS client service&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;#  svcadm enable &lt;/span&gt;svc:/network/nis/client:default&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Initialize  your system as NIS slave servers that will refer to NIS master  server. In this example your NIS master server hostname is jupiter.  This command also pull and get all NIS map from NIS master server.  So your NIS slave server maps is updated with the current NIS master  server maps. &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ypinit -s &lt;span style=&quot;font-style: normal;&quot;&gt;jupiter&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Stop your NIS client  service&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;# svcadm disable  svc:/network/nis/client:default&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Start your NIS slave  server service&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;# svcadm enable  svc:/network/nis/server:default&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Test  your NIS client functionality. List NIS maps and NIS server for each  map.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;# ypwhich -m&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/5080242770791692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-configure-nis-slave-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/5080242770791692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/5080242770791692'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2011/01/how-to-configure-nis-slave-server.html' title='How to configure NIS slave server'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-8732141547660529648</id><published>2010-12-30T02:08:00.000-08:00</published><updated>2011-02-18T03:18:54.987-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to configure NIS master server</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can use below tips to configure host as NIS master server. Remember that you can only have one master server in your domain. This master server contain original ASCII file that used to create NIS map. It also will propagate NIS map to all slave server.&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create  /var/yp/securenets file on your NIS master server. This file will  restrict which host can access NIS service that provided by this  master server. In this example NIS service can be accessed by NIS  master server itself, all hosts in 192.168.1.2/24, and host with IP  address 10.10.10.1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  vi /var/yp/securenets&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;host  127.0.0.1&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 255.255.255.0 192.168.1.2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; host 10.10.10.1&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set NIS domain on  your host. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  vi /etc/defaultdomain&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sun.com&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span lang=&quot;en-US&quot;&gt;# domainname sun.com&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Build NIS maps. &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Your NIS maps need at  least 3 kind of files, ex: /etc/passwd, /etc/group and /etc/hosts.  Collect that 3 kind of files from all hosts that have same domain  with NIS server. &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make a new &lt;i&gt;passwd&lt;/i&gt;  file that contain all records from all &lt;i&gt;passwd&lt;/i&gt; file you have  collected. Delete all root record from your new &lt;i&gt;passwd&lt;/i&gt; file.  Store this new &lt;i&gt;passwd&lt;/i&gt; file on /var/yp, this new &lt;i&gt;passwd&lt;/i&gt;  file will be used as &lt;i&gt;passwd&lt;/i&gt; map.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make a new &lt;i&gt;group&lt;/i&gt;  file and &lt;i&gt;hosts&lt;/i&gt; file too that contain all records from all  &lt;i&gt;group&lt;/i&gt; and &lt;i&gt;hosts&lt;/i&gt; file you have collected. Store this  new &lt;i&gt;group&lt;/i&gt; and &lt;i&gt;hosts&lt;/i&gt; file on /var/yp, this new &lt;i&gt;group&lt;/i&gt;  and &lt;i&gt;hosts&lt;/i&gt; file will be used as &lt;i&gt;group&lt;/i&gt; map and &lt;i&gt;hosts&lt;/i&gt;  map.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;For security collect also  /etc/shadow from all hosts in the same domain. Create file  &lt;i&gt;passwd.adjunct&lt;/i&gt; that combine all record from /etc/shadow.  Delete all root record from your  &lt;i&gt;passwd.adjunct&lt;/i&gt; file.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Put &lt;i&gt;passwd.adjunct&lt;/i&gt;   file in /var/yp/security, then edit your /var/yp/Makefile in  section all to include &lt;i&gt;passwd.adjunct&lt;/i&gt; (see step 4)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You also can  optionally collect and combine the other /etc files, ex :   /etc/timezone, /etc/netgroup, /etc/ethers, /etc/bootparams,  /etc/netmasks and many more. You can see all /etc  files that can be  configured by see section &lt;i&gt;all&lt;/i&gt; in /var/yp/Makefile&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  vi /etc/defaultdomain&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;all:  passwd group hosts ipnodes ethers networks rpc services protocols &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;netgroup  bootparams aliases publickey netid netmasks c2secure &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;timezone  auto.master auto.home ageing &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;auth.attr  exec.attr prof.attr user.attr audit.user &lt;b&gt;passwd.adjunct&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit file  /var/yp/Makefile. &lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Assign DIR, PWDIR,  INETDIR parameter to /var/yp&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify your  /etc/inet/hosts  file to include IP address – hostname of all NIS  slave servers and NIS clients&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Initialize  your system as NIS master server. When system prompts for list of  NIS slave servers, enter the name of all NIS slave servers.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ypinit -m&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify  your /etc/nsswitch.conf to contain NIS. For instance, copy from  /etc/nsswitch.nis file&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  cp /etc/nsswitch.nis /etc/nsswitch.conf&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Start your NIS master  server service and test your NIS&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;#  svcadm enable &lt;/span&gt;svc:/network/nis/server:default&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;# ypcat passwd&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/8732141547660529648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2010/12/how-to-configure-nis-master-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/8732141547660529648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/8732141547660529648'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2010/12/how-to-configure-nis-master-server.html' title='How to configure NIS master server'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-3216231665367541580</id><published>2010-12-28T20:20:00.000-08:00</published><updated>2010-12-28T20:20:17.439-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to configure NIS client</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can use tips below to configure host as NIS client. In this example you already have NIS master  server and NIS slave server. You only can have 1 NIS master server, but can have several NIS slave server.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt; &lt;/div&gt;&lt;ol&gt;&lt;li style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify your  /etc/inet/hosts  file to include IP address – hostname of NIS  master server and NIS slave servers. &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set NIS domain on  your host. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  vi /etc/defaultdomain&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sun.com&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span lang=&quot;en-US&quot;&gt;# domainname sun.com&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Initialize  your system as NIS client. When system prompts for list of NIS  servers, enter the name of NIS master server and all NIS slave  servers.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  ypinit -c&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify  your /etc/nsswitch.conf to contain NIS. For instance, copy from  /etc/nsswitch.nis file&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;#  cp /etc/nsswitch.nis /etc/nsswitch.conf&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Start your NIS client  service&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;#  svcadm enable &lt;/span&gt;svc:/network/nis/client:default&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Test  your NIS client functionality. List NIS maps and NIS server for each  map.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; margin-bottom: 0in;&quot;&gt;  &lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;# ypwhich -m&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/3216231665367541580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2010/12/how-to-configure-nis-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/3216231665367541580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/3216231665367541580'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2010/12/how-to-configure-nis-client.html' title='How to configure NIS client'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-200426990697248194</id><published>2010-12-28T02:59:00.000-08:00</published><updated>2011-02-18T03:19:30.521-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Network"/><title type='text'>How to configure IP address</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can use basic simple tips below to configure your host IP address.  In this example you set an intel network interface (e1000g) IP address to 172.16.31.242 with subnet 255.255.252.0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify  /etc/inet/hosts and /etc/inet/ipnodes and insert following record. &lt;/span&gt;  &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;172.16.31.242    solaris-sunray&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify  /etc/hostname.e1000g0  and input hostname&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;solaris-sunray&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify  /etc/inet/netmasks and input netwrok address and netmask address.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;172.16.28.0      255.255.252.0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set the IP address&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # ifconfig e1000g0 solaris-sunray netmask + broadcast + up&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root@solaris-sunray # ifconfig -a&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lo0:&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; index  1&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 127.0.0.1 netmask ff000000 &lt;/span&gt; &lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e1000g0: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        &lt;/span&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;inet 172.16.31.242 netmask fffffc00 broadcast 172.16.31.255&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace;&quot;&gt;ether 8:0:27:7e:12:82&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/200426990697248194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2010/12/how-to-configure-ip-address-ipv4.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/200426990697248194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/200426990697248194'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2010/12/how-to-configure-ip-address-ipv4.html' title='How to configure IP address'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4961605942049698504.post-1851725267182330433</id><published>2010-12-27T05:33:00.002-08:00</published><updated>2011-02-18T03:20:09.802-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solaris Admin"/><title type='text'>How to configure DNS client</title><content type='html'>&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can use below procedure to configure host as DNS client. In this example you already have DNS server&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Modify your  /etc/nsswitch.conf file to include DNS. For instance, you can copy  from /etc/nsswitch.dns&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # cp /etc/nsswitch.dns /etc/nsswitch.conf &lt;/span&gt;  &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Modify your  /etc/resolv.conf to include IP address of your DNS server. In this  example, your DNS server IP address is 172.16.20.249&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # vi /etc/resolv.conf&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nameserver 172.16.20.249&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domain sun.com&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; search sun.com&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot;&gt;&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make  sure that your DNS client service is running.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # svcadm enable svc:/network/dns/client:default&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Set  your client domain name.&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;en-US&quot; style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # vi /etc/defaultdomain&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sun.com&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span lang=&quot;en-US&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;# domainname sun.com&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;li&gt;&lt;div style=&quot;font-family: Verdana,sans-serif; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Test your DNS client  configuration. Look IP address of  server pool.ntp.org&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # nslookup pool.ntp.org&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Server:          172.16.20.249&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Address:         172.16.20.249#53&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Non-authoritative  answer:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Name:    pool.ntp.org&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Address:  202.134.6.170&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Name:    pool.ntp.org&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;Address:  152.118.24.8&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;root@solaris-sunray  # dig pool.ntp.org&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;; &amp;lt;&amp;lt;&amp;gt;&amp;gt;  DiG 9.3.4-P1 &amp;lt;&amp;lt;&amp;gt;&amp;gt; pool.ntp.org&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; global options:   printcmd&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; Got answer:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;-  opcode: QUERY, status: NOERROR, id: 1371&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; flags: qr rd ra;  QUERY: 1, ANSWER: 2, AUTHORITY: 9, ADDITIONAL: 12&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; QUESTION  SECTION:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;pool.ntp.org.                   IN      A&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; ANSWER SECTION:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            270     IN      A       152.118.24.8&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            270     IN      A       202.134.6.170&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; AUTHORITY  SECTION:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      d.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      e.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      f.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      g.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      h.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      i.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      a.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      b.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;pool.ntp.org.            3122    IN      NS      c.ntpns.org.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; ADDITIONAL  SECTION:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;a.ntpns.org.             16553   IN      A       207.171.17.42&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;b.ntpns.org.             6723    IN      A       207.171.7.84&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;c.ntpns.org.             16553   IN      A       212.200.82.148&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;d.ntpns.org.             16553   IN      A       94.23.191.112&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;e.ntpns.org.             16553   IN      A       70.85.157.108&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;f.ntpns.org.             16553   IN      A       202.191.108.134&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;g.ntpns.org.             16553   IN      A       78.153.203.28&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;h.ntpns.org.             16553   IN      A       64.142.113.8&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;h.ntpns.org.             16553   IN      A       85.214.25.217&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;h.ntpns.org.             16553   IN      A       212.12.50.229&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;i.ntpns.org.             16553   IN      A       141.89.226.53&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;i.ntpns.org.             16553   IN      AAAA    2001:638:807:201:215:5dff:fee2:700c&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; Query time: 261  msec&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; SERVER:  172.16.20.249#53(172.16.20.249)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; WHEN: Thu Nov 11  16:09:54 2010&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; font-weight: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New,monospace; font-size: small;&quot;&gt;;; MSG SIZE  rcvd:  416&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://solaristip.blogspot.com/feeds/1851725267182330433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solaristip.blogspot.com/2010/12/how-to-configure-dns-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1851725267182330433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4961605942049698504/posts/default/1851725267182330433'/><link rel='alternate' type='text/html' href='http://solaristip.blogspot.com/2010/12/how-to-configure-dns-client.html' title='How to configure DNS client'/><author><name>Solaris Tips</name><uri>http://www.blogger.com/profile/12626775516975292568</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>