Skip to contentSkip to conversation

RAIT device driver feasibility

DISCUSSION Ludovic Drolez 2 participants 4 messages Jan 13, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I'd like to know if it's easy to write a RAID like device for tapes (RAIT)...
For block devices, hooks are present in the kernel code, but for char devices, is there a way to implement a write function for example, which will write in parallel to N /dev/stX tape devices ?

RAIT already exists in Amanda, in user space, but I'd like to see a generic kernel RAIT driver which could be used by any backup program.

Cheers,

Signature · 3 lines
Ludovic DROLEZ                              Linbox / Free&ALter Soft
152 rue de Grigy - Technopole Metz 2000                   57070 METZ
tel : 03 87 50 87 90                            fax : 03 87 75 19 26
#1 lore raw
Quoted 2 lines · Ludovic Drolez

RAIT already exists in Amanda, in user space, but I'd like to see a generic kernel RAIT driver which could be used by any backup program.

Why kernel space - why not a user space shared library you can add to other tape apps?

#3 lore raw
In reply to Ludovic Drolez
Quoted 7 lines · Ludovic Drolez
Quoted 2 lines

Why kernel space - why not a user space shared library you can add to other tape apps?

A shared library which would override read(), write() in the program ? Why not...

But do you think you can chain/bounce, ioctl(), read(), writes from a char driver to another ?

I was thinking more of an easy to use shared library and adapting the various tape archiving apps to be able to use it, not emulation

#2 lore raw
In reply to Alan Cox
Quoted 7 lines · Alan Cox
Quoted 1 line · Ludovic Drolez

RAIT already exists in Amanda, in user space, but I'd like to see a generic kernel RAIT driver which could be used by any backup program.

Why kernel space - why not a user space shared library you can add to other tape apps?

A shared library which would override read(), write() in the program ? Why not...

But do you think you can chain/bounce, ioctl(), read(), writes from a char driver to another ?

Regards,

Signature · 3 lines
Ludovic DROLEZ                              Linbox / Free&ALter Soft
152 rue de Grigy - Technopole Metz 2000                   57070 METZ
tel : 03 87 50 87 90                            fax : 03 87 75 19 26