Compile a new kernel for E-Smith. Just look at this page:
http://www.onstreamdata.com/support/linux/di30_patch.html After compiling and installing the new kernel we need to change some scripts. First change the device type.
'/sbin/e-smith/db configuration setprop backup Device /dev/ht0'
'mkdir /etc/e-smith/templates-custom/etc'
'mkdir /etc/e-smith/templates-custom/etc/flexbackup.conf'
'cp /etc/e-smith/templates/etc/flexbackup.conf/10Blocksize /etc/e-smith/templates-custom/etc/flexbackup.conf'
'mcedit /etc/e-smith/templates-custom/etc/flexbackup.conf/10Blocksize'
Change the blocksize to '32' in this file. Onstream supports only 32K blocks.
'cp /etc/e-smith/templates/etc/flexbackup.conf/10filesystems /etc/e-smith/templates-custom/etc/flexbackup.conf/'
'mcedit /etc/e-smith/templates-custom/etc/flexbackup.conf/10filesystems'
Because of the backup of /boot is overwriting the former backup of / we need to add an extra line to /etc/e-smith/templates-custom/etc/flexbackup.conf/10filesystems. We will not backup /boot anymore.
Between these lines:
$1 !~ /^\/var/spool/squid/ &&
push @filesys, $1;
place this line:
$1 !~ /^\/boot/ &&
At last we need to recreate /etc/flexbackup.conf with our modifications:
'/sbin/e-smith/signal-event conf-backup'
When using a new tape first do:
'mt -f /dev/ht0 erase'
Somehow I still receive errors, but backup and restore works fine.
errors by tape erase (/var/log/messages):
Jul 4 06:20:56 e-smith kernel: ide-tape: ht0: invalid header identification string
Jul 4 06:20:56 e-smith last message repeated 4 times
Jul 4 06:21:40 e-smith kernel: ide-tape: ht0: couldn't read header frame
Jul 4 06:21:40 e-smith last message repeated 4 times
Jul 4 06:21:40 e-smith kernel: ide-tape: ht0: failed to find valid ADRL header
errors by restore (/var/log/messages):
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: I/O error, pc = 8, key = 3, asc = 11, ascq = 0
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: enabling read error recovery
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, read error
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, read error
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: I/O error, pc = 8, key = 3, asc = 11, ascq = 0
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: enabling read error recovery
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, read error
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, read error
Jul 4 05:46:31 e-smith kernel: ide-tape: ht0: skipping frame, frame type 8
Jul 4 05:46:31 e-smith last message repeated 9 times
Jul 4 05:46:59 e-smith kernel: ide-tape: ht0: skipping frame, eod
Jul 4 05:47:00 e-smith last message repeated 637 times
Jul 4 05:47:00 e-smith kernel: ide-tape: ht0: blank block detected, positioning tape to block 3000
Jul 4 05:48:07 e-smith e-smith[2368]:
Jul 4 05:48:07 e-smith e-smith[2368]: gzip: stdout: Broken pipe
Jul 4 05:48:07 e-smith e-smith[2368]: buffer (writer): write of data failed: Success
Jul 4 05:48:07 e-smith e-smith[2368]: bytes to write=32768, bytes written=4096, total written 154368K
Jul 4 05:48:07 e-smith e-smith[2368]: Verify tape and initialize maps
Jul 4 05:48:07 e-smith e-smith[2368]: Dump date: Wed Jul 4 05:33:25 2001
Jul 4 05:48:07 e-smith e-smith[2368]: Dumped from: the epoch
Jul 4 05:48:07 e-smith e-smith[2368]: Level 0 dump of / on e-smith:/dev/hda6
Jul 4 05:48:07 e-smith e-smith[2368]: Label: none
Jul 4 05:48:07 e-smith e-smith[2368]: Extract directories from tape
Jul 4 05:48:07 e-smith e-smith[2368]: Initialize symbol table.
Jul 4 05:48:07 e-smith e-smith[2368]: Extract requested files
maybe this is interesting for you
Luk Vermeylen wrote:
>
> Can someone deliver a kernel RPM that is bigger than 2.2.16
> so my onstream DI30 is recognized and so will be usable?