<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Linux stuff</title>
		<description><![CDATA[Random bits of knowledge gathered over the years. Mostly IT related, but recipes etc will do, too.]]></description>
		<link>https://dynamic.bubbakraut.com/linuxstuff</link>
		<lastBuildDate>Thu, 14 Jan 2021 10:19:14 +0100</lastBuildDate>
		<generator>Joomla! - Open Source Content Management</generator>
		<atom:link rel="self" type="application/rss+xml" href="https://dynamic.bubbakraut.com/linuxstuff?format=feed&amp;type=rss"/>
		<language>en-gb</language>
		<managingEditor>admin@bubbakraut.com (BubbaKraut.com)</managingEditor>
		<item>
			<title>Resizing an iSCSI EXT3 disk, partition, and file system</title>
			<link>https://dynamic.bubbakraut.com/linuxstuff/30-resizing-a-ext3-disk-and-partition</link>
			<guid isPermaLink="true">https://dynamic.bubbakraut.com/linuxstuff/30-resizing-a-ext3-disk-and-partition</guid>
			<description><![CDATA[<p>A client of mine uses an iSCSI target to back up databases on Oracle Enterprise Linux production machines.</p>
<p>Great concept - until the disk runs out of space and the admins want to take down the server to fix that. Ahum? Take the server offline for a backup drive? Come on, there's got to be a better way. And there is.</p>
]]></description>
			<author>admin@bubbakraut.com (Sven Jambor)</author>
			<category>Linux stuff</category>
			<pubDate>Wed, 26 Sep 2012 15:26:22 +0200</pubDate>
		</item>
		<item>
			<title>Add Disk by UUID</title>
			<link>https://dynamic.bubbakraut.com/linuxstuff/26-how-to-add-a-disk-using-its-identifier-in-ubuntu</link>
			<guid isPermaLink="true">https://dynamic.bubbakraut.com/linuxstuff/26-how-to-add-a-disk-using-its-identifier-in-ubuntu</guid>
			<description><![CDATA[<h3>List all UUIDs</h3>
<p>Use blkid command-line utility to locate/print block device attributes:<br /> <code>$ sudo blkid</code><br /> Sample output:</p>
<pre>/dev/sda1: TYPE="ntfs" UUID="A0F0582EF0580CC2"
/dev/sda2: UUID="8c2da865-13f4-47a2-9c92-2f31738469e8" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: TYPE="swap" UUID="5641913f-9bcc-4d8a-8bcb-ddfc3159e70f"
/dev/sda5: UUID="FAB008D6B0089AF1" TYPE="ntfs"
/dev/sdb1: UUID="32c61b65-f2f8-4041-a5d5-3d5ef4182723" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb2: UUID="41c22818-fbad-4da6-8196-c816df0b7aa8" SEC_TYPE="ext2" TYPE="ext3" </pre>
<h3>How do I use UUID to update /etc/fstab file?</h3>
<p>Simply use following syntax:</p>
<pre>UUID={YOUR-UID}    {/path/to/mount/point}               {file-system-type}    defaults,errors=remount-ro 0       1</pre>
<p>Open /etc/fstab:<br /> <code>$ sudo vi /etc/fstab</code><br /> Append line as follows:</p>
<pre>UUID=41c22818-fbad-4da6-8196-c816df0b7aa8  /disk2p2      ext3    defaults,errors=remount-ro 0       1</pre>
<p>Save and close the file. To mount new partition immediately using /etc/fstab type:<br /> <code>$ sudo mount -a</code></p>]]></description>
			<author>admin@bubbakraut.com (Sven Jambor)</author>
			<category>Linux stuff</category>
			<pubDate>Thu, 27 Oct 2011 16:40:23 +0200</pubDate>
		</item>
		<item>
			<title>Dedupe, dude!</title>
			<link>https://dynamic.bubbakraut.com/linuxstuff/25-opendedupe-installation-on-openfiler-23</link>
			<guid isPermaLink="true">https://dynamic.bubbakraut.com/linuxstuff/25-opendedupe-installation-on-openfiler-23</guid>
			<description><![CDATA[<p>(2) Install RPM modules on OpenFiler<br />      - conary update <a href="mailto:beecrypt=contrib.rpath.org@rpl:devel">beecrypt=contrib.rpath.org@rpl:devel</a><br />      - conary update <a href="mailto:rpm=rpm.rpath.org@rpl:devel/4.4.4">rpm=rpm.rpath.org@rpl:devel/4.4.4</a></p>
<p> </p>
<p>Mayno above not needed. Three ingredients: Java, Fuse &amp; SDFS package itself</p>
<p>Goto <a href="http://jdk7.java.net/download.html">http://jdk7.java.net/download.html</a> and find the link for JRE or JDK. Copy the link shortcut to clipboard.</p>
<p>On console, do wget &lt;link to jdk&gt;</p>
<p>unpack archive: </p>
<p>move to /usr/lib/jvm/jdk1.7.0_02</p>
<p>export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_02</p>
<p>nano -w /etc/security/limits.conf</p>
<p> </p>
<p> </p>
<p> </p>
<p>need C compiler to compile sdfs; so:</p>
<p>conary update gcc<br />conary update libtool<br />conary update glib:devel<br />conary update glibc:devel<br />conary update automake<br />conary update autoconf<br />conary update pkgconfig</p>
<p>cd into unpacked fuse directory (sdfs_fuse_2.8.4/fuse_src_sdfs-2.8.4) and do</p>
<p>./configure<br />make<br />make install<br />modprobe fuse</p>
<p>Add '/usr/local/lib' to '/etc/ld.so.conf' and run ldconfig.</p>
<p> Download and unpack SDFS</p>
<p>tar -xzg sdfs-1.1.0.tar.gz</p>
<p> </p>
<p> </p>
<p>=&gt; problem with Glibc version</p>
<p>https://forums.openfiler.com/viewtopic.php?id=6015</p>
<p> </p>
<p> </p>
<p> </p>]]></description>
			<author>admin@bubbakraut.com (Sven Jambor)</author>
			<category>Linux stuff</category>
			<pubDate>Wed, 26 Oct 2011 14:07:51 +0200</pubDate>
		</item>
	</channel>
</rss>
