[Gluster-devel] Illegal Seek - copying/scping file
Pooya Woodcock
pooya at packetcloud.net
Tue Sep 18 21:37:15 UTC 2007
I am trying to do this on version glusterfs--mainline--2.5 - patch-486
# cd /GLUSTER
# scp -P22666 pooya at slashem:~/videoplayer.swf .
pooya at slashem's password:
videoplayer.swf
100% 186KB 185.7KB/s 00:01
./videoplayer.swf: Input/output error
There was nothing logged that was unusual to the log files, and no
process crashed.
I ran an strace on it, and got this.
<snip>
stat("./videoplayer.swf", {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
open("./videoplayer.swf", O_WRONLY|O_CREAT, 0755) = 3
write(6, "\0", 1) = 1
fstat(3, {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x2a96817000
ioctl(1, TIOCGWINSZ, {ws_row=34, ws_col=112, ws_xpixel=0,
ws_ypixel=0}) = 0
getpgrp() = 17606
ioctl(1, TIOCGPGRP, [17606]) = 0
videoplayer.swf
0% 0 0.0KB/s --:-- ETA) = 112
rt_sigaction(SIGALRM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x552aaaf950, [], SA_RESTORER|SA_INTERRUPT,
0x2a964002b0}, NULL, 8) = 0
alarm(1) = 0
read(7, "CWS\10f8\6\0x\234\354\274wTS]\2638\274\23\22J\350\275C"...,
4096) = 4096
<snip>
read(7, "0\337\24\3317U\366M\231\275\227d\213\344Y\0313\'\0327
\217"..., 4096) = 4096
read(7, "\271\220\211q\1\342\275M\277N\274\267\30&\261\247\250
\342"..., 4096) = 4096
read(7, "(t\317\204\320SD\253\310\4\365g\"\271rK\302\177h\214Lb"...,
1738) = 1738
alarm(0) = 1
getpgrp() = 17606
ioctl(1, TIOCGPGRP, [17606]) = 0
videoplayer.swf
100% 186KB 185.7KB/s 00:00 ) = 112
write(1, "\n", 1
) = 1
write(3, "CWS\10f8\6\0x\234\354\274wTS]\2638\274\23\22J\350\275C"...,
190154) = -1 EIO (Input/output error)
close(3) = 0
read(7, "\0", 1) = 1
fcntl(6, F_GETFL) = 0x1 (flags O_WRONLY)
fstat(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a96918000
lseek(6, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(6, "\1scp: ./videoplayer.swf: Input/o"..., 44) = 44
write(2, "./videoplayer.swf: Input/output "..., 37./videoplayer.swf:
Input/output error) = 37
write(2, "\n", 1
) = 1
read(7, "", 1) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(7) = 0
exit_group(1) = ?
Process 17607 detached
More information about the Gluster-devel
mailing list