[Gluster-users] nfs test dd cp tar

Heiko L. heikol at fh-lausitz.de
Wed Jul 24 20:10:09 UTC 2013


Hallo


I tried glusterfs-3.3.2 dd cp tar.
- dd: ok
- cp: ok
- tar: fail (filesize=0)


Whats going wrong?

regards Heiko



details

- test10 cp
root at z1-gluster:/mnt/gv3/test# sleep 10;date; cp -p /etc/profile .
Wed Jul 24 19:05:14 UTC 2013
root at z1-gluster:/mnt/gv3/test#   sleep 10;date; cp -p /etc/profile test1
Wed Jul 24 19:05:24 UTC 2013
root at z1-gluster:/mnt/gv3/test#   sleep 10;date; cp -p test1 test2
Wed Jul 24 19:05:35 UTC 2013
root at z1-gluster:/mnt/gv3/test# ls -l
total 4
-rw-r--r--   1 root     sys         1570 Jul 19 19:39 profile
-rw-r--r--   1 root     sys         1570 Jul 19 19:39 test1
-rw-r--r--   1 root     sys         1570 Jul 19 19:39 test2
drwxr-xr-x  14 root     sys           14 Jul 20 11:05 var
root at z1-gluster:/mnt/gv3/test#

  -> ok

-----------------------------------------------

- test11 dd

testfile=testfile
testdir=.
sz=1
time dd if=/dev/urandom bs=1024k count=$sz of=$testdir/${testfile}_${sz} 2>&1 | grep -v rec

root at z1-gluster:/mnt/gv3/test# time dd if=/dev/urandom bs=1024k count=$sz of=$testdir/${testfile}_${sz} 2>&1 | grep -v rec

real    0m1.083s
user    0m0.002s
sys     0m0.276s
root at z1-gluster:/mnt/gv3/test# ls -l ${testfile}*
-rw-r--r--   1 root     root     1048576 Jul 24 19:23 testfile_1
-rw-r--r--   1 root     root     10485760 Jul 24 19:24 testfile_10

 -> ok

-----------------------------------------------
- test12 tar

root at z1-gluster:/mnt/gv3/test# src="profile test1 test2"
root at z1-gluster:/mnt/gv3/test# dst=test

profile
tar: profile: Cannot open: I/O error
test1
tar: test1: Cannot open: I/O error
test2
tar: test2: Cannot open: I/O error
tar: Exiting with failure status due to previous errors

root at z1-gluster:/mnt/gv3/test# ls -l $src $dst
-rw-r--r--   1 root     sys         1570 Jul 19 19:39 profile
-rw-r--r--   1 root     sys         1570 Jul 19 19:39 test1
-rw-r--r--   1 root     sys         1570 Jul 19 19:39 test2

test:
total 0
-rw-------   1 root     root           0 Jul 24 19:55 profile
-rw-------   1 root     root           0 Jul 24 19:55 test1
-rw-------   1 root     root           0 Jul 24 19:55 test2

 -> fail








More information about the Gluster-users mailing list