1753774 Members
6830 Online
108799 Solutions
New Discussion юеВ

Re: ignite tape error

 
BrianDoyle
Trusted Contributor

ignite tape error

Hi,
I'm trying to make an ignite tape but receive the below error.

This is the command I run:
make_tape_recovery -v -a /dev/rmt/0mn -x inc_entire=vg00


ERROR: Cannot stat device file:
/dev/vgtest1/lvol1: No such file or directory
(errno = 2). Check /etc/fstab for a bad entry.

** 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

* Checking Versions of Ignite-UX filesets

ERROR: The list_expander command failed. This could be due to a problem with
the -x options specified - Check the existence of the included
device(s).

======= 07/13/06 11:26:03 METDST make_tape_recovery completed unsuccessfully

==============

Dunno why /dev/vgtest1/lvol1 has anything to do with vg00......?
Any help appreciated....
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: ignite tape error

Shalom,

/dev/vgtest1/lvol1:

Has nothing to do with vg00

Except:

Part of vg00 is LVM configuration. The configuration there is looking for this vgtest volume group, its not there and the Ignite backup fails.

Therefore you need to clear it up before the Ignite backup will work.

strings /etc/lvmtab

If its listed there but no structure exists, you may need to do this:

mv /etc/lvmtab /etc/lvmtab.old

vgscan -a

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: ignite tape error

Ignite/UX spends a LOT of time verifying that you have a valid system and this includes looking at every volume group configuration. If vgtest no longer exists, use vgexport to remove the volume and run Ignite again. Otherwise, you'll have to repair vgtest before Ignite will run.


Bill Hassell, sysadmin
BrianDoyle
Trusted Contributor

Re: ignite tape error

I should have removed the lvols via LVM but instead i deleted them.

So when I create a new lvol, it starts from lvol3....
I even created lvol3 and renamed it lvol1 but didn't make any difference.
Bill Hassell
Honored Contributor

Re: ignite tape error

You remove a volume group using vgexport. If there are active lvols, you need to use lvremove (assuming the lvols have no data), then deactivate the volume with vgchange -a n.


Bill Hassell, sysadmin
BrianDoyle
Trusted Contributor

Re: ignite tape error

In the end I had to create the device files for the lv's (mknod /dev......c 64 0x12000 etc) and lvremoved them again after umounting them.

Ignite tapes sucessfully created.happy days!
thanks to all,
Brian