<?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>BFC Computing</title>
	<atom:link href="http://www.bfccomputing.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bfccomputing.com</link>
	<description>Better, Faster, Cheaper - Pick all three!</description>
	<lastBuildDate>Thu, 29 Dec 2011 05:18:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Zero a GPT Label Using dd</title>
		<link>http://www.bfccomputing.com/2011/12/15/zero-a-gpt-label-using-dd/</link>
		<comments>http://www.bfccomputing.com/2011/12/15/zero-a-gpt-label-using-dd/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 23:44:55 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://bfccomputing.wordpress.bfccomputing.com/?p=5074</guid>
		<description><![CDATA[When re-using a disk with a GPT label (GUID Partition Table) it&#8217;s important to wipe the label stored on both the first and last blocks of the device. With an MBR Partition Table it was easy enough to just nuke the beginning of the drive (adapt sdz for your drive), ala: dd if=/dev/zero of=/dev/sdz bs=1M [...]]]></description>
			<content:encoded><![CDATA[<p>When re-using a disk with a GPT label (<a href="http://en.wikipedia.org/wiki/GUID_Partition_Table">GUID Partition Table</a>) it&#8217;s important to wipe the label stored on both the first and last blocks of the device.</p>
<p>With an <a href="http://en.wikipedia.org/wiki/Master_boot_record#Disk_partitioning">MBR Partition Table</a> it was easy enough to just nuke the beginning of the drive (adapt sd<strong>z</strong> for <em>your</em> drive), ala:</p>
<pre style="padding-left: 30px;">dd if=/dev/zero of=/dev/sd<strong>z</strong> bs=1M count=1</pre>
<p>and be on your way.  Wouldn&#8217;t it be lovely if dd understood negative indexing and you could just say:</p>
<pre style="padding-left: 30px;">dd if=/dev/zero of=/dev/sd<strong>z</strong> bs=1M count=-1</pre>
<p>and be done?   Alas, it&#8217;s not meant to be.</p>
<p>One way to do this is to simply use &#8216;dd&#8217; to write zeroes to the entire device:</p>
<pre style="padding-left: 30px;">dd if=/dev/zero of=/dev/sd<strong>z</strong> bs=8M</pre>
<p>This is entirely effective, but with today&#8217;s 2-3TB drives, this can take quite a while.  You can start it and go home for the night, but if you&#8217;re not paying attention, a dd that doesn&#8217;t finish can cause you frustration and embarrassment.  Since we only need to write 34 512-byte blocks, really what we need to do is to calculate the size of the drive and find the correct blocks to overwrite.</p>
<p>In the recent past, people will have told you to run fdisk, look for the cylinder/heads/sectors/clusters information, apply a mathematical transform, and plug that into &#8216;dd&#8217;.  Besides being a pain, fdisk doesn&#8217;t even claim to support disks over 3TB.  Before the floods, those were becoming quite common.</p>
<p>Fortunately, Linux&#8217;s sysfs will report a block device&#8217;s size, conveniently in 512-byte block units (though that&#8217;s not necessarily obvious in context).  For instance:</p>
<pre style="padding-left: 30px;"># cat /sys/block/sd<strong>z</strong>/size
3907029168</pre>
<p>shows me a 2TB disk&#8217;s actual size. I&#8217;ve looked at a 3TB disk, and fortunately (for now at least), even though the drive really uses 4k blocks, linux is still reporting in terms of 512-byte blocks.  This helps since GPT size is defined in terms of 512-byte blocks, but I wouldn&#8217;t count on sysfs to maintain this convention forever.  At some point nobody will have any 512-byte block drives and somebody will decide it&#8217;s silly to keep reporting fake block counts in sysfs.  Sanity check before blowing away drives, eh?</p>
<p>So, now that we know that we have the right value with the right units, it&#8217;s simply a matter of taking out the first GPT label:</p>
<pre style="padding-left: 30px;">/bin/dd if=/dev/zero of=/dev/sd<strong>z</strong> bs=512 count=34</pre>
<p>and then the second (3907029168-34=3907029134):</p>
<pre style="padding-left: 30px;">/bin/dd if=/dev/zero of=/dev/sd<strong>z</strong> bs=512 count=34 skip=3907029134</pre>
<p>To make sure linux understands what you&#8217;ve done here, run:</p>
<pre style="padding-left: 30px;">partprobe /dev/sd<strong>z</strong></pre>
<p>and make sure partprobe doesn&#8217;t insist upon a reboot to get the kernel straight about this (so far I haven&#8217;t found a way around this).</p>
<p>Verify with other partition information tools that might be relevant, e.g.:</p>
<p style="padding-left: 30px;">zdb -l /dev/sd<strong>z</strong></p>
<p>for <a href="http://www.zfsonlinux.org">ZFS</a>.</p>
<p>TL;DR : for convenience, here&#8217;s <a href="http://www.bfccomputing.com/downloads/linux/zero-gpt.pl">a perl script</a> that automates the above process.  Call it as:</p>
<pre style="padding-left: 30px;">perl zero-gpt.pl /dev/sd<strong>z</strong></pre>
<p>or, simply:</p>
<pre style="padding-left: 30px;">perl zero-gpt.pl sd<strong>z</strong></pre>
<p>As of this writing, the script simply prints commands for you to run &#8211; it&#8217;s not brave enough to run them itself.  So, check them before you run them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2011/12/15/zero-a-gpt-label-using-dd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8216;watch&#8217; for Solaris (or any other machine with bash)</title>
		<link>http://www.bfccomputing.com/2011/11/30/watch-for-solaris/</link>
		<comments>http://www.bfccomputing.com/2011/11/30/watch-for-solaris/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 21:20:50 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://bfccomputing.wordpress.bfccomputing.com/?p=5071</guid>
		<description><![CDATA[Solaris variants (i.e. Nexenta) seem to lack the &#8216;watch&#8217; program that&#8217;s so useful on Linux/BSD.  There are several people asking for this on various forums. There might be a port available, but not stock on machines, and if your machine is inside a restrictive firewall, it might be hard to get.  In a pinch, the [...]]]></description>
			<content:encoded><![CDATA[<p>Solaris variants (i.e. Nexenta) seem to lack the &#8216;watch&#8217; program that&#8217;s so useful on Linux/BSD.  There are several people asking for this on various forums.</p>
<p>There might be a port available, but not stock on machines, and if your machine is inside a restrictive firewall, it might be hard to get.  In a pinch, the following seems to work fine:</p>
<pre><span class="Apple-style-span" style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">while /bin/true ; do clear; date; echo; ps ax | grep send; sleep 5; done</span></pre>
<p>Where &#8216;ps ax | grep send&#8217; is an example of the command to be used. All the rest is boilerplate. Adjust the &#8217;5&#8242; as you would the &#8216;-n&#8217; parameter.  No doubt a simple shell script could be made to act like real &#8216;watch&#8217;.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2011/11/30/watch-for-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expanding a ZFS filesystem on LUKS/md-raid</title>
		<link>http://www.bfccomputing.com/2011/08/31/expanding-a-zfs-filesystem-on-luksmd-raid/</link>
		<comments>http://www.bfccomputing.com/2011/08/31/expanding-a-zfs-filesystem-on-luksmd-raid/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 22:59:13 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[BFC Computing]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://bfccomputing.wordpress.bfccomputing.com/?p=5068</guid>
		<description><![CDATA[I run my backups on a stack that consists of: md-raid mirror LUKS encryption ZFS zvol This works nicely as it&#8217;s easy to split off an encrypted backup disk to take offsite, but since ZFS encryption hasn&#8217;t come to Linux yet, it&#8217;s still a stack of technologies to manage.  My backup set gets ever larger, [...]]]></description>
			<content:encoded><![CDATA[<p>I run my backups on a stack that consists of:</p>
<ol>
<li>md-raid mirror</li>
<li>LUKS encryption</li>
<li>ZFS zvol</li>
</ol>
<p>This works nicely as it&#8217;s easy to split off an encrypted backup disk to take offsite, but since ZFS encryption hasn&#8217;t come to Linux yet, it&#8217;s still a stack of technologies to manage.  My backup set gets ever larger, so to expand the backups capacity, I bought a pair of Hitachi 3TB SATA drives.  Assuming:</p>
<ul>
<li>the old drives were sdc and sdd</li>
<li>the new drives are sde and sdf</li>
<li>the md mirror is md3</li>
<li>the LUKS volume is called backup and presents as dm-0</li>
<li>the zfs pool is called &#8216;backup&#8217;</li>
</ul>
<p>to expand the stack:</p>
<ol>
<li>mdadm &#8211;add /dev/md3 /dev/sde</li>
<li>mdadm &#8211;fail /dev/md3 /dev/sdc</li>
<li>mdadm &#8211;remove /dev/md3 /dev/sdc</li>
<li>wait for rebuild to finish (cat /proc/mdstat)</li>
<li>mdadm &#8211;add /dev/md3 /dev/sdf</li>
<li>mdadm &#8211;fail /dev/md3 /dev/sdd</li>
<li>mdadm &#8211;remove /dev/md3 /dev/sdd</li>
<li>wait for rebuilt to finish</li>
<li>mdadm &#8211;grow &#8211;size=max /dev/md3</li>
<li>cryptsetup resize backup</li>
<li>zpool online -e backup dm-0</li>
</ol>
<p>and then run &#8216;zfs list&#8217; to ensure the size is updated.  Conveniently, this can all be done without taking any of the filesystems offline.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2011/08/31/expanding-a-zfs-filesystem-on-luksmd-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 15 on an AMD Lynx (Llano) A6-3650</title>
		<link>http://www.bfccomputing.com/2011/07/18/fedora-15-on-an-amd-lynx-llano-a6-3650/</link>
		<comments>http://www.bfccomputing.com/2011/07/18/fedora-15-on-an-amd-lynx-llano-a6-3650/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 21:36:00 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sully/wordpress/bfccomputing/2011/07/18/fedora-15-on-an-amd-lynx-llano-a6-3650/</guid>
		<description><![CDATA[I&#8217;ve been working for a couple days to get a usable Fedora 15 instance on the AMD A6-3650 APU. I&#8217;m using MSI&#8217;s motherboard. The biggest challenge is the integrated ATI HD 6550D graphics. Download the latest .fc16 build of Linux 3.0 from koji for proper KMS (kernel mode setting) support. Then download the latest ATI [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working for a couple days to get a usable Fedora 15 instance on the AMD A6-3650 APU. I&#8217;m using MSI&#8217;s motherboard.</p>
<p>The biggest challenge is the integrated ATI HD 6550D graphics.</p>
<p>Download the latest .fc16 build of Linux 3.0 from koji for proper KMS (kernel mode setting) support. Then download the latest ATI Catalyst driver from AMD. The version in RPM Fusion isn&#8217;t new enough as of this writing, nor is the xorg-x11-drv-ati build in koji new enough (the PCI ID&#8217;s are in their git tree).</p>
<p>That&#8217;s enough to get the system up (oh, systemd, why don&#8217;t you give me any virtual consoles when X startup fails?).</p>
<p>I&#8217;m stuck at 1600&#215;1200 resolution at the moment. This display does 1900&#215;1200, so it&#8217;s blurry. I haven&#8217;t yet found a way around this.</p>
<p>Performance isn&#8217;t yet screaming &#8216;magical&#8217; &#8211; on some tasks it&#8217;s faster than the Core2Quad it&#8217;s replacing (maybe the faster memory?) but on others it seems a bit slower. Probably not much is tuned for it yet &#8211; this is really early in the adoption curve.</p>
<p>Update 2011/08/21: Sound is now working with the 2.6.40 kernel update.  Haven&#8217;t tried graphics yet, as I put an nVidia card in the machine after having a shifted video problem I couldn&#8217;t resolve with the video.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2011/07/18/fedora-15-on-an-amd-lynx-llano-a6-3650/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Permission-free Share with ZFS ACL&#8217;s and NFSv4</title>
		<link>http://www.bfccomputing.com/2011/03/15/creating-a-permission-free-share-with-zfs-acls-and-nfsv4/</link>
		<comments>http://www.bfccomputing.com/2011/03/15/creating-a-permission-free-share-with-zfs-acls-and-nfsv4/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 18:53:00 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sully/wordpress/bfccomputing/2011/03/15/creating-a-permission-free-share-with-zfs-acls-and-nfsv4/</guid>
		<description><![CDATA[The need came up to create a ZFS filesystem, shared over NFS, to Linux clients, with no permissions enforced. Much of the documentation out there is sparse, dated, confusing, or wrong. This post at least aims not to be wrong. On the Nexenta/Solaris machine, for zpool &#8216;storage&#8217;: zfs set aclinherit=passthrough storage/shared zfs set sharenfs=on storage/shared [...]]]></description>
			<content:encoded><![CDATA[<p>
    The need came up to create a ZFS filesystem, shared over NFS, to Linux clients, with no permissions enforced. Much of the documentation out there is sparse, dated, confusing, or wrong. This post at least aims not to be wrong. </p>
<p>
    On the Nexenta/Solaris machine, for zpool &#8216;storage&#8217;: </p>
<p>
    <code>zfs set aclinherit=passthrough storage/shared </code></p>
<p>
    <code>zfs set sharenfs=on storage/shared</code> </p>
<p>
    <code>/usr/sun/bin/chmod A=everyone@:read_data/list_directory/write_data/add_file/append_data/add_subdirectory/read_xattr/write_xattr/execute/delete_child/read_attributes/write_attributes/delete/read_acl/write_acl/write_owner/synchronize:file_inherit/dir_inherit:allow /storage/shared</code> </p>
<p>
    Now install idmapd on the linux side and start it (rpcidmapd service on Fedora/RHEL/CentOS, libidmap and the nfs service on SuSE) and mount it with these options: </p>
<p>
    <code>mount -t nfs4 -o rw,intr,hard,proto=tcp,port=2049,acl storage-server:storage/shared /mnt/shared</code> </p>
<p>
    or set up your automounter to use similar options.  Now, all users can do everything to the share.</p>
<p>
    note: Comments are off until I get a better blog. Please e-mail me any corrections and I&#8217;ll add them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2011/03/15/creating-a-permission-free-share-with-zfs-acls-and-nfsv4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NASA TV on Linux</title>
		<link>http://www.bfccomputing.com/2011/02/24/nasa-tv-on-linux/</link>
		<comments>http://www.bfccomputing.com/2011/02/24/nasa-tv-on-linux/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 21:18:00 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sully/wordpress/bfccomputing/2011/02/24/nasa-tv-on-linux/</guid>
		<description><![CDATA[Make sure you have xargs, head, and mplayer installed (via your package manager) and run: /usr/bin/curl http://www.nasa.gov/ram/35037main_portal.ram &#124; /usr/bin/head -1 &#124; /usr/bin/xargs mplayer If the URL above changes, look for the &#8216;RealPlayer&#8217; option at http://www.nasa.gov/ntv for a new .ram file.]]></description>
			<content:encoded><![CDATA[<p>Make sure you have xargs, head, and mplayer installed (via your package manager) and run:</p>
<p><code>/usr/bin/curl http://www.nasa.gov/ram/35037main_portal.ram | /usr/bin/head -1 | /usr/bin/xargs mplayer</code></p>
<p>If the URL above changes, look for the &#8216;RealPlayer&#8217; option at http://www.nasa.gov/ntv for a new .ram file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2011/02/24/nasa-tv-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No E-mails Without a Warrant</title>
		<link>http://www.bfccomputing.com/2011/01/12/no-e-mails-without-a-warrant/</link>
		<comments>http://www.bfccomputing.com/2011/01/12/no-e-mails-without-a-warrant/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 02:46:00 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sully/wordpress/bfccomputing/2011/01/12/no-e-mails-without-a-warrant/</guid>
		<description><![CDATA[Good news from the 6th US Circuit Court of Appeals: At issue in Warshak’s e-mail flap was a 1986 law that allows the government to obtain a suspect’s e-mail from an internet service provider or webmail provider without a probable-cause warrant, once it’s been stored for 180 days or more. The appeals court said Tuesday [...]]]></description>
			<content:encoded><![CDATA[<p>Good <a href="http://www.wired.com/threatlevel/2010/12/fourth-amendment-email/">news</a> from the 6th US Circuit Court of Appeals:</p>
<blockquote><p>At issue in Warshak’s e-mail flap was a 1986 law that allows the government to obtain a suspect’s e-mail from an internet service provider or webmail provider without a probable-cause warrant, once it’s been stored for 180 days or more. The appeals court said Tuesday that this part of the Stored Communications Act is unconstitutional.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2011/01/12/no-e-mails-without-a-warrant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where to now for ZFS?</title>
		<link>http://www.bfccomputing.com/2010/08/23/where-to-now-for-zfs/</link>
		<comments>http://www.bfccomputing.com/2010/08/23/where-to-now-for-zfs/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 20:29:00 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sully/wordpress/bfccomputing/2010/08/23/where-to-now-for-zfs/</guid>
		<description><![CDATA[A note I wrote when asked about the future of ZFS and current best-practices for storage: &#8220;My current line of thinking is that ZFS has the required reliability, OpenSolaris is where it actually works now. FreeBSD 9 should have a good version of it (they can&#8217;t get the zpool up to v23 in FreeBSD 8 [...]]]></description>
			<content:encoded><![CDATA[<p>A note I wrote when asked about the future of ZFS and current best-practices for storage:</p>
<p>&#8220;My current line of thinking is that ZFS has the required reliability, OpenSolaris is where it actually works now.</p>
<p>FreeBSD 9 should have a good version of it (they can&#8217;t get the zpool up to v23 in FreeBSD 8 based on FreeBSD&#8217;s major-version compatibility requirements), and Linux is also going to get it.  Either of those two are good destinations. Both are currently flakey though, and OpenSolaris is solid.</p>
<p>The ZFS storage layer has been ported to linux by one of the National Labs &#8211; they&#8217;re still working on the POSIX layer.  I suspect that&#8217;ll be ready in a year or so.</p>
<p>I suspect Nexenta will wind up switching kernels itself and still calling itself Nexenta in a year or two.  ZFS is endian- and platform agnostic, so moving a pool from one OS to another is a &#8216;zpool export storage&#8217; on the source OS, re-install the base OS, and &#8216;zpool import storage&#8217; and you&#8217;re good to go.</p>
<p>Linux&#8217;s btrfs might even be a decent in 2-3 years, but it&#8217;s really really early still.</p>
<p>There&#8217;s also the Illumos project which is making an Oracle-free OpenSolaris which stands a chance.  Nexenta is funding those guys &#8211; at least they&#8217;ll finally be able to do a complete Open Source build.  That&#8217;s probably transitional, though &#8211; why compete with FreeBSD on drivers?  &#8220;Because OpenSolaris is much faster on disk access&#8221; is a fair answer, so they could also wind up supporting a more narrow set of hardware on an ongoing basis, until FreeBSD is that fast (they can figure out how OpenSolaris beats them pretty easily, especially with lots of people wanting it to be where they wind up.)</p>
<p>FreeBSD is license-compatible with CDDL, otherwise Linux would be the presumptive destination.  Oracle could still chose to dual-license and settle the matter that quickly, but that&#8217;s seeming less and less likely.  Bill Moore, co-lead on ZFS has already left Oracle and joined the Nexenta board, so I suspect that&#8217;s where ZFS will evolve, not at Oracle.  If Jeff Bonwick does the same, it&#8217;s pretty much settled.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2010/08/23/where-to-now-for-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>peth0 missing from Xen Dom0 (RHEL, CentOS)</title>
		<link>http://www.bfccomputing.com/2010/07/26/peth0-missing-from-xen-dom0-rhel-centos/</link>
		<comments>http://www.bfccomputing.com/2010/07/26/peth0-missing-from-xen-dom0-rhel-centos/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 19:20:00 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sully/wordpress/bfccomputing/2010/07/26/peth0-missing-from-xen-dom0-rhel-centos/</guid>
		<description><![CDATA[Just a quick note for the search engines to find &#8211; peth0 can go missing from ifconfig if there is a GATEWAY= entry in ifcfg-eth0 (anaconda puts it here) and presumably -eth1, etc.. Put the default gateway in /etc/syconfig/network instead and use route-eth1 files instead to specify gateways. Reboot for xend to do its setup [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note for the search engines to find &#8211; peth0 can go missing from <code>ifconfig</code> if there is a <code>GATEWAY=</code> entry in ifcfg-eth0 (anaconda puts it here) and presumably -eth1, etc..  Put the default gateway in <code>/etc/syconfig/network</code> instead and use <code>route-eth1</code> files instead to specify gateways.</p>
<p>Reboot for xend to do its setup correctly (please commment if there&#8217;s a way to do this without reboot that works&#8230;) and instead of &#8216;no peth0&#8242; you&#8217;ll find one now exists.  Also, your xenbr0 will be set up properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2010/07/26/peth0-missing-from-xen-dom0-rhel-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFSv4 from Linux to ZFS under Solaris</title>
		<link>http://www.bfccomputing.com/2010/06/22/nfsv4-from-linux-to-zfs-under-solaris/</link>
		<comments>http://www.bfccomputing.com/2010/06/22/nfsv4-from-linux-to-zfs-under-solaris/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 15:24:00 +0000</pubDate>
		<dc:creator>bill_mcgonigle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sully/wordpress/bfccomputing/2010/06/22/nfsv4-from-linux-to-zfs-under-solaris/</guid>
		<description><![CDATA[If you&#8217;re seeing this, this article isn&#8217;t quite done yet. Still setting things up right. Fedora client, Nexenta Server. On the linux side, start rpcidmapd and set it to start on boot. service rpcidmapd start chkconfig --levels 345 rpcidmapd on Wherever your DNS is, make sure your forward and reverse are set up correctly. No, [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re seeing this, this article isn&#8217;t quite done yet.  Still setting things up right.</p>
<p>Fedora client, Nexenta Server.</p>
<p>On the linux side, start rpcidmapd and set it to start on boot.</p>
<pre><code>service rpcidmapd start
chkconfig --levels 345 rpcidmapd on
</code></pre>
<p>Wherever your DNS is, make sure your forward and reverse are set up correctly.  No, really, make sure.</p>
<pre><code>$ host my.linux.host.fqdn
my.linux.host.fqdn has address 1.2.3.4
$ host 1.2.3.4
4.3.2.1.in-addr.arpa domain name pointer my.linux.host.fqdn.
</code></pre>
<p>Make sure <code>dnsdomainname</code> returns correctly on the linux host.  You need to have my.linux.host.fqdn first on the line with 127.0.0.1 in /etc/hosts.  This sets the NFSv4 domain name.  Restart rpcidmapd if you needed to fix this.  If this is wrong your files will all show as nobody:nobody on the mount (at this point everybody in the mailing lsit archives gives up and goes back to the crummy NFSv3).  Make sure linux&#8217;s <code>dnsdomainname</code> matches the output of Solaris&#8217;s:</p>
<pre><code>cat /var/run/nfs4_domain
</code></pre>
<p>Now, share under zfs:</p>
<pre><code>zfs set sharenfs=rw=my.linux.host.fqdn,root=my.linux.host.fqdn pool/vol/subvol
</code></pre>
<p>mount under linux:</p>
<pre><code>mount -t nfs4 solarismachine:/vol/subvol /mnt/localmount/ -o rw,intr,hard,proto=tcp,port=2049
</code></pre>
<p>Then set up a root nfs mount by:</p>
<pre><code>blah, blah, blah, todo, todo, todo
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bfccomputing.com/2010/06/22/nfsv4-from-linux-to-zfs-under-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

