1834055 Members
2386 Online
110063 Solutions
New Discussion

Sudo problem

 
Anand Sreenivasan
Regular Advisor

Sudo problem

This is the message I am getting and It is not finding the default device . What could have changed it . I dont want to include the device name in the make_tape_recovery command. Thanks for the help.

Wed May 19 12:22:08 EDT 2004
Make Tape recovery is in Progress...

** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive

ERROR: Tape destination is not found on the system.No such file or
directory (errno = 2)
ERROR: Check tape device failed.
* Creating local directories for configuration files and archive.
6 REPLIES 6
Victor Fridyev
Honored Contributor

Re: Sudo problem

Hi,

You have to recreate your tape devices and to rename the tape drive for the backup as /dev/rmt/0m /dev/rmt/0mn

HTH
Entities are not to be multiplied beyond necessity - RTFM
RAC_1
Honored Contributor

Re: Sudo problem

Do you have tape device on machine? If yes, is it claimed in ioscan?

Also are device files for the tape device in place?

If not you do insf -ev -Ctape and do lssf on each of the tape device files.

lssf /dev/rmt/*

Anil
There is no substitute to HARDWORK
Mel Burslan
Honored Contributor

Re: Sudo problem

unless you are specifically driving the make_recovery command to a different tape drive, you seem to be missing one or more of the /dev/rmt/0m* drivers. do an "ll /dev/rmt/" and see if your devices are still there and have correct permissions. you should see an output like this one :

crw-rw-rw- 2 bin bin 205 0x020000 May 12 17:32 0m
crw-rw-rw- 2 bin bin 205 0x020080 May 12 17:32 0mb
crw-rw-rw- 2 bin bin 205 0x020040 May 12 17:32 0mn
crw-rw-rw- 2 bin bin 205 0x0200c0 May 12 17:32 0mnb

HTH
________________________________
UNIX because I majored in cryptology...
Sanjay_6
Honored Contributor

Re: Sudo problem

Hi,

By default the device used to create an archive is /dev/rmt/0mn. If your default tape drive is not /dev/rmt/0mn then you'll have to define the destination in the make_tape_recovery command.

Hope this helps.

Regds
Bill Hassell
Honored Contributor

Re: Sudo problem

The default device is /dev/rmt/0mn. If you don't have that device file attached to your tape drive, then make_tape_recovery will fail. I would be very concerned about wanting to default options, especially in a critical backup program. There are too many options to remember so it should be scripted to make sure it is done correctly. I personally watched serveral sysadmins turn white as they realized that two years' worth of backup tapes were worthless because they had the wrong options. DON'T use all defaults (no options) to run make_tape_recovery--it will produce template or skeleton copy of your system and cannot be used to restore your system, only to create a new one with no applications.


Bill Hassell, sysadmin
Bruno Ganino
Honored Contributor

Re: Sudo problem

Like others wrote
you must to define the tape destination in the make_tape_recovery command.

Bruno
Torino (Turin) +2H