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

<channel>
	<title>WiredRevolution.com &#187; mount</title>
	<atom:link href="http://www.wiredrevolution.com/tag/mount/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Sat, 22 May 2010 16:03:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Share a remote filesystem over SSH</title>
		<link>http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh</link>
		<comments>http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh#comments</comments>
		<pubDate>Wed, 25 Mar 2009 12:25:24 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[system administration]]></category>
		<category><![CDATA[/etc/fstab]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[fusermount]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[remote filesystem]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[shared filesystem]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSHFS]]></category>
		<category><![CDATA[sshfs-fuse]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1028</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>You may already be familiar with NFS and Samba for sharing files over a network. While these are both great distributed filesystem solutions, they require extra configuration and setup overhead in order to get them to work. If you want quick and easy access to a remote filesystem then SSHFS may be your best shot.
SSHFS [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>You may already be familiar with <strong>NFS</strong> and <strong>Samba</strong> for sharing files over a network. While these are both great distributed filesystem solutions, they require extra configuration and setup overhead in order to get them to work. If you want quick and easy access to a remote filesystem then <strong>SSHFS</strong> may be your best shot.</p>
<p>SSHFS (Secure SHell FileSystem) is a file system for Linux capable of operating on files on a remote computer using just a secure shell login. It is based on sftp (SSH File Transfer Protocol).  Setup is easy on the server side, since most servers support SSH out of the box there is nothing to do.  On the client side, mounting the filesystem is as easy as logging in with SSH. The end user can seamlessly and securely interact with remote files as if they were local to your machine.</p>
<p><strong>Advantages of SSHFS over NFS/Samba</strong>:</p>
<ul>
<li>Utilizes SSH and is therefore very secure.</li>
<li>Allows secure access to remote filesystems outside of your local network.</li>
<li>Requires no special configuration on the server side.</li>
</ul>
<p><strong>Disadvantages</strong>:</p>
<ul>
<li>Slightly slower, although the difference is fairly small.</li>
<li>Does not show filesystem usage statistics.</li>
<li>Requires a user account on the server side.</li>
<li>Not a true distributed file system, single point to point sharing.</li>
</ul>
<p>
<h3>Setup</h3>
<p></p>
<p>The first step is to install SSHFS.</p>
<p>In Ubuntu:</p>
<pre>
$ sudo apt-get install sshfs
</pre>
<p>or in Gentoo:</p>
<pre>
$ sudo emerge -av sshfs-fuse
</pre>
<p>Create the mount point on your local machine. This is where you are going to access the remote filesystem.</p>
<pre>
$ sudo mkdir /mnt/share
</pre>
<p>Your user must have permission to access this mountpoint.</p>
<pre>
$ sudo chown ryan /mnt/share
</pre>
<p>
<h3>Start Sharing</h3>
<p></p>
<p>Now use the sshfs command to mount the remote filesystem. If the username is different on the server you are connecting, use the &#8220;username@host:&#8221; format, otherwise you can simply specify &#8220;host:&#8221;. </p>
<pre>
$ sshfs ryan@fileserver:/remote/share /mnt/share
</pre>
<p>If you are not using keys with SSH you will be prompted for a password.</p>
<pre>
ryan@fileserver's password:
</pre>
<p>Once you are finished you can easily unmount the filesystem.</p>
<p>as regular user:</p>
<pre>
$ fusermount -u /mnt/share
</pre>
<p>or as root:</p>
<pre>
$ sudo umount /mnt/share
</pre>
<p>
<h3>Configuration</h3>
<p></p>
<p>You can add an entry for this share to <strong>/etc/fstab</strong> to make the mounting process more seamless.</p>
<pre>
sshfs#ryan@fileserver:/remote/share /mnt/share fuse user,noauto 0 0
</pre>
<p><strong>user</strong> &#8211; allow any user to mount this share.<br />
<strong>noauto</strong> &#8211; stop the shared directory from being automatically mounted at startup. </p>
<p>If you want it automatically mounted, ensure that your SSH configuration uses keys and not passwords so it doesn&#8217;t ask for a password at startup. Once keys are in use you can safely remove the noauto option.</p>
<p>With fstab updated you can now mount the share as a normal user with this simple mount command. Again, if ssh is configured to use passwords you will still be prompted for one.</p>
<pre>
$ mount /mnt/share
</pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to mount an ISO disk image</title>
		<link>http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image</link>
		<comments>http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image#comments</comments>
		<pubDate>Thu, 12 Mar 2009 17:48:40 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[system administration]]></category>
		<category><![CDATA[CD]]></category>
		<category><![CDATA[disk image]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[loopback]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[mount point]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=991</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>An ISO image is an archive file (disk image) of an optical disc using a conventional ISO (International Organization for Standardization) format. ISO image files typically have a file extension of .ISO.
Many times is convenient to mount an ISO file directly instead of burning it to a CD first. Not only does this save on [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>An ISO image is an archive file (disk image) of an optical disc using a conventional ISO (International Organization for Standardization) format. ISO image files typically have a file extension of .ISO.</p>
<p>Many times is convenient to mount an ISO file directly instead of burning it to a CD first. Not only does this save on wasted CDs/DVDs, but allows much faster access to the ISO since it is on the hard disk itself.</p>
<p>Create the directory or mount point for the ISO.</p>
<pre>
$ sudo mkdir -p /mnt/disk
</pre>
<p>Use the mount command to mount the ISO</p>
<pre>
$ sudo mount -o loop disk_image.iso /mnt/disk
</pre>
<p>A loop device is a pseudo-device that makes a file accessible as a block device. You can now access the files within the ISO as you would a normal disk at the mount point &#8216;/mnt/disk&#8217;.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skip network filesystems when searching with find</title>
		<link>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find</link>
		<comments>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find#comments</comments>
		<pubDate>Mon, 19 Jan 2009 16:45:06 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[system administration]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[network filesystem]]></category>
		<category><![CDATA[shared filesystem]]></category>
		<category><![CDATA[xdev]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=932</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>When you run the find command on the root directory of a system you may want to exclude all network filesystems and confine your search to only your local machine.  The benefits of this are obvious as it will save you a great amount of time especially if the mounted filesystem is very large.
Luckily [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>When you run the <strong>find</strong> command on the root directory of a system you may want to exclude all network filesystems and confine your search to only your local machine.  The benefits of this are obvious as it will save you a great amount of time especially if the mounted filesystem is very large.</p>
<p>Luckily the find command provides this ability with the &#8216;<strong>-xdev</strong>&#8216; or &#8216;<strong>-mount</strong>&#8216; options.</p>
<p>For example:</p>
<pre>
$ find / -xdev -name myfile.txt
</pre>
<p>This command will recursively search for myfile.txt starting in your root directory and skip all externally mounted filesystems.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
