Koozali.org: home of the SME Server

Flexbackup error

John Bennett

Flexbackup error
« on: January 08, 2001, 01:30:05 AM »
I am trying to get flexbackup to work on my home pc.  Everything installs fine.  
The following is the output I get, when trying to run flexbackup.


[root@e-smith /etc]# /usr/bin/flexbackup -fs all

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
Error setting block size
Neither of these commands worked:
  mt -f /dev/nst0 setblk 0
  mt -f /dev/nst0 defblksize 0


I am not sure how to troubleshoot this.

Thanks,

JB

Charlie Brady

Re: Flexbackup error
« Reply #1 on: January 08, 2001, 01:49:36 AM »
John Bennett wrote:

> |------------------------------------------------
> | Trying "mt defblksize" instead of "mt setblk"
> Error setting block size
> Neither of these commands worked:
>   mt -f /dev/nst0 setblk 0
>   mt -f /dev/nst0 defblksize 0

Do you have a SCSI tape drive, and SCSI host adaptor? If not, you will have some fiddling with configuration to do. If you do have a SCSI adaptor, and it wasn't there when you installed the system, then you will need to have a line:

alias scsi_host_adapter xxxxx

in /etc/conf.modules, where xxxxx is the name of the SCSI driver appropriate to your SCSI adapter.

Regards

Charlie

Darrell May

Re: Flexbackup error
« Reply #2 on: January 08, 2001, 03:40:20 AM »
John Bennett wrote:
>
> I am trying to get flexbackup to work on my home pc.
> Everything installs fine.
> The following is the output I get, when trying to run
> flexbackup.
>
>
> [root@e-smith /etc]# /usr/bin/flexbackup -fs all
>
> flexbackup version 0.9.8
> /etc/flexbackup.conf syntax OK
>
> |------------------------------------------------
> | Trying "mt defblksize" instead of "mt setblk"
> Error setting block size
> Neither of these commands worked:
>   mt -f /dev/nst0 setblk 0
>   mt -f /dev/nst0 defblksize 0
>

Definitely would help if you supplied your hardware configuration.  Assuming you have a scsi tape drive correctly installed, what is the output of the following command:

mt -f /dev/st0 status

If you have an ide tape drive try this command:

mt -f /dev/ht0 status

If either reports 'no such device' the hardware is not being recognised.

Darrell

John Bennett

Re: Flexbackup error
« Reply #3 on: January 08, 2001, 04:57:14 AM »
Thanks Charile for the support on a Sunday.  I needed that line and now all is good.  Next time I'll post this to the new user forum.  Is there a way to make Linux go through some type of auto config or auto probing of new devices, or is this the way it must be done.  (Manually editing this file).  Also, any suggested reading for bringing up my Linux skills?

Thanks,

JB