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
[email protected]
http://lists.lists.reflextor.com/cgi-bin/mailman/listinfo/a51

Reply via email to