<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>cifs &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/cifs/</link>
	<description>Feed of posts on WordPress.com tagged "cifs"</description>
	<pubDate>Thu, 24 Dec 2009 14:51:19 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Creating credential files for automatic Samba mounts in /etc/fstab]]></title>
<link>http://andrewmemory.wordpress.com/2009/11/27/creating-credential-files-for-automatic-samba-mounts-in-etcfstab/</link>
<pubDate>Fri, 27 Nov 2009 07:43:59 +0000</pubDate>
<dc:creator>andrewmemory</dc:creator>
<guid>http://andrewmemory.wordpress.com/2009/11/27/creating-credential-files-for-automatic-samba-mounts-in-etcfstab/</guid>
<description><![CDATA[It&#8217;s handy to have credentials for each Samba server so you don&#8217;t have public passwords ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It&#8217;s handy to have credentials for each Samba server so you don&#8217;t have public passwords in /etc/fstab for the Samba file systems you want to mount on boot. Here&#8217;s how I do it:</p>
<ol>
<li>Create a directory /etc/samba/credentials</li>
<li>Create a file /etc/samba/credentials/myserver</li>
<li>In the myserver file, put the credentials for that server:
<pre>
username=myusername
password=mypassword
</pre>
<p><b>Note:</b> spaces are important here &#8211; don&#8217;t use &#8220; = &#8221;, use &#8220;=&#8221;.</li>
<li>chown -R root.root /etc/samba/credentials</li>
<li>chmod 700 /etc/samba/credentials</li>
<li>chmod 600 /etc/samba/credentials/myserver</li>
</ol>
<p>Once this is done, you can add lines for each mount of that server to your /etc/fstab:</p>
<pre>
//myserver/music        /music  smbfs   credentials=/etc/samba/credentials/myserver 0 0
//myserver/shared       /shared smbfs   credentials=/etc/samba/credentials/myserver 0 0
</pre>
<p>Note that the file in /etc/samba/credentials doesn&#8217;t have to be named the same thing as the server name &#8211; it just makes it easier.</p>
<p>This also survives the Ubuntu upgrade process, so you just have to update /etc/fstab if you upgrade to a new release, and can keep the same credentials files.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Update Release of VMware VDR Available]]></title>
<link>http://xtravirtpaul.wordpress.com/2009/11/23/update-release-of-vmware-vdr-available/</link>
<pubDate>Mon, 23 Nov 2009 11:06:27 +0000</pubDate>
<dc:creator>pauledavey</dc:creator>
<guid>http://xtravirtpaul.wordpress.com/2009/11/23/update-release-of-vmware-vdr-available/</guid>
<description><![CDATA[I don&#8217;t know how many of you out there have been using VDR to backup your VMware estate. VDR i]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft size-medium wp-image-329" title="VDR" src="http://xtravirtpaul.wordpress.com/files/2009/11/vdr-capture2.jpg?w=300" alt="" width="300" height="95" />I don&#8217;t know how many of you out there have been using VDR to backup your VMware estate. VDR is a good option for a quick deduplicated backup solution &#8211; albeit there have been a few issues. Initially Xtravirt used VDR to backup our production infrastructure as well as development and test virtual machines. However, occasionally we were recieving the <a title="http://communities.vmware.com/message/1389500" href="http://communities.vmware.com/message/1389500" target="_blank">well documented 3902 error </a>which would stop the backup jobs from running. A sample of this error is below.</p>
<blockquote><p>11/23/2009 5:33:11 AM: Normal backup using Xtravirt Daily backup</p>
<p>11/23/2009 5:33:48 AM: Failed to create snapshot for XenCenterServer, error -3902 ( file access error)</p>
<p>11/23/2009 5:33:57 AM: Task incomplete</p></blockquote>
<p>The issue seemed to be resolved by rebooting the VDR virtual appliance, although this brought with it, its own problems (not counting the annoyance of rebooting it every other day). Well, thank goodness VMware have got their finger out and<a title="http://downloads.vmware.com/d/details/datarecovery11/ZHcqYmQlcHBiZGUlcA==" href="http://downloads.vmware.com/d/details/datarecovery11/ZHcqYmQlcHBiZGUlcA==" target="_self"> released an updated version </a>that resolves (to be seen and tested) the issue.</p>
<div id="attachment_327" class="wp-caption aligncenter" style="width: 710px"><a href="http://xtravirtpaul.wordpress.com/files/2009/11/vdr-capture1.jpg"><img class="size-full wp-image-327" title="VMware VDR" src="http://xtravirtpaul.wordpress.com/files/2009/11/vdr-capture1.jpg" alt="VMware VDR" width="700" height="258" /></a><p class="wp-caption-text">VMware VDR</p></div>
<p>The upgrade path is documented here. Basically, uninstall your existing VDR plugin from your machine, import the new OVF appliance and connect it to the backup destination (existing VMDK\CIFS share\RDM).  If you are using VDR or are looking at testing it, ensure you use the <a title="http://downloads.vmware.com/d/details/datarecovery11/ZHcqYmQlcHBiZGUlcA==" href="http://downloads.vmware.com/d/details/datarecovery11/ZHcqYmQlcHBiZGUlcA==" target="_blank">updated version</a>. Make sure you review the <a title="http://www.vmware.com/support/vdr/doc/vdr_110_releasenotes.html" href="http://www.vmware.com/support/vdr/doc/vdr_110_releasenotes.html" target="_blank">release notes </a>before getting your hands dirty. Although it does not mention the &#8216;fix&#8217; that is mentioned on the forums<a title="http://communities.vmware.com/message/1421849#1421849" href="http://communities.vmware.com/message/1421849#1421849" target="_blank"> here</a>, other information worthy of note included:</p>
<blockquote>
<h2>Enhancements</h2>
<p>The enhancements have been made for this release of Data Recovery.</p>
<ul><!-- DOCNOTES?????? --></p>
<li><strong>File Level Restore Functionality is Officially Supported</strong>File Level Restore (FLR) provides a way to access individual files within restore points for Windows virtual machines. In previous versions of Data Recovery, FLR was provided as an experimental feature. File Level Restore feature is now officially supported.
<p><!-- DOCNOTES?????? --></li>
<li><strong>Integrity Check Stability and Performance Improved</strong>The integrity check process is faster and more stable. Note that integrity checks are computationally intensive processes and can take significant periods of time. The exact amount of time integrity checks take varies based on of the size of the deduplication store. Even with these enhancements, integrity checks that take several hours are not unexpected.
<p><!-- DOCNOTES: 389417, Eng: 388586 --></li>
<li><strong>Integrity Checks Provides Improved Progress Information</strong>When an integrity check is running, a progress indicator is displayed. This progress indicator has been improved, although it does not provide the optimal level of detail.
<p><!-- DOCNOTES?????? --></li>
</ul>
<p><strong>Enhanced CIFS Shares Support</strong></p></blockquote>
<p>Perhaps &#8216;Enhanced CIFS Shares Support&#8217; is code for &#8216;now works.&#8217;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Modifing /etc/fstab in Linux]]></title>
<link>http://mohammadthalif.wordpress.com/2009/11/18/modifing-etcfstab-in-linux/</link>
<pubDate>Wed, 18 Nov 2009 05:37:59 +0000</pubDate>
<dc:creator>mohammadthalif</dc:creator>
<guid>http://mohammadthalif.wordpress.com/2009/11/18/modifing-etcfstab-in-linux/</guid>
<description><![CDATA[Here I will explain how to add entries to /etc/fstab for various filesystem. Mounting the fat partit]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Here I will explain how to add entries to /etc/fstab for various filesystem.</p>
<p><span style="text-decoration:underline;"><strong>Mounting the fat partition in linux</strong></span></p>
<p>To mount the FAT partation in linux enter the following entry in /etc/fstab file</p>
<p>/dev/&#60;node&#62;      &#60;path&#62;     vfat    relatime,rw,exec,nodev,user,auto,uid=&#60;username&#62;,gid=&#60;groupname&#62;  0  2</p>
<p>example</p>
<p>/dev/sda6       /media/DATA     vfat    relatime,rw,exec,nodev,user,auto,uid=thalib,gid=thalib  0  2</p>
<p><span style="text-decoration:underline;"><strong>Mounting the samba/cifs partition in linux</strong></span></p>
<p>//&#60;ipadres&#62;/&#60;share name&#62;     /path/to/mount    cifs username=&#60;username&#62;,password=&#60;password&#62; ,rw,_netdev,uid=&#60;userid&#62;,gid=&#60;groupid&#62;      0 2</p>
<p>example</p>
<p>//172.29.38.6/thalib     /mnt/samba    cifs username=thalib,password=thalib,rw,_netdev,uid=thalib,gid=thalib      0 2</p>
<p>From the above :</p>
<p>uid and gid are the users and groups to which we want to give acces to the mounted partition.</p>
<p>rw = read and write permisson</p>
<p>auto = when you do <em>mount -a</em> or on the boot the parations will be mounted</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Mount Cifs Linux Share  ]]></title>
<link>http://jewelsjacobs.wordpress.com/2009/11/17/mount-cifs-linux-share/</link>
<pubDate>Tue, 17 Nov 2009 14:47:43 +0000</pubDate>
<dc:creator>jewelsjacobs</dc:creator>
<guid>http://jewelsjacobs.wordpress.com/2009/11/17/mount-cifs-linux-share/</guid>
<description><![CDATA[An alternative to mapping a directery on a Linux Server to a Windows PC / Server is mounting a cifs ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>An alternative to mapping a directery on a Linux Server to a Windows PC / Server is mounting a cifs share.</p>
<p>First you need to request that your share be cifs vs. nfs</p>
<p>Here is an example of the syntax:</p>
<p>Add to /etc/fstab:</p>
<p><code>//<em>sharehost/share</em>$ /<em>path/to/mount/directory</em> cifs username=<em>svc_username</em>,password=<em>somepassword</em></code></p>
<p>Note the svc account needs to be Linux / AD</p>
<p>Then run</p>
<p><code>mount /<em>path/to/mount/directory</em></code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[NetApp and EMC: Real world comparisons]]></title>
<link>http://storagesavvy.com/2009/10/15/netapp-and-emc-real-world-comparisons/</link>
<pubDate>Fri, 16 Oct 2009 00:16:40 +0000</pubDate>
<dc:creator>storagesavvy</dc:creator>
<guid>http://storagesavvy.com/2009/10/15/netapp-and-emc-real-world-comparisons/</guid>
<description><![CDATA[I&#8217;ve been tasked recently on a project to increase availability of applications through the us]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been tasked recently on a project to increase availability of applications through the use of multiple/disparate storage systems.  This environment has heavily invested in EMC Clariion and Celerra storage systems over the past few years and needed a non-EMC platform from which to build the second half of a redundant storage environment.  For various reasons I won&#8217;t go into here, we chose IBM nSeries as that second platform. (Since the IBM system is rebranded NetApp FAS, I will refer to this as a NetApp filer.)  I&#8217;ve been working on implementing the new equipment as well as integrating it into the Business Continuity strategy.</p>
<p>The overall strategy is to continue to use the EMC Clariion/Celerra systems for production and disaster recovery replication and split applications between and across the two storage platforms for local redundancy.  The NetApp will also perform disaster recovery replication for some of the applications.  Here&#8217;s a really simple diagram that might help if the description is confusing:</p>
<div id="attachment_76" class="wp-caption aligncenter" style="width: 430px"><img class="size-full wp-image-76" title="netapp-emc-diagram" src="http://storagesavvy.wordpress.com/files/2009/09/netapp-emc-diagram1.gif" alt="EMC and NetApp Redundancy" width="420" height="177" /><p class="wp-caption-text">EMC and NetApp Redundancy</p></div>
<p>Now this may sound easy, but it is, in fact, NOT straightforward.  This strategy requires close coordination with application owners and careful planning.  As we move forward on this project, I&#8217;ll talk about various idiosyncrasies, caveats, and problems we&#8217;ve faced, how we got around them, and I&#8217;ll also talk a lot about the differences between the Clariion/Celerra and NetApp platforms&#8217; features and functionality, application support, and manageability.  These comparisons will include using both systems with FiberChannel connections as well as CIFS/NFS NAS, all in conjunction with DR replication and failover.</p>
<p>To start off, I figure we should compare some of the terminology between EMC and NetApp systems.  Some terms don&#8217;t directly translate, but I matched them up as close as I could and noted where there is no equivalent.   Below are two tables: one for Block Storage, and the other for NAS Storage.  Click on them to see full size versions.</p>
<div id="attachment_77" class="wp-caption alignleft" style="width: 121px"><a href="http://storagesavvy.wordpress.com/files/2009/09/emc-netapp-terms.gif" target="_blank"><img class="size-thumbnail wp-image-77    " title="EMC-NetApp-Terms" src="http://storagesavvy.wordpress.com/files/2009/09/emc-netapp-terms.gif?w=111" alt="EMC-NetApp Block Storage Terminology table" width="111" height="150" /></a><p class="wp-caption-text">EMC-NetApp Block Storage Terminology</p></div>
<div id="attachment_78" class="wp-caption alignleft" style="width: 158px"><a href="http://storagesavvy.wordpress.com/files/2009/09/emc-netapp-nasterms.gif" target="_blank"><img class="size-thumbnail wp-image-78    " title="EMC-NetApp-NASTerms" src="http://storagesavvy.wordpress.com/files/2009/09/emc-netapp-nasterms.gif?w=148" alt="EMC-NetApp NAS Storage Terminology" width="148" height="150" /></a><p class="wp-caption-text">EMC-NetApp NAS Storage Terminology</p></div>
<p>In the next update, I&#8217;ll start talking about the deployment itself.  The point of these articles is to discuss the differences, advantages, and disadvantages of each platform so that you can understand how each one might work in your environment.  I do not intend to disparage either platform or vendor.  I will try to be vendor agnostic as much as possible, and I do feel like I have a somewhat unique position of comparing new and recent hardware and firmware from both vendors, in the same production capacities, simultaneously, in the same environment.  I am NOT comparing old ONTap code to new FLARE/DART code or vise-versa, nor am I comparing old Clariion CX hardware to new NetApp/IBM hardware, etc.</p>
<p>Stay tuned!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[In-the-Lab: Full ESX/vMotion Test Lab in a Box, Part 3]]></title>
<link>http://solori.wordpress.com/2009/08/21/in-the-lab-full-esxvmotion-test-lab-in-a-box-part-3/</link>
<pubDate>Fri, 21 Aug 2009 06:35:17 +0000</pubDate>
<dc:creator>solori</dc:creator>
<guid>http://solori.wordpress.com/2009/08/21/in-the-lab-full-esxvmotion-test-lab-in-a-box-part-3/</guid>
<description><![CDATA[In Part 2 of this series we introduced the storage architecture that we would use for the foundation]]></description>
<content:encoded><![CDATA[In Part 2 of this series we introduced the storage architecture that we would use for the foundation]]></content:encoded>
</item>
<item>
<title><![CDATA[CIFS - Common Internet File System]]></title>
<link>http://sandeepkonstant.wordpress.com/2009/07/15/cifs-common-internet-file-system/</link>
<pubDate>Wed, 15 Jul 2009 02:34:44 +0000</pubDate>
<dc:creator>sandeepkonstant</dc:creator>
<guid>http://sandeepkonstant.wordpress.com/2009/07/15/cifs-common-internet-file-system/</guid>
<description><![CDATA[Common Internet File System (CIFS) is a proposed standard protocol that lets programs make requests ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Common Internet File System (CIFS) is a proposed standard <a href="http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci212839,00.html">protocol</a> that lets programs make requests for files and services on remote computers on the Internet.  CIFS uses the <a href="http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci211796,00.html">client/server</a> programming model.  A <a href="http://searchenterprisedesktop.techtarget.com/sDefinition/0,,sid192_gci211795,00.html">client</a> program makes a request of a <a href="http://whatis.techtarget.com/definition/0,,sid9_gci212964,00.html">server</a> program (usually in another computer) for access to a file or to pass a message to a program that runs in the server computer. The server takes the requested action and returns a response. CIFS is a public or <a href="http://searchcio-midmarket.techtarget.com/sDefinition/0,,sid183_gci212705,00.html">open</a> variation of the <a href="http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci214214,00.html">Server Message Block Protocol</a> developed and used by Microsoft. The SMB Protocol is widely used in today&#8217;s local area networks for server file access and printing. Like the SMB protocol, CIFS runs at a higher level than and uses the Internet&#8217;s <a href="http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci214173,00.html">TCP/IP</a> protocol.  CIFS is viewed as a complement to the existing Internet application protocols such as the File Transfer Protocol (<a href="http://searchenterprisewan.techtarget.com/sDefinition/0,,sid200_gci213976,00.html">FTP</a>) and the Hypertext Transfer Protocol (<a href="http://searchwindevelopment.techtarget.com/sDefinition/0,,sid8_gci214004,00.html">HTTP</a>).</p>
<p>CIFS lets you:</p>
<ul>
<li>Get access to files that are local to the server and read and write to them</li>
<li>Share files with other clients using special locks</li>
<li>Restore connections automatically in case of network failure</li>
<li>Use <a href="http://searchcio-midmarket.techtarget.com/sDefinition/0,,sid183_gci213250,00.html">Unicode</a> file names</li>
</ul>
<p><strong>Mount Windows File System on Linux</strong></p>
<p># mount -t cifs //192.168.0.x/projects -o username=uname,password=pwd /mnt/public</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[JCIFS Example Functions]]></title>
<link>http://azerdark.wordpress.com/2009/06/25/jcifs-example-functions/</link>
<pubDate>Thu, 25 Jun 2009 14:08:24 +0000</pubDate>
<dc:creator>azer89</dc:creator>
<guid>http://azerdark.wordpress.com/2009/06/25/jcifs-example-functions/</guid>
<description><![CDATA[JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><img class="size-medium wp-image-729 aligncenter" title="jcifs" src="http://azerdark.wordpress.com/files/2009/06/jcifs1.png?w=300" alt="jcifs" width="215" height="91" /></p>
<p style="text-align:center;">
<p>JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java. CIFS is the standard file sharing protocol on the Microsoft Windows platform (e.g. Map Network Drive &#8230;). This client is used extensively in production on large Intranets.</p>
<p>Source :<br />
<a href="http://jcifs.samba.org/">http://jcifs.samba.org/</a><br />
<!--more--></p>
<pre class="brush: java;">

package ftpjcifs;

import java.util.LinkedList;
import jcifs.UniAddress;
import jcifs.smb.*;

/**
 *
 * @author Reza
 */
public class SmbFunction
{
    private UniAddress domain;
    private NtlmPasswordAuthentication authentication;

    public SmbFunction()
    {

    }

    /**
     *
     * @param address
     * @param username
     * @param password
     * @throws java.lang.Exception
     */
    public void login(String address, String username, String password) throws Exception
    {

        setDomain(UniAddress.getByName(address));
        setAuthentication(new NtlmPasswordAuthentication(address, username, password));
        SmbSession.logon(getDomain(), authentication);

    }

    /**
     *
     * @param path
     * @return
     * @throws java.lang.Exception
     */
    public LinkedList&lt;String&gt; getList(String path) throws Exception
    {
        LinkedList&lt;String&gt; fList = new LinkedList&lt;String&gt;();
        SmbFile f = new SmbFile(path,authentication);
        SmbFile[] fArr = f.listFiles();

        for(int a = 0; a &lt; fArr.length; a++)
        {
            fList.add(fArr[a].getName());
            System.out.println(fArr[a].getName());
        }

        return fList;
    }

    /**
     *
     * @param path
     * @return
     * @throws java.lang.Exception
     */
    public boolean checkDirectory(String path) throws Exception
    {
        if(!isExist(path))
        {
            System.out.println(path + &quot; not exist&quot;);
            return false;
        }

        if(!isDir(path))
        {
            System.out.println(path + &quot; not a directory&quot;);
            return false;
        }

        return true;
    }

    /**
     *
     * @param path
     * @return
     * @throws java.lang.Exception
     */
    public boolean isExist(String path) throws Exception
    {
        SmbFile sFile = new SmbFile(path, authentication);

        return sFile.exists();
    }

    /**
     *
     * @param path
     * @return
     * @throws java.lang.Exception
     */
    public boolean isDir(String path) throws Exception
    {
        SmbFile sFile = new SmbFile(path, authentication);

        return sFile.isDirectory();
    }

    /**
     *
     * @param path
     * @throws java.lang.Exception
     */
    public void createDir(String path) throws Exception
    {
       SmbFile sFile = new SmbFile(path, authentication);

       sFile.mkdir();
    }

    /**
     *
     * @param path
     * @throws java.lang.Exception
     */
    public void delete(String path) throws Exception
    {
        SmbFile sFile = new SmbFile(path, authentication);
        sFile.delete();
    }

    /**
     *
     * @param path
     * @return
     * @throws java.lang.Exception
     */
    public long size(String path) throws Exception
    {
        SmbFile sFile = new SmbFile(path, authentication);

        return sFile.length();
    }

    /**
     *
     * @param path
     * @return
     * @throws java.lang.Exception
     */
    public String getFileName(String path) throws Exception
    {
        SmbFile sFile = new SmbFile(path, authentication);

        return sFile.getName();
    }

    /**
     * @return the domain
     */
    public UniAddress getDomain()
    {
        return domain;
    }

    /**
     * @param domain the domain to set
     */
    public void setDomain(UniAddress domain)
    {
        this.domain = domain;
    }

    /**
     * @return the authentication
     */
    public NtlmPasswordAuthentication getAuthentication()
    {
        return authentication;
    }

    /**
     * @param authentication the authentication to set
     */
    public void setAuthentication(NtlmPasswordAuthentication authentication)
    {
        this.authentication = authentication;
    }

}
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XenServer 5.0: Creating a Windows File Share]]></title>
<link>http://ablogontech.wordpress.com/2009/06/09/xenserver-5-0-creating-a-windows-file-share/</link>
<pubDate>Tue, 09 Jun 2009 18:47:30 +0000</pubDate>
<dc:creator>ablogontech</dc:creator>
<guid>http://ablogontech.wordpress.com/2009/06/09/xenserver-5-0-creating-a-windows-file-share/</guid>
<description><![CDATA[At some point you might need to setup a VM using an ISO file. This post shows how to setup a file sh]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>At some point you might need to setup a VM using an ISO file. This post shows how to setup a file share for use by XenServer.</p>
<p>1. Within XenServer, click Storage &#124; New Storage Repository.</p>
<p><a href="http://ablogontech.files.wordpress.com/2009/06/image.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://ablogontech.files.wordpress.com/2009/06/image_thumb.png?w=244&#038;h=147" border="0" alt="image" width="244" height="147" /></a></p>
<p>2. Click the Windows File Sharing (CIFS) radio button and click next.</p>
<p><a href="http://ablogontech.files.wordpress.com/2009/06/image1.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://ablogontech.files.wordpress.com/2009/06/image_thumb1.png?w=244&#038;h=147" border="0" alt="image" width="244" height="147" /></a></p>
<p>3. Enter the desired name and share name. Click Finish.</p>
<p>4. The new repository (CIFS ISO library) is displayed in the left-hand pane of XenCenter with details on the right-hand-side.</p>
<p><a href="http://ablogontech.files.wordpress.com/2009/06/image2.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://ablogontech.files.wordpress.com/2009/06/image_thumb2.png?w=198&#038;h=128" border="0" alt="image" width="198" height="128" /></a></p>
<p><a href="http://ablogontech.files.wordpress.com/2009/06/image3.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://ablogontech.files.wordpress.com/2009/06/image_thumb3.png?w=244&#038;h=51" border="0" alt="image" width="244" height="51" /></a></p>
<p>5. Now you can use the ISOs on this Windows Share to setup your VM by changing the DVD drive setting to the desired ISO.</p>
<p><a href="http://ablogontech.files.wordpress.com/2009/06/image4.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://ablogontech.files.wordpress.com/2009/06/image_thumb4.png?w=244&#038;h=118" border="0" alt="image" width="244" height="118" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Video storage using GlusterFS]]></title>
<link>http://unlocksmith.wordpress.com/2009/06/09/video-storage-using-glusterfs/</link>
<pubDate>Tue, 09 Jun 2009 11:58:57 +0000</pubDate>
<dc:creator>unlocksmith</dc:creator>
<guid>http://unlocksmith.wordpress.com/2009/06/09/video-storage-using-glusterfs/</guid>
<description><![CDATA[I came across an interesting article on &#8220;100TB video storage&#8221; at StorageMojo.  My detail]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I came across an interesting article on <a title="Configure a 100 TB HD video infrastructure" href="http://storagemojo.com/2009/06/07/configure-a-100-tb-hd-video-infrastructure/" target="_blank">&#8220;100TB video storage&#8221;</a> at StorageMojo.  My detailed response below..</p>
<p>To handle such throughput and capacity, clustered storage architecture is the way to go. Just a bunch of servers with direct attached SATA-II disks &#8211; 12 to 24 disks per box (eg. Dell <a title=" DellTM  PowerEdgeTM  1950 III 2-socket 1U rack server" href="http://www.dell.com/content/products/productdetails.aspx/pedge_1950_3?c=us&#38;l=en&#38;s=biz" target="_blank">1950III</a>+<a title="Dell PowerVault MD 1000 SAS/SATA Storage" href="http://www.dell.com/content/products/productdetails.aspx/pvaul_md1000?c=us&#38;l=en&#38;s=bsd&#38;cs=04" target="_blank">MD1000</a> or HP <a title="HP ProLiant DL320s Storage Server" href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00864713&#38;lang=en&#38;cc=us&#38;taskId=101&#38;prodSeriesId=3355746&#38;prodTypeId=12169#A1" target="_blank">DL320s</a>) with Infiniband or 10GigE interconnect will deliver screaming throughput. GigE should also work fine for most users, because a 8 node storage cluster can accommodate 8 to 32 GigE ports, delivering aggregated 600MB/s to 2GB/s. If you want to optimize further, eliminate the raid controller card and directly connect the disks through SAS controllers. Configure the disks in JBOD mode. Let the cluster file system handle volume management.  Infiniband RDMA or 10GigE as NAS protocol can offer 700MB/s per system.  Infiniband is cost effective (3500 USD for 36 port switch) and mature.  10GigE is getting ready. Make sure your 10GigE vendor has a stable TCP offload engine (TOE) driver for your operating system. Since it is not viable to upgrade all the systems (workstations) to a high performance interconnect, it is OK hybridize 1GigE and Infiniband/10GigE.</p>
<p>GlusterFS is a cluster file system, volume manager, software RAID and a NAS protocol. It can aggregate individual commodity storage servers or multiple SAN volumes into single large volume with global name space. It is fully distributed (with no meta-data server), runs entirely in user space (no kernel patches) and self-heals (no fsck downtime).  Users can access the storage volumes over multi-protocol &#8211; GlusterFS, CIFS, NFS, HTTP and FTP.  GlusterFS is fairly easy to install unlike other cluster file systems mentioned above. Mac OS X users can mount GlusterFS natively on their desktops. There is no need for NFS/CIFS gateway. When mounted natively, each client can access the data directly without going through additional hops (as in NFS access).  GlusterFS natively supports 1GigE, 10GigE and Infiniband RDMA verbs. It has a number of production deployments and an active community around. Check out at <a title="Gluster.org" href="http://www.gluster.org">http://www.gluster.org</a></p>
<p>A screenshot of GlusterFS clustering four Sun x4500 in to a 140TB NAS volume and a 70TB replicated volume.</p>
<div id="attachment_22" class="wp-caption alignnone" style="width: 460px"><a href="http://unlocksmith.wordpress.com/files/2009/06/glusterfs-screenshot1.png"><img class="size-full wp-image-22" title="GlusterFS-Screenshot" src="http://unlocksmith.wordpress.com/files/2009/06/glusterfs-screenshot1.png" alt="GlusterFS 140TB Clustered Storage" width="450" height="298" /></a><p class="wp-caption-text">GlusterFS 140TB Clustered Storage</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Multi-User FoxPro with Linux+Dosemu+CIFS]]></title>
<link>http://anezch.wordpress.com/2009/06/09/multi-user-foxpro-with-linuxdosemucifs/</link>
<pubDate>Tue, 09 Jun 2009 02:28:41 +0000</pubDate>
<dc:creator>anezch</dc:creator>
<guid>http://anezch.wordpress.com/2009/06/09/multi-user-foxpro-with-linuxdosemucifs/</guid>
<description><![CDATA[Saya menemukan masih ada beberapa kantor yang menjalankan aplikasi yang ditulis dengan FoxPro. Seper]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Saya menemukan masih ada beberapa kantor yang menjalankan aplikasi yang ditulis dengan FoxPro. Seperti yang saya alami di kantor saya, kami bahkan masih men-develop beberapa project baru dengan FoxPro, sambil menunggu project migrasi ke Java selesai.</p>
<p>Saat perusahaan kami memutuskan untuk beralih ke Linux, kami pun ditantang untuk dapat menjalankan FoxPro di Linux. Hal yang cukup mudah dilakukan karena adanya Dosemu. Solusi yang dulu kami gunakan yaitu:<br />
1. Data disimpan di satu komputer Linux yang dipasang Samba Server.<br />
2. Pada client diinstall:<br />
    a. Dosemu.<br />
    b. Samba Client.<br />
3. Di Dosemu di-install FoxPro.<br />
4. Client me-mount data dari server dengan samba:</p>
<pre>mount -t smbfs -o rw,username=blabla,password=blabla,uid=1000,gid=1000 //dbfserver/datadir /mnt/datadbf</pre>
<p>5. Di autoexec.bat (/home/user/.dosemu/drive_c/autoexec.bat) di line paling akhir, ditambahkan:<br />
    <code>lredir d: linux\fs/mnt/datadbf</code><br />
    Sehingga data di server kita akses di dosemu dan foxpro sebagai drive D:</p>
<p>Dengan 1-2 user, konfigurasi ini berjalan dengan mulus. Sampai pada suatu saat terjadi masalah, yaitu index file tidak terupdate dengan benar saat menambahkan record baru. Selain itu muncul juga masalah lain, yaitu update yang dilakukan di satu komputer, tidak terlihat di komputer lain. Hal ini mengindikasikan bahwa 1 file DBF tidak dapat dibuka, apalagi di-update oleh 2 client secara bersamaan. Sehingga, kami terpaksa bekerja secara bergantian.</p>
<p><strong>FIX-1 : veto oplock</strong></p>
<p>Protokol file-sharing di Window$ menggunakan mekanisme locking terhadap file yang sebetulnya lebih mengarah ke &#8216;caching&#8217;, dan Samba mencoba mengikuti standar ini. Artinya secara default, Samba melakukkan caching terhadap file. Ini bukanlah hal yang kita inginkan, sebab dapat mengacaukan program FoxPro.</p>
<p>Jadi, perbaikannya adalah dengan men-disable fitur ini untuk file-file database dan index FoxPro. Tambahkan settingan global ini di /etc/samba/smb.conf :</p>
<p><code>veto oplock files = /*.dbf/*.DBF/*.idx/*.IDX/*.cdx/*.CDX/*.fpt/*.FPT/</code></p>
<p>Dengan setting tersebut, sistem pun pulih, untuk sementara. Kemudian terjadi lagi masalah di mana terkadang update oleh satu User tertimpa oleh update User lain. Hal ini dapat disebut sebagai racing condition, yang kembali mengancam integritas data.</p>
<p><strong>FIX-2 : locking dengan flock()</strong></p>
<p>Setelah membaca dokumentasi di FoxPro, saya menemukan bahwa seharusnya program yang dijalankan secara multi-user menggunakan mekanisme locking agar integritas database dapat terjaga. Penggunaan &#8220;set exclusive&#8221; saja ternyata tidak cukup, maka program pun dirubah dengan menambahkan locking kapanpun akses kritis terhadap database diperlukan.</p>
<p>Anehnya, ternyata locking tidak bekerja, apabila satu user sedang me-lock suatu file, user lain masih dapat me-locknya juga. Jangankan locking dengan flock(), ternyata &#8220;set exclusive&#8217; pun tidak bekerja.</p>
<p><strong>FIX-3 : CIFS</strong></p>
<p>Setelah riset dengan mencari sumber di Internet, saya menemukan bahwa SMBFS sudah mulai ditinggalkan karena beberapa bug, dan disebutkan juga bahwa file-locking tidak bekerja di SMBFS. Disarankan untuk beralih ke CIFS, saya pun kemudian melakukan test dengan CIFS ini. Hasilnya, ternyata benar file locking dapat bekerja dengan sempurna.</p>
<p>Command untuk mounting berubah menjadi:<br />
<code>mount -t cifs -o rw,user=blabla,password=blabla,uid=1000,gid=1000,noperms //dbfserver/datadir /mnt/datadbf</code></p>
<p>Program pun dijalankan lagi dan untuk beberapa waktu dapat berjalan dengan baik. Tampaknya permasalahan belumlah selesai, beberapa kali terjadi kehilangan data. Data yang sudah di-update oleh user, ternyata tidak tersimpan di database.</p>
<p><strong>FIX-5 : nounix and directio</strong></p>
<p>Ternyata meskipun locking dapat bekerja dengan baik, update oleh satu user, tidak dapat dilihat secara langsung oleh user lain. Apabila satu file DBF dibuka secara bersamaan oleh lebih dari satu user, pada saat satu user melakukan perubahan, user lain tidak dapat melihatnya secara langsung. User lain haruslah menutup file DBF tersebut dan membuka nya kembali, barulah update dapat terlihat.</p>
<p>Cara ini tentu tidak nyaman dan menurunkan produktifitas user. Apalagi kami mengalami lonjakan jumlah pengguna program FoxPro ini, dari semula hanya 2 user, hingga saat ini ada hampir 20 user.</p>
<p>Setelah searching di internet, akhirnya saya menemukan kunci dari permasalahan ini, yaitu dengan menambahkan option pada command untuk mounting data.</p>
<p>mount -t cifs -o rw,user=blabla,password=blabla,uid=1000,gid=1000,noperms,nounix,directio</p>
<p>Options nounix dan directio ternyata memecahkan masalah dengan CIFS.</p>
<p><strong>Kesimpulan:</strong></p>
<p>Agar sebuah program FoxPro dapat dijalankan secara multi-user dengan skema Linux+Dosemu+CIFS, ada beberapa &#8220;tuning&#8221; yang harus kita lakukan dalam sistem. Di antaranya:<br />
1. Menambahkan option <code>veto oplock files</code> terhadap file-file yang berkaitan dengan FoxPro di konfigurasi server Samba.<br />
2. Menggunakan CIFS untuk mounting direktori data, bukan SMBFS.<br />
3. Options mounting dengan CIFS yang digunakan: noperms,nounix,directio<br />
3. Menyesuaikan program, agar melakukan locking saat mengakses data yang akan dirubah.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SMBFS vs CIFS -- Part 2]]></title>
<link>http://anezch.wordpress.com/2009/06/09/smbfs-vs-cifs-part-2/</link>
<pubDate>Tue, 09 Jun 2009 01:29:32 +0000</pubDate>
<dc:creator>anezch</dc:creator>
<guid>http://anezch.wordpress.com/2009/06/09/smbfs-vs-cifs-part-2/</guid>
<description><![CDATA[Post ini merupakan lanjutan dari post SMBFS vs CIFS. Setelah saya melakukan investigasi lebih lanjut]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Post ini merupakan lanjutan dari post <a title="SMBFS vs CIFS" href="http://anezch.wordpress.com/2009/04/15/smbfs-vs-cifs/">SMBFS vs CIFS</a>. Setelah saya melakukan investigasi lebih lanjut, saya menemukan hasil yang berbeda dengan yang sebelumnya saya dapatkan. Which is, cukup aneh, dan membuat saya sangat heran. Padahal metode test yang saya lakukan masih sama.</p>
<p>Untuk itu, saya merasa perlu menerangkan secara singkat prosedur test yang saya lakukan:<br />
1. User1 dan User2 adalah 2 (dua) komputer yang berbeda.<br />
2. Mounting dengan CIFS di User1 dan User2.<br />
3. Dibuat satu file DBF untuk ekperimen, kita sebut file tersebut test.dbf.<br />
4. User1 flock() file test.dbf.<br />
5. User2 flock() file test.dbf juga. User2 harusnya diblok dengan pesan &#8216;Attempting to lock&#8230;&#8217;<br />
6. User1 update record.<br />
7. User1 unlock file test.dbf.<br />
8. Pada saat yang sama User2 seharusnya keluar dari blok, dan me-lock file test.dbf.<br />
9. User1 dan User2 cek isi record, apakah sudah terlihat hasil update User1 di langkah 6.<br />
10. User2 update record.<br />
11. User2 unlock file test.dbf<br />
12. User1 dan User2 cek isi record, apakah sudah terlihat hasil update User2 di langkah 10.<br />
13. User1 flock() file test.dbf.<br />
14. User1 dan User2 cek isi record, bandingkan dengan hasil di langkah 12.</p>
<p>Hasil yang sudah saya dapatkan sebelumnya menunjukkan bahwa dengan CIFS kita dapat me-lock suatu file DBF di FoxPro, namun update oleh satu user tidak dapat dilihat oleh user lain sekalipun file sudah di-lock. Dengan membuka ulang file DBF-nya dengan &#8220;use&#8221;, barulah perubahan tersebut dapat kita lihat. Terlepas dari apakah kita me-lock file-nya atau tidak.</p>
<p>Hasil test terbaru yang saya lakukan, menyimpulkan bahwa dengan locking, update bisa terlihat secara langsung, tanpa perlu membuka ulang DBF dengan use. Kemungkinan perubahan ini diakibatkan oleh mount options yang berbeda. Kebetulan saya mendapatkan informasi dari arsip suatu milis yang saya lupa namanya. Dengan menambahkan <strong>nounix</strong> dan <strong>directio</strong> sebagai mount options, sepertinya membuat perbedaan antara hasil test pertama dengan hasil test kedua.</p>
<p>Namun, syarat agar perubahan tersebut dapat dilihat secara langsung oleh user lain, ada 2 cara:<br />
1. Dengan &#8216;go top&#8217; dahulu kemudian &#8216;goto&#8217; record yang dimaksud. Atau dengan kata lain, kita pindah ke record yang lain dahulu kemudian kembali ke record yang semula. Update dapat dilihat.<br />
2. Dengan mekanisme locking dengan flock() seperti langkah-langkah test yang saya sebutkan di atas.</p>
<p>Cara yang terbaik tentu saja dengan mekanisme locking dengan flock(), sesuai anjuran FoxPro di Help page nya.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[DataDomain/NAS/Filesystems/Linux: Remove Files From A DataDomain's /ddvar]]></title>
<link>http://blog.colovirt.com/2009/04/16/datadomainnasfilesystemslinux-remove-files-from-a-datadomains-ddvar/</link>
<pubDate>Thu, 16 Apr 2009 15:19:59 +0000</pubDate>
<dc:creator>Kevin Goodman</dc:creator>
<guid>http://blog.colovirt.com/2009/04/16/datadomainnasfilesystemslinux-remove-files-from-a-datadomains-ddvar/</guid>
<description><![CDATA[A few days ago we received alerts for the /ddvar fileystem from one of our Data Domain units. Normal]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A few days ago we received alerts for the /ddvar fileystem from one of our Data Domain units.  Normally, I would not manually remove any files from this filesystem due to it being mainly used by the underlining OS and not for NAS storage.  In this case, the problem was the &#8220;core&#8221; subdirectory.  I tried to remove the files from a Windows machine, but due to permission issues, I was unable to do so.  Even through Windows (CIFS) to the DataDomain, I was able to modify the permissions of the file(s) and still would receive a permission denied issue when trying to remove.  The quick solution here was to add my Linux box to the NFS access list, mount &#8220;/ddvar&#8221;, and remove the files as the root user.  Below details the process that worked for me.</p>
<div id="attachment_504" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-504" title="DataDomain Web Alert" src="http://colovirt.wordpress.com/files/2009/04/ddwebalert.jpg?w=300" alt="DataDomain Web Alert" width="300" height="67" /><p class="wp-caption-text">DataDomain Web Alert</p></div>
<p><!--more--><strong>SSH to the DataDomain and add my Linux systems IP address</strong></p>
<pre>admin1@DataDomain01# nfs add /ddvar 172.16.100.6
Mount the DataDomain /ddvar export on the Linux system
root@tstbox02:~# mount DataDomain01:/ddvar /mnt/DataDomain01/</pre>
<p><strong>Move into the core sub-directory under the ddvar mount point</strong></p>
<pre>root@tstbox02:~# cd /mnt/DataDomain01/core/</pre>
<p><strong>Check the directory for files.  As you can see below, the core directory contained 47 gig worth of data</strong></p>
<pre>root@tstbox02:/mnt/DataDomain01/core# ls -lah
total 47G
drwxrwsr-x  2 root group 4.0K 2009-01-14 22:43 .
drwxr-xr-x 12 root group 4.0K 2009-04-02 10:28 ..
-rw-r--r--  1 root group 2.2M 2008-04-10 14:23 cmdb.core.26956.1207851782.gz
-rw-r--r--  1 root group 3.8M 2008-04-10 15:06 core.13124
-rw-r--r--  1 root group 121K 2008-04-08 07:01 ddfs.core.14547.1207652507.gz
-rw-------  1 root group 352K 2008-04-07 22:56 ddfs.core.15098.1207618361.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:30 ddfs.core.15100.1207747799.gz
-rw-r--r--  1 root group 167M 2008-04-08 10:37 ddfs.core.15125.1207665449.gz
-rw-r--r--  1 root group 167M 2008-04-08 10:38 ddfs.core.15505.1207665497.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:31 ddfs.core.15506.1207747848.gz
-rw-r--r--  1 root group 527M 2008-09-10 16:27 ddfs.core.1560.1221078099.gz
-rw-r--r--  1 root group 166M 2008-04-08 07:32 ddfs.core.15675.1207654304.gz
-rw-r--r--  1 root group 167M 2008-04-08 10:39 ddfs.core.15795.1207665554.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:32 ddfs.core.15813.1207747905.gz
-rw-r--r--  1 root group 636M 2008-07-28 15:20 ddfs.core.15991.1217272516.gz
-rw-r--r--  1 root group 167M 2008-04-08 10:40 ddfs.core.16055.1207665605.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:33 ddfs.core.16095.1207747957.gz
-rw-r--r--  1 root group 167M 2008-04-08 07:32 ddfs.core.18047.1207654349.gz
-rw-r--r--  1 root group 167M 2008-04-08 07:33 ddfs.core.18231.1207654404.gz
-rw-r--r--  1 root group 167M 2008-04-08 07:34 ddfs.core.18591.1207654458.gz
-rw-r--r--  1 root group 548M 2008-09-20 02:56 ddfs.core.22290.1221893385.gz
-rw-r--r--  1 root group 167M 2008-04-09 10:23 ddfs.core.22705.1207750958.gz
-rw-r--r--  1 root group 167M 2008-04-09 10:23 ddfs.core.22875.1207751006.gz
-rw-r--r--  1 root group 167M 2008-04-09 10:24 ddfs.core.23008.1207751055.gz
-rw-r--r--  1 root group 553M 2008-08-19 15:26 ddfs.core.23183.1219173638.gz
-rw-r--r--  1 root group 167M 2008-04-09 10:25 ddfs.core.23269.1207751113.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:06 ddfs.core.28347.1207746385.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:07 ddfs.core.28507.1207746432.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:08 ddfs.core.28694.1207746490.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:09 ddfs.core.28989.1207746540.gz
-rw-r--r--  1 root group 167M 2008-04-09 09:14 ddfs.core.29883.1207746837.gz
-rw-r--r--  1 root group 213M 2008-04-07 22:05 ddfs.gdb.15098.1207618361</pre>
<p><strong>Since I verified that we do not need the archived (.gz) files, they were removed</strong></p>
<pre>root@tstbox02:/mnt/DataDomain01/core# rm *.gz</pre>
<p><strong>By only retaining the newer files in this directory, the size is now down to 1.6 gigs.</strong></p>
<pre>root@tstbox02:/mnt/DataDomain01/core# ls -lah
total 1.6G
drwxrwsr-x  2 root group 4.0K 2009-04-15 14:29 .
drwxr-xr-x 12 root group 4.0K 2009-04-02 10:28 ..
-rw-r--r--  1 root group 3.8M 2008-04-10 15:06 core.13124
-rw-r--r--  1 root group 213M 2008-04-07 22:05 ddfs.gdb.15098.1207618361</pre>
<p>Once this was completed, the alert in this DataDomain cleared in the web interface.</p>
<div id="attachment_505" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-505" title="Data Domain Web Alert Cleared" src="http://colovirt.wordpress.com/files/2009/04/ddwebalertclear.jpg?w=300" alt="Data Domain Web Alert Cleared" width="300" height="43" /><p class="wp-caption-text">Data Domain Web Alert Cleared</p></div>
<p><strong>Notes:  Always verify files that are being removed are not needed.  If there are core files present, it generally means the system has hit an error.  Verify with your DataDomain support before modifying the ddvar filesystem</strong>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SMBFS vs CIFS]]></title>
<link>http://anezch.wordpress.com/2009/04/15/smbfs-vs-cifs/</link>
<pubDate>Wed, 15 Apr 2009 00:31:33 +0000</pubDate>
<dc:creator>anezch</dc:creator>
<guid>http://anezch.wordpress.com/2009/04/15/smbfs-vs-cifs/</guid>
<description><![CDATA[Beberapa tahun yang lalu, diperkenalkan CIFS (Common Internet File System) di Linux sebagai penggant]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Beberapa tahun yang lalu, diperkenalkan CIFS (Common Internet File System) di Linux sebagai pengganti SMBFS (Samba File System). Awalnya saya tidak tahu apa perbedaan antara keduanya, tapi yang pasti berdasarkan beberapa sumber yang dapat dipercaya, CIFS lebih baik dari SMBFS. Nah, di mana lebih baiknya saya juga kurang mengerti.</p>
<p>Jadi untuk solusi Linux+Dosemu+FoxPro+SMBFS, saya rubah menjadi Linux+Dosemu+FoxPro+CIFS. Perubahan ini tidak saya lakukan menyeluruh untuk melihat di mana letak perbedaannya, dan sejauh mana peningkatan kedua File System ini. Kondisi yang ada saat ini, beberapa komputer menggunakan CIFS, dan yang lain menggunakan SMBFS. Perlu diketahui juga bahwa salah satu alasan yang memperkuat saya untuk migrasi ke CIFS di beberapa komputer adalah kenyataan bahwa di Ubuntu versi terbaru (Gutsy ke atas) solusi Linux+Dosemu+FoxPro+SMBFS tidak bekerja. Files yang di-mount dengan SMBFS tidak dapat di-write di Dosemu.</p>
<p>Lalu worst case pun terjadi, anehnya, kasus-kasus bermunculan tidak langsung muncul pada saat saya merubah dari SMBFS ke CIFS. Kasus-kasus pun munculnya secara acak baik waktu, program, dan database. Saya sempat frustasi beberapa bulan karena masalah ini.</p>
<p>Akhirnya saya melakukan test, yang saya coba se-sistematik mungkin. Saya melakukan test perbandingan terhadap files yang di-mount dengan SMBFS dan CIFS. Hasilnya pun kemudian memberikan pencerahan yang luar biasa (untuk saya).</p>
<p>Hasil dari test menunjukkan bahwa CIFS memang lebih baik dari SMBFS dalam hal Locking. Artinya, mekanisme Locking di FoxPro dapat berjalan dengan baik. Tapi, kelemahannya adalah isi record / file tidak langsung ter-update saat ada perubahan oleh user lain. Ini fatal sekali. Meskipun sudah dilakukan prosedur locking sesuai standar, file tidak ter-update. Apabila file di buka ulang, barulah update dari user lain terlihat.</p>
<p>Berbeda dengan SMBFS, mekanisme Locking di FoxPro tidak dapat dilakukan. Meskipun file / record di-lock, user lain tetap dapat melakukan lock di file / record yang sama. Namun, update file dapat terlihat secara instant oleh user lain. Ini tentunya setelah saya modifikasi smb.conf untuk mematikan Op-Lock terhadap files database.</p>
<p>Langkah selanjutnya adalah merubah semua komputer untuk menggunakan SMBFS. Tapi masalahnya untuk komputer dengan sistem operasi Ubuntu Gutsy, Hardy, Intrepid tidak dapat menggunakan SMBFS. Maka solusinya adalah dengan mengganti sistem operasi dengan Ubuntu versi sebelumnya (downgrade) atau menggunakan Distro lain.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[munin и дырки в графиках df]]></title>
<link>http://accidentaladmin.wordpress.com/2009/04/06/munin-%d0%b8-%d0%b4%d1%8b%d1%80%d0%ba%d0%b8-%d0%b2-%d0%b3%d1%80%d0%b0%d1%84%d0%b8%d0%ba%d0%b0%d1%85-df/</link>
<pubDate>Mon, 06 Apr 2009 20:01:24 +0000</pubDate>
<dc:creator>accidentaladmin</dc:creator>
<guid>http://accidentaladmin.wordpress.com/2009/04/06/munin-%d0%b8-%d0%b4%d1%8b%d1%80%d0%ba%d0%b8-%d0%b2-%d0%b3%d1%80%d0%b0%d1%84%d0%b8%d0%ba%d0%b0%d1%85-df/</guid>
<description><![CDATA[В порте munin-node под FreeBSD в модулях df и df_inode кто-то забыл проигнорировать smbfs и cifs. (в]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>В порте munin-node под FreeBSD в модулях df и df_inode кто-то забыл проигнорировать smbfs и cifs. (вместо этого почему-то грепом фильтруются строчки с &#8220;//&#8221;, что странно и глупо.</p>
<p>В результате по куче причин df может окончиться таймаутом, и в графике появится дырка, а на почту прилетит тревожное уведомление.</p>
<p>Чтобы исправить надо в /usr/local/share/munin/plugins/df и df_inode <em>в двух местах</em> добавить smbfs в игнор:</p>
<blockquote><p>/bin/df -P -t noprocfs,devfs,fdescfs,linprocfs,nfs,smbfs &#124; tail +2 &#124; grep -v &#8220;//&#8221; &#124; while read i; do</p></blockquote>
<p>grep можно убрать.</p>
<p>Ноду рестартовать после этого не нужно.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Open Solaris als Fileserver]]></title>
<link>http://mmader.wordpress.com/2009/03/30/open-solaris-als-fileserver/</link>
<pubDate>Mon, 30 Mar 2009 19:05:00 +0000</pubDate>
<dc:creator>mmader</dc:creator>
<guid>http://mmader.wordpress.com/2009/03/30/open-solaris-als-fileserver/</guid>
<description><![CDATA[Open Heise hat ein sehr interessantes HowTo zum Thema &#8220;Open Solaris als Fileserver&#8221; verö]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.heise.de/open/">Open Heise </a>hat ein sehr interessantes HowTo zum Thema &#8220;Open Solaris als Fileserver&#8221; veröffentlicht. Hier wird Schritt für Schritt erklärt wie man einen FileServer unter Open Solaris aufsetzt, zum Einsatz kommt ein Softwareraid der Kategorie 5 (Mirroring+Parity) unter Verwendung von handelsüblichen Desktop-Komponenten. Der Server fällt also unter die Kategorie &#8220;Bezahlbar&#8221; und hat mit Open Solaris 2008.11 sogar ein kostenloses Betriebssystem. Die Leistungsdaten sind beeindruckend und mit ZFS als Dateisystem kann ein solcher Fileserver selbst teuren Komplettlösungen paroli bieten.</p>
<p>Weitere Infos unter:<br /><a href="http://www.heise.de/open/OpenSolaris-als-Fileserver--/artikel/119995">Open Solaris als Fileserver HowTo</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Things that Apple Needs to Improve]]></title>
<link>http://gcleric.wordpress.com/2009/03/06/things-that-apple-needs-to-improve/</link>
<pubDate>Fri, 06 Mar 2009 12:16:22 +0000</pubDate>
<dc:creator>gcleric</dc:creator>
<guid>http://gcleric.wordpress.com/2009/03/06/things-that-apple-needs-to-improve/</guid>
<description><![CDATA[For the record I&#8217;m primarily a Linux user I run linux on my work laptop, home workstation and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>For the record I&#8217;m primarily a Linux user I run linux on my work laptop, home workstation and server. I&#8217;ve always admired Mac&#8217;s from a far and secretly wanted one, though I never confessed this to my fellow linux friends. About a week ago I purchased my first Mac a shinny new MacBook and so far I&#8217;ve enjoyed getting familiar with it &#8211; but&#8230; Along the way I&#8217;ve found a few things that I think that Apple needs to improve on. They are as follows.</p>
<ul>
<li>Network Share Mapping/Mounting &#8211; This really needs to improve. I mean SMB/CIFS shares have been around for what 15+ years and &#8220;Go -&#62; Connect to Server&#8221; is the best that Apple can muster!?! Even linux does a better job.</li>
</ul>
<ul>
<li>Make and Sell Real docking stations (revolutionary in design) &#8211; The Bookendz docks for MacBooks and Macbook Pro&#8217;s are fugly and from an aesthetic perspective do not go with the beauty that Mac&#8217;s are. Apple should really look at developing something that uses <a href="http://is.gd/eYBQ">magnetic induction charging</a> and wirelessly interfaces with the dock that USB/Firewire devices and Speakers are connected to. No one wants to fuss with the cable mess that Macbooks offer when going between home and work.</li>
</ul>
<ul>
<li>Develop an email client that interfaces with Exchange. Sorry Apple but Microsoft has won in the corporate environment with Exchange. This was grasped when developing the iPhone but lost with OS X. Asking customers to pay another $100 to buy Microsoft office to get Entourage on top of their already expensive apple computer is a bitter pill.</li>
</ul>
<p>Just food for though from a new Mac user.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Empezamos el trabajo]]></title>
<link>http://loslunesalfresco.wordpress.com/2009/02/26/empezamos-el-trabajo/</link>
<pubDate>Thu, 26 Feb 2009 23:30:22 +0000</pubDate>
<dc:creator>elhombrequepensabademasiado</dc:creator>
<guid>http://loslunesalfresco.wordpress.com/2009/02/26/empezamos-el-trabajo/</guid>
<description><![CDATA[Ya era hora de poder librarnos de los examenes y poder ponernos a cacharrear con el señorito Alfresc]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ya era hora de poder librarnos de los examenes y poder ponernos a cacharrear con el señorito Alfresco, en un primer momento nos a costado asentarlo en el ordenador, problemas con los conectores, con la base de datos, etc , etc</p>
<p><img class="aligncenter size-medium wp-image-16" title="alfresco" src="http://loslunesalfresco.wordpress.com/files/2009/02/alfresco-color-logo.jpg?w=300" alt="alfresco" width="300" height="91" /></p>
<p>Ya sabeis que todas estas cosas son de tirar de manual a piñon pero bueno, por fin he podido instalarlo hacer un vuelo mas o menos en profundidad sobre el entorno y empaparme del aroma al que voy a oler durante muchos dias seguidos. Al que no sepa que es alfresco , le dire que es un CMS, ~~ , vale que no sabeis que es un CMS pos yo llamo a papa google y a mama wikipedia y en dos momentos explicado.</p>
<blockquote><p><em>Un <strong>Sistema de gestión de contenidos</strong> (</em><em><strong>Content Management System</strong> en inglés, abreviado <strong>CMS</strong>) es un programa que permite crear una estructura de soporte (<a title="Framework" href="http://es.wikipedia.org/wiki/Framework">framework</a>) para la creación y administración de contenidos, principalmente en páginas <a title="Web" href="http://es.wikipedia.org/wiki/Web">web</a>, por parte de los participantes.</em></p>
<p><em>Consiste en una interfaz que controla una o varias <a title="Base de datos" href="http://es.wikipedia.org/wiki/Base_de_datos">bases de datos</a> donde se aloja el contenido del sitio. El sistema permite manejar de manera independiente el contenido y el diseño. Así, es posible manejar el contenido y darle en cualquier momento un diseño distinto al sitio sin tener que darle formato al contenido de nuevo, además de permitir la fácil y controlada publicación en el sitio a varios editores. Un ejemplo clásico es el de editores que cargan el contenido al sistema y otro de nivel superior (directorio) que permite que estos contenidos sean visibles a todo el público (los aprueba).</em></p></blockquote>
<p>By Wikipedia (<a href="http://es.wikipedia.org/wiki/CMS">CMS</a>)</p>
<p>Y por si esto fuera poco os dejo un enlace muy interesante y obligatorio para la utilizacion de Alfresco, es su definicion y un poco de historia general, todo ello otorgado por mami, jejeje</p>
<blockquote><p><em><strong>Alfresco</strong> es un sistema de administración de contenidos de código libre / abierto, basado en estándares abiertos y de escala empresarial para <a class="mw-redirect" title="Windows" href="http://es.wikipedia.org/wiki/Windows">Windows</a> y sistemas operativos similares a <a title="Unix" href="http://es.wikipedia.org/wiki/Unix">Unix</a>. Está diseñado para usuarios que requieren un alto grado de modularidad y rendimiento escalable. Alfresco incluye un repositorio de contenidos, un framework de portal web para administrar y usar contenido estándar en portales, una interfaz CIFS que provee compatibilidad de sistemas de archivos en Windows y sistemas operativos similares a Unix, un sistema de administración de contenido web capacidad de virtualizar aplicaciones web y sitios estáticos vía Apache Tomcat, búsquedas vía el motor Lucene y flujo de trabajo en jBPM. Alfresco está desarrollado en <a title="Java" href="http://es.wikipedia.org/wiki/Java">Java</a>.</em></p></blockquote>
<p>By <a href="http://es.wikipedia.org/wiki/Alfresco" target="_blank">Mami</a></p>
<p>Me gustaria subiros un dia de estos un video titulado <em>&#8220;Alfresco en una hora&#8221;</em> muy interesante para saber lo que realmente se puede hacer con este Gestor de Contenidos.</p>
<div id="toctitle"><span class="toctoggle"></span></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Howto: Mount a Windows share on SLES linux using cifs]]></title>
<link>http://thebackroomtech.com/2009/02/19/howto-mount-a-windows-share-on-sles-linux-using-cifs/</link>
<pubDate>Thu, 19 Feb 2009 17:42:30 +0000</pubDate>
<dc:creator>Julie</dc:creator>
<guid>http://thebackroomtech.com/2009/02/19/howto-mount-a-windows-share-on-sles-linux-using-cifs/</guid>
<description><![CDATA[This post is mainly for my own benefit.  I mount Windows shares on my SuSE linux box so infrequently]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This post is mainly for my own benefit.  I mount Windows shares on my SuSE linux box so infrequently, I have to dig through past notes to remind myself what the syntax is.</p>
<p>To mount a Windows share on SLES linux using cifs:</p>
<p><!--StartFragment--><em>mount -t cifs -o username=jsmith //po5/gwdompri /mnt/po5/gwdompri</em></p>
<div>where:</div>
<ul>
<li><em>jsmith</em> is the user account to authenticate as</li>
<li><em>//po5/gwdompri</em> is the Windows server and share you wish to mount</li>
<li><em>/mnt/po5/gwdompri</em> is the location to mount the share, or where you access it on the local Linux box.</li>
</ul>
<div>Note:</div>
<ul>
<li> you will be prompted for the password </li>
<li><em>/mnt/po5/gwdompri</em> must exist</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[CIFS Acceleration White Paper Available]]></title>
<link>http://replifyblog.com/2009/02/02/cifs-acceleration-white-paper-available/</link>
<pubDate>Mon, 02 Feb 2009 13:29:47 +0000</pubDate>
<dc:creator>replifyeditor</dc:creator>
<guid>http://replifyblog.com/2009/02/02/cifs-acceleration-white-paper-available/</guid>
<description><![CDATA[Replify is delighted to make available our new White Paper to our blog readers. Click here to get th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Replify is delighted to make available our new White Paper to our blog readers.</p>
<p>Click here to get the latest <a title="New CIFS White Paper from Replify" href="http://replifyblog.files.wordpress.com/2009/02/cifspaper.pdf" target="_blank"><strong>Replify White Paper on CIFS Acceleration Using Replify&#8217;s Reptor</strong></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Blue Coat Networks Training: Cincinnati, OH]]></title>
<link>http://frazierdavidson.wordpress.com/2009/10/15/blue-coat-networks-training-cincinnati-oh/</link>
<pubDate>Thu, 15 Oct 2009 18:37:02 +0000</pubDate>
<dc:creator>frazierdavidson</dc:creator>
<guid>http://frazierdavidson.wordpress.com/2009/10/15/blue-coat-networks-training-cincinnati-oh/</guid>
<description><![CDATA[&#8220;The Blue Coat ProxySG family of appliances is part of the Application Delivery Network (ADN),]]></description>
<content:encoded><![CDATA[&#8220;The Blue Coat ProxySG family of appliances is part of the Application Delivery Network (ADN),]]></content:encoded>
</item>
<item>
<title><![CDATA[Enterprise Computing: Symantec FileStore]]></title>
<link>http://thestoragearchitect.wordpress.com/2009/10/05/enterprise-computing-symantec-filestore/</link>
<pubDate>Mon, 05 Oct 2009 08:32:22 +0000</pubDate>
<dc:creator>Chris Evans</dc:creator>
<guid>http://thestoragearchitect.wordpress.com/2009/10/05/enterprise-computing-symantec-filestore/</guid>
<description><![CDATA[Today Symantec are announcing their scalable NAS product called FileStore.  This simple appliance cl]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://thestoragearchitect.wordpress.com/files/2009/10/symantec1.png"><img class="size-full wp-image-755 alignleft" style="margin:5px;" title="Symantec1" src="http://thestoragearchitect.wordpress.com/files/2009/10/symantec1.png" alt="Symantec1" width="211" height="76" /></a>Today <a href="http://www.symantec.com/index.jsp">Symantec</a> are announcing their scalable NAS product called <strong>FileStore</strong>.  This simple appliance claims to offer linear scaling for up to <strong>2PB</strong> of storage per cluster, leveraging all the benefits of the Veritas storage products we&#8217;ve come to know and love over the years.  But what chance has this competitor in a crowded market?</p>
<p>Have a look a the graphic on the right.  This pretty much sums up what FileStore is about &#8211; it&#8217;s an appliance serving standard file system protocols (<strong>NFS/CIFS/FTP/HTTP</strong>) using whatever storage you choose to place at the back end.  Up to 16 &#8216;nodes&#8217; can be clustered together, working as a single load-balanced entity.  Each node uses commodity x86 hardware.</p>
<p><a href="http://thestoragearchitect.wordpress.com/files/2009/10/filestore1.png"><img class="alignright size-medium wp-image-756" style="margin:5px;" title="FileStore1" src="http://thestoragearchitect.wordpress.com/files/2009/10/filestore1.png?w=300" alt="FileStore1" width="300" height="160" /></a>OK, so these features offer nothing special so far.  However, Symantec are using their <strong>Veritas heritage</strong> to provide some useful functionality into the product.  Firstly, nodes can be added and removed transparently, including the addition of nodes at higher specifications and O/S levels.  This means the technology can easily be refreshed over time; a painful scenario that most storage admins don&#8217;t like to have to go through.  Replacing storage is also simple as FileStore uses the Veritas File System under the covers.  Think of how a &#8216;plex&#8217; can be replaced on a VFS today &#8211; add a new plex from the new storage, mirror these up and remove the old plex &#8211; voila!, transparent migration.</p>
<p>There&#8217;s also the option of tiering storage at the <strong>file level</strong>, another benefit of using VFS.  Individual files can be mapped to tiers of storage based on customer-defined policies, which provides the exact level of granularity needed.</p>
<p>What about scale?  Well, Symantec claim linear scalability and a <strong><a href="http://www.spec.org/sfs2008/">SPEC SFS</a></strong> rating that will exceed the ones posted by Netapp.  These figures aren&#8217;t available yet but when they are will make interesting reading.  Finally there&#8217;s the thorny subject of the existing customer base.  Symantec claim to have been using FileStore to support their SaaS online backup service for the last 3 years.  This stores around <strong>40PB</strong> of data for <strong>9 million</strong> users.  In addition, there are large customers around the world already using FileStore, including <a href="http://www.taobao.com">TaoBao</a> in China.</p>
<p>OK, it can&#8217;t all be good news.  What marketing slides tend not to show are the little details that matter, such as management interfaces and feature sets.  I&#8217;ve not seen details on what other functionality is available with FileStore - snapshots, replication, de-duplication, compression, encryption all come to mind.  However with a starting price of <strong>$6995</strong> for a 2-node 2-socket system, do many of those features matter?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Conexiones "lentas" al servidor SAMBA]]></title>
<link>http://insanecrew.wordpress.com/2009/09/29/conexiones-lentas-al-servidor-samba/</link>
<pubDate>Tue, 29 Sep 2009 15:36:11 +0000</pubDate>
<dc:creator>bersuitvera</dc:creator>
<guid>http://insanecrew.wordpress.com/2009/09/29/conexiones-lentas-al-servidor-samba/</guid>
<description><![CDATA[Cuando intento conectar desde un cliente XP(tm) a un recurso compartido de Samba, el tiempo de respu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Cuando intento conectar desde un cliente XP(tm) a un recurso compartido de <a href="http://www.samba.org">Samba</a>, el tiempo de respuesta es terriblemente lento (entre 20-40s para mostrar el share), este tiempo se agrava cuando nuestro servidor samba y los clientes no están en la misma red y la &#8220;electrónica de red&#8221;  es complicada.</p>
<p style="text-align:justify;">Encontré la solución en este <a href="http://fixunix.com/mandriva/399137-very-slow-connection-samba-server.html">post</a>. que viene a decir que cuando un cliente XP intenta conectar con un recurso compartido, no lo hace mediante <a href="http://www.megaupload.com/?d=6CLGZ7ZR http://www.megaupload.com/?d=5NN0R8W1 http://www.megaupload.com/?d=P90N6TSX http://www.megaupload.com/?d=JXG8KXNW http://www.megaupload.com/?d=1AQ7GSQA http://www.megaupload.com/?d=E4V3V7M4 http://www.megaupload.com/?d=JXWTMGOX http://www.megaupload.com/?d=DWI0LPA3 http://www.megaupload.com/?d=JHWCI4R2 http://www.megaupload.com/?d=WYTCAG3V http://www.megaupload.com/?d=2PI3LVN2 http://www.megaupload.com/?d=USGJV5RM http://www.megaupload.com/?d=US8TQANN http://www.megaupload.com/?d=SEP4AL6X http://www.megaupload.com/?d=TIEIKTTB">SMB/CIFS</a> sino que lo intenta primero por <a href="http://es.wikipedia.org/wiki/WebDAV">WebDAV</a> y una vez que no ha tenido resultado intenta el SMB. ¡ No me lo puedo creer! ¡ Cáspita!. Vamos a comprobarlo &#8220;logeando&#8221; el tráfico entre el cliente XP y el servidor samba, efectivamente nuestro amigo intenta primero una conexión por el puerto 80.</p>
<p style="text-align:justify;">Si en nuestro cortafuegos no  hacemos un REJECT explícitamente cuando el cliente XP intenta la conexión al 80 se realiza un DROP (por defecto), por lo que el cliente XP no recibe una negación y espera a agotar el timeout para lo conexión WebDAV antes de intentar el SMB. Denegando explicitamente con REJECT las conexiones al puerto 80 de nuestro servidor samba, ya sea con iptables o con nuestro cortafuegos favorito, conseguiremos reducir ostensiblemente los tiempos de conexión.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Mount windows network drive on linux]]></title>
<link>http://spikomoko.wordpress.com/2009/09/12/mount-windows-network-drive-on-linux/</link>
<pubDate>Sat, 12 Sep 2009 15:45:37 +0000</pubDate>
<dc:creator>spikomoko</dc:creator>
<guid>http://spikomoko.wordpress.com/2009/09/12/mount-windows-network-drive-on-linux/</guid>
<description><![CDATA[mount -t cifs //{server}/{share name} -o username={username},password={password} {mount folder} You ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><code>mount -t cifs //{server}/{share name} -o username={username},password={password} {mount folder}</code></p>
<blockquote><p>You may find that some other sites that instruct you to use smbfs as the file system. Please not that smbfs is outdated and please use cifs instead.</p></blockquote>
</div>]]></content:encoded>
</item>

</channel>
</rss>
