<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.itadmins.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.itadmins.net/feed.php">
        <title>Chucks notes and stuff - filesystems</title>
        <description></description>
        <link>https://wiki.itadmins.net/</link>
        <image rdf:resource="https://wiki.itadmins.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-23T10:54:37+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:cachefilesd&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:csync2_install&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:csync2_is_so_cool&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:ext3grep&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:glusterfs_arm_install&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:glusterfs_diamond_metrics&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:iwatch_install&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:lvm2_install&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:using_lsyncd_and_csync2&amp;rev=1582539361&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.itadmins.net/doku.php?id=filesystems:wipe_drive&amp;rev=1582539361&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.itadmins.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Chucks notes and stuff</title>
        <link>https://wiki.itadmins.net/</link>
        <url>https://wiki.itadmins.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:cachefilesd&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cachefilesd</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:cachefilesd&amp;rev=1582539361&amp;do=diff</link>
        <description>Cachefilesd for Network filesystems

10 GB Cache


dd if=/dev/zero of=/var/cache/loopback.img bs=1M count=10000
mkfs.ext3 -m 0 /var/cache/loopback.img


/etc/fstab entry


/var/cache/loopback.img  /var/cache/fscache  ext3  loop,auto,defaults,user_xattr  0  0</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:csync2_install&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>csync2_install</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:csync2_install&amp;rev=1582539361&amp;do=diff</link>
        <description>Installing Csync2

Csnyc2 is really cool. The problem is getting it up and running. Due to very bad documentation there is some info that is just not very well explained. So here we go. a step by step for getting csync2 installed with SSL support.

As always see if the package is available in the repo first. In this case it is so a simple apt-get works to get csync2 installed on the system:</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:csync2_is_so_cool&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>csync2_is_so_cool</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:csync2_is_so_cool&amp;rev=1582539361&amp;do=diff</link>
        <description>&quot;csync2 is so cool&quot; by Zhenhui Liang

This article was originally a blog entry by Zhenhui Liang back in 2006 that covered one of the early releases of csync2. The install and configuration portions of the article are quite a bit dated but there is some nice information that can come in handy in the piece.</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:ext3grep&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ext3grep</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:ext3grep&amp;rev=1582539361&amp;do=diff</link>
        <description>Recovering files with ext3grep

Just so you know.  File recovery on a live partition with ext3grep is possible. Depending upon the amount of activity on the system will of course have a major impact on the feasibility of such an attempt.

Getting Started..</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:glusterfs_arm_install&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>glusterfs_arm_install</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:glusterfs_arm_install&amp;rev=1582539361&amp;do=diff</link>
        <description>Installing GlusterFS on an ARM box

GlusterFS is really a nice solution for those of us that would like a bit more flexibility in network storage solutions. I recently did a GlusterFS install on a QNAP TS-412U ARM based NAS. A really nice box that offers a LOT of extras.</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:glusterfs_diamond_metrics&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>glusterfs_diamond_metrics</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:glusterfs_diamond_metrics&amp;rev=1582539361&amp;do=diff</link>
        <description>GlusterFS Diamond Collector

The initial test version of this collector. It is a quick hack to verify that I can get the metrics into influxdb/grafana/graphite. The next version will be using the XML output of the gluster utility to gather the metrics.</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:iwatch_install&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>iwatch_install</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:iwatch_install&amp;rev=1582539361&amp;do=diff</link>
        <description>Installing and configuring IWatch

	*  apt-get install iwatch
	*  /etc/iwatch/iwatch.xml:


&lt;?xml version=&quot;1.0&quot; ?&gt;
&lt;!DOCTYPE config SYSTEM &quot;/etc/iwatch/iwatch.dtd&quot; &gt;

&lt;config&gt;
  &lt;guard email=&quot;IWatch@host.domain.tld&quot; name=&quot;IWatch - host.domain.tld&quot;/&gt;
  &lt;watchlist&gt;
    &lt;title&gt;Operating System&lt;/title&gt;
    &lt;contactpoint email=&quot;user@domain.tld&quot; name=&quot;Administrator&quot;/&gt;
    &lt;path type=&quot;single&quot; syslog=&quot;on&quot;&gt;/bin&lt;/path&gt;
    &lt;path type=&quot;single&quot; syslog=&quot;on&quot;&gt;/sbin&lt;/path&gt;
    &lt;path type=&quot;single&quot; syslog=&quot;on&quot;&gt;/u…</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:lvm2_install&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>lvm2_install</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:lvm2_install&amp;rev=1582539361&amp;do=diff</link>
        <description>Installing LVM2

Loading the LVM2 module


# modprobe dm-mod


Before scanning and activating LVM, you might want to edit /etc/lvm/lvm.conf to exclude some devices. By default, LVM2 will scan all devices, even your CDROM which can generate error messages. In the following example, the line that allows scanning of all devices is replaced by one that rejects every device but our two IDE disks.</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:using_lsyncd_and_csync2&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>using_lsyncd_and_csync2</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:using_lsyncd_and_csync2&amp;rev=1582539361&amp;do=diff</link>
        <description>Lsyncd wrapper

usage: lsyncdwrap &lt;/path/to/status/file&gt; &lt;command&gt; &lt;command_options&gt;


#!/bin/sh

STATFILE=$1
shift
CMDLINE=$@

if [ -s $STATFILE ]; then
	exit 0
fi

START=`date +%s`
$CMDLINE &gt;&gt; $STATFILE 2&gt;&amp;1
ERR=$?
END=`date +%s`
DIFF=$(($END - $START))

# append to STATFILE
if [ $ERR -ne 0 ]; then
        echo &quot;### ERROR: `date` ### TIME [$DIFF] - ARGS: $@&quot; &gt;&gt; $STATFILE
else
	echo -n &quot;&quot; &gt; $STATFILE
fi

exit 0</description>
    </item>
    <item rdf:about="https://wiki.itadmins.net/doku.php?id=filesystems:wipe_drive&amp;rev=1582539361&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-24T10:16:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wipe_drive</title>
        <link>https://wiki.itadmins.net/doku.php?id=filesystems:wipe_drive&amp;rev=1582539361&amp;do=diff</link>
        <description>Howto Wipe your drives or partitions

From time to time you will need to wipe a drive or partion and here are the best ways to do it.

The quick and easy way

The fastest way is to simply write a bunch of zeros to the drive so:


dd if=/dev/zero of=/dev/sda bs=1M</description>
    </item>
</rdf:RDF>
