if you uncomment the execution of TableConvert, then no data will
be copied. Your problem has to do with a missing 540.idx file.
This index file should be there after table 540 has been written to
the disk (in the directory from which you run Behemoth)
It should be around 80mbytes in size. Maybe your filesystem is full?

On Tue, Mar 15, 2011 at 08:48:49AM +0000, MATTHEW EVANS wrote:
> Helps if you uncomment the call to TableConvert! Must get more sleep!
> 
> Sorry to trouble you all :)
> 
> 
> 
> ----- Original Message ----
> From: MATTHEW EVANS <mattjev...@btinternet.com>
> To: a51@lists.reflextor.com
> Sent: Tuesday, 15 March, 2011 7:29:59
> Subject: Can't get Behemoth.py working?
> 
> Hi all,
> 
> I would appreciate some advice. I have a 2.0TB disk with the Berlin dlt 
> tables 
> (48 tables named XXX.dlt). I have a second 2.0TB disk that I want to write 
> the 
> tables to (just using 1 disk for now). I have followed Frank's guide but I 
> cannot get the script to run successfully.
> 
> I have formatted the target drive with 1 partition (sdb1) Ext4.
> 
> I have added a 10-disk.rules with: 
> 
> KERNEL=="sdb1", OWNER="matt"
> 
> I have taken ownership: 'chown matt /dev/sdb' and 'chown matt /dev/sdb1'
> 
> My tables.conf has the following:
> 
> #Devices:  dev/node max_tables
> Device: /dev/sdb1 50
> #Tables: dev id(advance) offset
> 
> I have copied the TableConvert app to the indexes folder.
> 
> My drive containing the dlt tables (/sda) is mounted as 'Tables'.
> 
> Here is my output:
> 
> matt@kraken:~/kraken/indexes$ ./Behemoth.py /media/Tables/
> Adding table:  /media/Tables//540.dlt 540
> ./TableConvert di /media/Tables//540.dlt /dev/sdb1:0 540.idx
> Adding table:  /media/Tables//276.dlt 276
> Traceback (most recent call last):
>   File "./Behemoth.py", line 136, in <module>
>     c = AddRecurse(sys.argv[1],"",c)
>   File "./Behemoth.py", line 131, in AddRecurse
>     config = AddDeltaTable(src,int(rematch.group(1)),config)
>   File "./Behemoth.py", line 101, in AddDeltaTable
>     free = FindNextFree(config)
>   File "./Behemoth.py", line 60, in FindNextFree
>     s = os.lstat("%i.idx"%(maxid,))
> OSError: [Errno 2] No such file or directory: '540.idx'
> matt@kraken:~/kraken/indexes$ 
> 
> Could someone please advise? I'm sure it is something simple I am missing!
> 
> Cheers,
> 
> Matt.
> 
> _______________________________________________
> A51 mailing list
> A51@lists.reflextor.com
> http://lists.lists.reflextor.com/cgi-bin/mailman/listinfo/a51
_______________________________________________
A51 mailing list
A51@lists.reflextor.com
http://lists.lists.reflextor.com/cgi-bin/mailman/listinfo/a51

Reply via email to