Arla 0.42-RC2

Jean-Damien Durand Jean-Damien.Durand at cern.ch
Thu Mar 30 16:32:58 CEST 2006


On Wednesday, 29 March 2006 17:15, Tomas Olsson wrote:
> Hello, 
> it's time for a release again, with universal binaries for the mac users,
> support for modern linux, etc. I've prepared a 0.42-RC2, and I hope you all
> will stress it as much as you can to help us get the last bugs out before
> we roll a final 0.42.
> 
> One interesting thing to try out is rename() (as in 'mv') between AFS
> volumes. Arla now helps out by doing a copy + remove, since Finder
> doesn't. Currently only works within the same cell, but it should handle
> mountpoints and various kinds of links properly.

I tried the rename of a file of 272M (could not do more, sorry) under linux-2.6.16 and
it seems to have worked. FYI I attach the syslog (captured with fs arladebug all). This is
a real rename() of course, not an 'mv'.

During the rename I did three time ls on the source and target files. The target did not show up
immediately, I guess this was the arla 'read' phase. Just before the end, the two files appeared
with same size. After completion only the target appeared.

I'll package it for debian. Same location as before.

Thanks, JD.

PS: Just in case others might want to test it, the source follow.

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>

int main(argc,argv)
     int argc;
     char **argv;
{
  if (argc != 3) {
    fprintf(stderr,"Usage: %s orig new\n", argv[0]);
    exit(EXIT_FAILURE);
  }
  printf("Doing: rename(\"%s\",\"%s\")\n", argv[1], argv[2]);
  if (rename(argv[1],argv[2]) != 0) {
    fprintf(stderr,"rename error No %d (%s)\n", errno, strerror(errno));
    exit(EXIT_FAILURE);
  }
  exit(EXIT_SUCCESS);
}
-------------- next part --------------
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: processing
Mar 30 16:22:19 pcitds04 arla[22665]: Rec message: opcode = 6 (getattr), size = 40
Mar 30 16:22:19 pcitds04 arla[22665]: getattr (15.537093198.1.1)
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: doing read_attr
Mar 30 16:22:19 pcitds04 arla[22665]: trying to fetch status: 0
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: done get attr
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: return: 0
Mar 30 16:22:19 pcitds04 arla[22665]: Multi-send: opcode = 7 (installattr), size = 152
Mar 30 16:22:19 pcitds04 arla[22665]: multi-sending wakeup: seq = 293, error = 0
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: done
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0 waiting
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: processing
Mar 30 16:22:19 pcitds04 arla[22665]: Rec message: opcode = 6 (getattr), size = 40
Mar 30 16:22:19 pcitds04 arla[22665]: getattr (15.537093198.21.4684)
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: doing read_attr
Mar 30 16:22:19 pcitds04 arla[22665]: trying to fetch status: 0
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: done get attr
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: return: 0
Mar 30 16:22:19 pcitds04 arla[22665]: Multi-send: opcode = 7 (installattr), size = 152
Mar 30 16:22:19 pcitds04 arla[22665]: multi-sending wakeup: seq = 294, error = 0
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: done
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0 waiting
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: processing
Mar 30 16:22:19 pcitds04 arla[22665]: Rec message: opcode = 6 (getattr), size = 40
Mar 30 16:22:19 pcitds04 arla[22665]: getattr (15.536968951.1.1)
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: doing read_attr
Mar 30 16:22:19 pcitds04 arla[22665]: trying to fetch status: 0
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: done get attr
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: return: 0
Mar 30 16:22:19 pcitds04 arla[22665]: Multi-send: opcode = 7 (installattr), size = 152
Mar 30 16:22:19 pcitds04 arla[22665]: multi-sending wakeup: seq = 295, error = 0
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: done
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0 waiting
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: processing
Mar 30 16:22:19 pcitds04 arla[22665]: Rec message: opcode = 4 (getnode), size = 296
Mar 30 16:22:19 pcitds04 arla[22665]: getnode (15.536968951.1.1) "w0"
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:22:19 pcitds04 arla[22665]: read_data
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: doing read_attr
Mar 30 16:22:19 pcitds04 arla[22665]: trying to fetch status: 0
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: doing read_attr
Mar 30 16:22:19 pcitds04 arla[22665]: trying to fetch status: 0
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: done get attr
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: return: 0
Mar 30 16:22:19 pcitds04 arla[22665]: Multi-send: opcode = 5 (installnode), size = 424
Mar 30 16:22:19 pcitds04 arla[22665]: multi-sending wakeup: seq = 296, error = 0
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: done
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0 waiting
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: processing
Mar 30 16:22:19 pcitds04 arla[22665]: Rec message: opcode = 4 (getnode), size = 296
Mar 30 16:22:19 pcitds04 arla[22665]: getnode (15.537301097.1.1) "testfile"
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:22:19 pcitds04 arla[22665]: read_data
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: doing read_attr
Mar 30 16:22:19 pcitds04 arla[22665]: trying to fetch status: 0
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: done get attr
Mar 30 16:22:19 pcitds04 arla[22665]: cm_getattr: return: 0
Mar 30 16:22:19 pcitds04 arla[22665]: Multi-send: opcode = 5 (installnode), size = 424
Mar 30 16:22:19 pcitds04 arla[22665]: multi-sending wakeup: seq = 297, error = 0
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: done
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0 waiting
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: processing
Mar 30 16:22:19 pcitds04 arla[22665]: Rec message: opcode = 4 (getnode), size = 296
Mar 30 16:22:19 pcitds04 arla[22665]: getnode (15.537303193.23.3808) "testfile2"
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:22:19 pcitds04 arla[22665]: multi-sending wakeup: seq = 298, error = 2
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: done
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0 waiting
Mar 30 16:22:19 pcitds04 arla[22665]: worker 0: processing
Mar 30 16:22:19 pcitds04 arla[22665]: Rec message: opcode = 21 (rename), size = 568
Mar 30 16:22:19 pcitds04 arla[22665]: rename (15.537301097.1.1) (15.537303193.23.3808) "testfile" "testfile2"
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:22:19 pcitds04 arla[22665]: Rename: Invalid cross-device link
Mar 30 16:22:19 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:22:19 pcitds04 arla[22665]: read_data
Mar 30 16:22:25 pcitds04 arla[22665]: running cleaner: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:22:25 pcitds04 arla[22665]: cleaner done: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:22:35 pcitds04 arla[22665]: running cleaner: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:22:35 pcitds04 arla[22665]: cleaner done: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:22:45 pcitds04 arla[22665]: running cleaner: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:22:45 pcitds04 arla[22665]: cleaner done: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:22:55 pcitds04 arla[22665]: running cleaner: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:22:55 pcitds04 arla[22665]: cleaner done: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:05 pcitds04 arla[22665]: running cleaner: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:05 pcitds04 arla[22665]: cleaner done: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:15 pcitds04 arla[22665]: running cleaner: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:15 pcitds04 arla[22665]: cleaner done: 135 (30000-(40000)-40000) files, 285348442 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:23 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:23:25 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570561114 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:25 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570561114 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:29 pcitds04 arla[22665]: InitCallBackState (137.138.251.8)
Mar 30 16:23:29 pcitds04 arla[22665]: Send message: opcode = 11 (invalidnode), size = 32
Mar 30 16:23:29 pcitds04 last message repeated 2 times
Mar 30 16:23:29 pcitds04 arla[22665]: worker 1: processing
Mar 30 16:23:29 pcitds04 arla[22665]: Rec message: opcode = 10 (inactivenode), size = 40
Mar 30 16:23:29 pcitds04 arla[22665]: inactivenode (15.536870916.1.1)
Mar 30 16:23:29 pcitds04 arla[22665]: Rec message: opcode = 10 (inactivenode), size = 40
Mar 30 16:23:29 pcitds04 arla[22665]: inactivenode (15.537093198.1.1)
Mar 30 16:23:29 pcitds04 arla[22665]: Rec message: opcode = 10 (inactivenode), size = 40
Mar 30 16:23:29 pcitds04 arla[22665]: inactivenode (15.537093198.21.4684)
Mar 30 16:23:29 pcitds04 arla[22665]: worker 1: done
Mar 30 16:23:29 pcitds04 arla[22665]: worker 1 waiting
Mar 30 16:23:35 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:35 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:45 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:45 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:55 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:23:55 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:05 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:05 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:09 pcitds04 arla[22665]: fcache_get_attr: have attr
Mar 30 16:24:09 pcitds04 last message repeated 2 times
Mar 30 16:24:09 pcitds04 arla[22665]: Multi-send: opcode = 9 (installdata), size = 504
Mar 30 16:24:09 pcitds04 arla[22665]: Multi-send: opcode = 9 (installdata), size = 504
Mar 30 16:24:09 pcitds04 arla[22665]: multi-sending wakeup: seq = 299, error = 0
Mar 30 16:24:09 pcitds04 arla[22665]: worker 0: done
Mar 30 16:24:09 pcitds04 arla[22665]: worker 0 waiting
Mar 30 16:24:15 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:15 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:25 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:25 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:35 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:35 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:45 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:45 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:55 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:24:55 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:25:05 pcitds04 arla[22665]: running cleaner: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:25:05 pcitds04 arla[22665]: cleaner done: 136 (30000-(40000)-40000) files, 570559066 (734003200-1468006400) bytes 0 needed bytes
Mar 30 16:25:08 pcitds04 arla[22665]: InitCallBackState (137.138.251.10)
Mar 30 16:25:08 pcitds04 arla[22665]: Send message: opcode = 11 (invalidnode), size = 32
Mar 30 16:25:08 pcitds04 arla[22665]: worker 0: processing
Mar 30 16:25:08 pcitds04 arla[22665]: Rec message: opcode = 10 (inactivenode), size = 40
Mar 30 16:25:08 pcitds04 arla[22665]: inactivenode (15.536968951.1.1)
Mar 30 16:25:08 pcitds04 arla[22665]: Rec message: opcode = 10 (inactivenode), size = 40
Mar 30 16:25:08 pcitds04 arla[22665]: inactivenode (15.537301097.1.1)
Mar 30 16:25:08 pcitds04 arla[22665]: Send message: opcode = 27 (delete node), size = 32
Mar 30 16:25:08 pcitds04 arla[22665]: worker 0: done
Mar 30 16:25:08 pcitds04 arla[22665]: worker 0 waiting


More information about the Arla-drinkers mailing list