Ticket #358 (assigned defect)

Opened 10 months ago

Last modified 9 months ago

mondo never takes HP LTO SAS drive out of OBDR mode during restore

Reported by: tastle73 Assigned to: bruno (accepted)
Priority: normal Milestone: 2.2.10
Component: mondo Version: 2.2.9
Severity: normal Keywords:
Cc:

Description

I was testing OBDR resore in mondo/mindi with my new LTO-2 drive attached via SAS and it boot ok right up until where I think it has to switch the drive out of OBDR mode. It panics saying that /dev/nst0 is not an extended data drive

If I powercycle the drive at that point and then let it get rediscovered and type in the /dev/nst0 device, it proceeds and finishes.

Centos 5.3 x86_64 HP SAS LTO-2 drive

Attachments

mondorestore.log (382.5 kB) - added by tastle73 on 10/13/09 18:44:47.
mondorestore.log

Change History

10/09/09 13:58:58 changed by bruno

  • status changed from new to assigned.

Can you get the /var/log/mondorestore.log file generated during that restore. Even better if you can launch manually mondorestore -Z 99 to generate a more verbose one.

10/13/09 18:44:47 changed by tastle73

  • attachment mondorestore.log added.

mondorestore.log

10/13/09 18:49:27 changed by tastle73

  • version changed from 2.2.8 to 2.2.9.

11/12/09 02:26:56 changed by bruno

Ok, I see where the problem hriives.

It's not a panic. It's just that some commands to not succeed ,and the init process ask you to give the correct device instead. Of course, in your case that's the name that needs to be given.

So to fix htis issue, we need to know why the following commands are failing at that point (after the OBDR boot):

mt -f /dev/nst0 rewind
mt -f /dev/nst0 fsf 2
dd if=/dev/nst0 bs=32k count=1024 | tar -zx

I know another perso nwho did the following to its tape drive in order to make it work (but context completely different):

I have reconfigured the tape drive in non OBDR mode, in this way:

1) power cycle tape drive
2) from another shell (Alt+F2)
   - echo "scsi remove-single-device 1 0 3 0" > /proc/scsi/scsi
   - modprobe st
   - echo "scsi add-single-device 1 0 3 0" > / proc/scsi/scsi
   to reconfigure the tape drive in Sequencial-Access mode

Does it also work in your case ?