<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Steve,<br>
      <br>
      On 11/20/2012 01:32 PM, Steve Postma wrote:<br>
    </div>
    <blockquote
cite="mid:E734624B9F2C9743B810C12418C194F199250C45@MAIL.allezsoftware.com"
      type="cite">
      <pre wrap=""> [root@mseas-data gdata]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              18G  6.6G  9.7G  41% /
/dev/sda6              77G   49G   25G  67% /scratch
/dev/sda3              18G  3.8G   13G  24% /var
/dev/sda2              18G  173M   16G   2% /tmp
tmpfs                 3.9G     0  3.9G   0% /dev/shm
/dev/mapper/the_raid-lv_home
                      3.0T  2.2T  628G  79% /home
glusterfs#mseas-data:/gdata
                       15T   14T  606G  96% /gdata


[root@nas-0-0 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             137G   33G   97G  26% /
/dev/sda1             190M   24M  157M  14% /boot
tmpfs                 2.0G     0  2.0G   0% /dev/shm
/dev/sdb1              21T   19T  1.5T  93% /mseas-data-0-0

[root@nas-0-1 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             137G   34G   97G  26% /
/dev/sda1             190M   24M  157M  14% /boot
tmpfs                 2.0G     0  2.0G   0% /dev/shm
/dev/sdb1              21T   19T  1.3T  94% /mseas-data-0-1
</pre>
    </blockquote>
    Thanks for confirming.<br>
    <blockquote
cite="mid:E734624B9F2C9743B810C12418C194F199250C45@MAIL.allezsoftware.com"
      type="cite">
      <pre wrap="">


 cat of /etc/glusterfs/glusterd.vol from backup

[root@mseas-data glusterd]# cat /root/mseas_backup/etc/glusterfs/glusterd.vol
volume management
    type mgmt/glusterd
    option working-directory /etc/glusterd
    option transport-type socket,rdma
    option transport.socket.keepalive-time 10
    option transport.socket.keepalive-interval 2
end-volume
</pre>
    </blockquote>
    The vol file for 2.x would be in /etc/glusterfs/&lt;volume
    name&gt;.vol I believe. It should contain an entry similar to this
    output for each of the servers toward the top of the file. <br>
    <blockquote
cite="mid:E734624B9F2C9743B810C12418C194F199250C45@MAIL.allezsoftware.com"
      type="cite">
      <pre wrap="">



Article you referenced is looking for the words "glusterfs-volgen" in a vol file. I have used locate and grep, but can find no such entry in any .vol files.
</pre>
    </blockquote>
    This would not appear if the glusterfs-volgen command wasn't used
    during creation.&nbsp; The main consideration is to ensure that you have
    the command in step 5:<br>
    <br>
    find /mount/<i>glusterfs</i> &gt;/dev/null<br>
    <br>
    - Eco<br>
    <blockquote
cite="mid:E734624B9F2C9743B810C12418C194F199250C45@MAIL.allezsoftware.com"
      type="cite">
      <pre wrap="">

Thanks




________________________________
From: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a> [<a class="moz-txt-link-abbreviated" href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a>] on behalf of Eco Willson [<a class="moz-txt-link-abbreviated" href="mailto:ewillson@redhat.com">ewillson@redhat.com</a>]
Sent: Tuesday, November 20, 2012 4:03 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>
Subject: Re: [Gluster-users] FW: cant mount gluster volume

Steve,



On 11/20/2012 12:03 PM, Steve Postma wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">The do show expected size. I have a backup of /etc/glusterd and /etc/glusterfs from before upgrade.
</pre>
      </blockquote>
      <pre wrap="">Can we see the vol file from the 2.x install and the output of df -h for
each of the bricks?
</pre>
      <blockquote type="cite">
        <pre wrap="">
Its interesting that "gluster volume info" shows the correct path for each machine.

These are the correct mountpoints on each machine, and from each machine I can see the files and structure.
</pre>
      </blockquote>
      <pre wrap="">If the volume was created in a different order than before, then it is
expected you would be able to see the files only from the backend
directories and not from the client mount.
If this is the case, recreating the volume in the correct order should
show the files from the mount.
If the volume was recreated properly, make sure you have followed the
upgrade steps to go from versions prior to 3.1:
<a class="moz-txt-link-freetext" href="http://www.gluster.org/community/documentation/index.php/Gluster_3.0_to_3.2_Upgrade_Guide">http://www.gluster.org/community/documentation/index.php/Gluster_3.0_to_3.2_Upgrade_Guide</a>

This would explain why the files can't be viewed from the client, but
the size discrepancy isn't expected if we see the expected output from
df for the bricks.


</pre>
      <blockquote type="cite">
        <pre wrap="">
[root@mseas-data<a class="moz-txt-link-rfc2396E" href="mailto:root@mseas-data">&lt;mailto:root@mseas-data&gt;</a> data]# gluster volume info

Volume Name: gdata
Type: Distribute
Volume ID: eccc3a90-212d-4563-ae8d-10a77758738d
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: gluster-0-0:/mseas-data-0-0
Brick2: gluster-0-1:/mseas-data-0-1
Brick3: gluster-data:/data



________________________________
From: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users-bounces@gluster.org">&lt;mailto:gluster-users-bounces@gluster.org&gt;</a> [<a class="moz-txt-link-abbreviated" href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users-bounces@gluster.org">&lt;mailto:gluster-users-bounces@gluster.org&gt;</a>] on behalf of Eco Willson [<a class="moz-txt-link-abbreviated" href="mailto:ewillson@redhat.com">ewillson@redhat.com</a><a class="moz-txt-link-rfc2396E" href="mailto:ewillson@redhat.com">&lt;mailto:ewillson@redhat.com&gt;</a>]
Sent: Tuesday, November 20, 2012 3:02 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org">&lt;mailto:gluster-users@gluster.org&gt;</a>
Subject: Re: [Gluster-users] FW: cant mount gluster volume

Steve,




Does df -h show the expected directories on each server, and do they
show the expected size?

If the file


On 11/20/2012 11:09 AM, Steve Postma wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi Eco, thanks for your help.

If I run on brick 1:
mount -t glusterfs gluster-data:/gdata /gdata

it mounts but appears as a 18 GB partition with nothing in it
</pre>
        </blockquote>
        <pre wrap="">To confirm, are the export directories mounted properly on all three
servers?
Does df -h show the expected directories on each server, and do they
show the expected size?
Does gluster volume info show the same output on all three servers?
</pre>
        <blockquote type="cite">
          <pre wrap="">I can mount it from the client, but again, there is nothing in it.



Before upgrade this was a 50 TB gluster volume. Was that volume information lost with upgrade?
</pre>
        </blockquote>
        <pre wrap="">Do you have the old vol files from before the upgrade? It would be good
to see them to make sure the volume got recreated properly.
</pre>
        <blockquote type="cite">
          <pre wrap="">The file structure appears intact on each brick.
</pre>
        </blockquote>
        <pre wrap="">As long as the file structure is intact, you will be able to recreate
the volume although it may require a potentially painful rsync in the
worst case.

- Eco



</pre>
        <blockquote type="cite">
          <pre wrap="">Steve


________________________________
From: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users-bounces@gluster.org">&lt;mailto:gluster-users-bounces@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users-bounces@gluster.org">&lt;mailto:gluster-users-bounces@gluster.org&gt;</a> [<a class="moz-txt-link-abbreviated" href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users-bounces@gluster.org">&lt;mailto:gluster-users-bounces@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users-bounces@gluster.org">&lt;mailto:gluster-users-bounces@gluster.org&gt;</a>] on behalf of Eco Willson [<a class="moz-txt-link-abbreviated" href="mailto:ewillson@redhat.com">ewillson@redhat.com</a><a class="moz-txt-link-rfc2396E" href="mailto:ewillson@redhat.com">&lt;mailto:ewillson!
 @redhat.co
m&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:ewillson@redhat.com">&lt;mailto:ewillson@redhat.com&gt;</a>]
Sent: Tuesday, November 20, 2012 1:29 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org">&lt;mailto:gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org">&lt;mailto:gluster-users@gluster.org&gt;</a>
Subject: Re: [Gluster-users] FW: cant mount gluster volume

Steve,

The volume is a pure distribute:

</pre>
          <blockquote type="cite">
            <pre wrap="">Type: Distribute
</pre>
          </blockquote>
          <pre wrap="">In order to have files replicate, you need
1) to have a number of bricks that is a multiple of the replica count,
e.g., for your three node configuration, you would need two bricks per
node to set up replica two. You could set up replica 3, but you will
take a performance hit in doing so.
2) to add a replica count during the volume creation, e.g.
`gluster volume create &lt;vol name&gt; replica 2 server1:/export server2:/export

>From the volume info you provided, the export directories are different
for all three nodes:

Brick1: gluster-0-0:/mseas-data-0-0
Brick2: gluster-0-1:/mseas-data-0-1
Brick3: gluster-data:/data


Which node are you trying to mount to /data? If it is not the
gluster-data node, then it will fail if there is not a /data directory.
In this case, it is a good thing, since mounting to /data on gluster-0-0
or gluster-0-1 would not accomplish what you need.
To clarify, there is a distinction to be made between the export volume
mount and the gluster mount point. In this case, you are mounting the
brick.
In order to see all the files, you would need to mount the volume with
the native client, or NFS.
For the native client:
mount -t glusterfs gluster-data:/gdata /mnt/&lt;gluster mount dir&gt;
For NFS:
mount -t nfs -o vers=3 gluster-data:/gdata /mnt/&lt;gluster mount dir&gt;


Thanks,

Eco
On 11/20/2012 09:42 AM, Steve Postma wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">I have a 3 node gluster cluster that had 3.1.4 uninstalled and 3.3.1 installed.

I had some mounting issues yesterday, from a rocks 6.2 install to the cluster. I was able to overcome those issues and mount the export on my node. Thanks to all for your help.

However, I can only view the portion of files that is directly stored on the one brick in the cluster. The other bricks do not seem to be replicating, tho gluster reports the volume as up.

[root@mseas-data<a class="moz-txt-link-rfc2396E" href="mailto:root@mseas-data">&lt;mailto:root@mseas-data&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:root@mseas-data">&lt;mailto:root@mseas-data&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:root@mseas-data">&lt;mailto:root@mseas-data&gt;</a> ~]# gluster volume info
Volume Name: gdata
Type: Distribute
Volume ID: eccc3a90-212d-4563-ae8d-10a77758738d
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: gluster-0-0:/mseas-data-0-0
Brick2: gluster-0-1:/mseas-data-0-1
Brick3: gluster-data:/data



The brick we are attaching to has this in the fstab file.
/dev/mapper/the_raid-lv_data /data xfs quota,noauto 1 0


but "mount -a" does not appear to do anything.
I have to run "mount -t xfs /dev/mapper/the_raid-lv_data /data"
manually to mount it.



Any help with troubleshooting why we are only seeing data from 1 brick of 3 would be appreciated,
Thanks,
Steve Postma







________________________________
From: Steve Postma
Sent: Monday, November 19, 2012 3:29 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org">&lt;mailto:gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org">&lt;mailto:gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org">&lt;mailto:gluster-users@gluster.org&gt;</a>
Subject: cant mount gluster volume

I am still unable to mount a new 3.3.1 glusterfs install. I have tried from one of the actual machines in the cluster to itself, as well as from various other clients. They all seem to be failing in the same part of the process.

_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
          </blockquote>
          <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
________________________________
_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
        </blockquote>
        <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
________________________________
_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><a class="moz-txt-link-rfc2396E" href="mailto:Gluster-users@gluster.org">&lt;mailto:Gluster-users@gluster.org&gt;</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
________________________________
_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>