[Gluster-users] Input/output error when using dd

Joe Julian joe at julianfamily.org
Tue Oct 6 02:44:38 UTC 2015


[19:33] <JoeJulian> AceFacee check "gluster volume heal DSR info"
[19:33] <JoeJulian> it sounds like split-brain.
[19:34] <JoeJulian> @split-brain
[19:34] <glusterbot> JoeJulian: To heal split-brains, see 
https://gluster.readthedocs.org/en/release-3.7.0/Features/heal-info-and-split-brain-resolution/ 
For additional information, see this older article 
https://joejulian.name/blog/fixing-split-brain-with-glusterfs-33/ Also 
see splitmount 
https://joejulian.name/blog/glusterfs-split-brain-recovery-made-easy/

On 10/05/2015 05:43 PM, Cobin Bluth wrote:
> Please see the following:
>
>
>     root at Asus:/mnt/GlusterFS-POC# mount
>     [ ...truncated... ]
>     GlusterFS1:DSR on /mnt/GlusterFS-POC type fuse.glusterfs
>     (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)
>     root at Asus:/mnt/GlusterFS-POC# pwd
>     /mnt/GlusterFS-POC
>     root at Asus:/mnt/GlusterFS-POC# for i in {1..10}; do cat
>     /mnt/10MB-File > $i.tmp; done
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     root at Asus:/mnt/GlusterFS-POC# cat /mnt/10MB-File > test-file
>     cat: write error: Input/output error
>     cat: write error: Input/output error
>     root at Asus:/mnt/GlusterFS-POC# dd if=/dev/zero of=test-file bs=1M
>     count=10
>     dd: error writing ‘test-file’: Input/output error
>     dd: closing output file ‘test-file’: Input/output error
>     root at Asus:/mnt/GlusterFS-POC# ls -lsha
>     total 444K
>     9.0K drwxr-xr-x  4 root root 4.1K Oct  5 17:32 .
>     4.0K drwxr-xr-x 10 root root 4.0K Oct  5 17:16 ..
>      13K -rw-r--r--  1 root root 257K Oct  5 17:30 10.tmp
>     1.0K -rw-r--r--  1 root root 129K Oct  5 17:30 1.tmp
>      13K -rw-r--r--  1 root root 257K Oct  5 17:30 2.tmp
>     1.0K -rw-r--r--  1 root root 129K Oct  5 17:30 3.tmp
>      13K -rw-r--r--  1 root root 257K Oct  5 17:30 4.tmp
>      13K -rw-r--r--  1 root root 257K Oct  5 17:30 5.tmp
>      13K -rw-r--r--  1 root root 257K Oct  5 17:30 6.tmp
>      13K -rw-r--r--  1 root root 257K Oct  5 17:30 7.tmp
>      13K -rw-r--r--  1 root root 257K Oct  5 17:30 8.tmp
>      13K -rw-r--r--  1 root root 257K Oct  5 17:30 9.tmp
>     329K -rw-r--r--  1 root root 385K Oct  5 17:32 test-file
>        0 drwxr-xr-x  3 root root   48 Oct  5 16:05 .trashcan
>     root at Asus:/mnt/GlusterFS-POC#
>
>
>
> I am trying to do tests on my gluster volume to see how well it will 
> work for me.
> I am getting that error when I try to use dd on it.
>
> What would be the best way to troubleshoot this?
>
>
> Thanks,
>
> Cobin
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20151005/320f7eb8/attachment.html>


More information about the Gluster-users mailing list