[Veritas-bu] Migrating master from Windows to Solaris
2003-10-07 15:01:37
Subject: |
[Veritas-bu] Migrating master from Windows to Solaris |
From: |
fahnoe AT FahnoeTech DOT com (Larry Fahnoe) |
Date: |
Tue, 7 Oct 2003 14:01:37 -0500 |
I added media id 888001 this morning.
bash-2.05# vmquery -m 888001
=============================================================================
media ID: 888001
media type: DLT cartridge tape (11)
barcode: 888001
description: test insert 1
volume pool: Bad (6)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 300
robot host: osiris.stp.mrll.com
volume group: 00_000_TLD
created: Tue Oct 07 07:53:48 2003
assigned: ---
last mounted: ---
first mount: ---
expiration date: ---
number of mounts: 0
max mounts allowed: ---
=============================================================================
bash-2.05# bpexpdate -ev 888001 -d 0
Are you SURE you want to delete 888001 y/n (n)? y
fatal NB media database error
bash-2.05# bperror -U -hoursago 1 -server osiris.stp.mrll.com
TIME SERVER/CLIENT TEXT
10/07/2003 13:10:15 osiris.stp.mrll.com - changing 888001 (host: -any-)
to expiration date Wed Dec 31 18:00:00 1969 (0)
10/07/2003 13:10:51 osiris.stp.mrll.com - altered 0 image records and
media with mediaid 888001
10/07/2003 13:10:51 osiris.stp.mrll.com - short read occurred reading
media database, bytes = 93
>From bptm log:
13:10:51 [18388] <2> bptm: INITIATING: -change_exp_date -ev 888001
-date 0
13:10:51 [18388] <2> db_byid: search for media id 888001
13:10:51 [18388] <2> getsockconnected: host=osiris.stp.mrll.com
service=bpdbm address=150.228.21.135 protocol=tcp
non-reserved port=13721
13:10:51 [18388] <32> db_get: short read occurred reading media
database, bytes = 93
13:10:51 [18388] <2> bptm: EXITING with status 91 <----------
After talking with Veritas support this morning (& hearing the
official stance on how unsupported this process is), I did gather some
helpful information on what components I should have migrated and
which should not have been. My sense now is that the volDB is okay,
and that the mediaDB is what has been broken. I ran dos2unix on the
whole netbackup/db tree, and I suspect I broke mediaDB in the
process. I think I'll scrap the data I currently have on the Solaris
server and try the restore steps again, but this time be more
selective in what "text" files I convert.
Opinions?
--Larry
On Tue, Oct 07, 2003 at 10:52:40AM -0600, David Chapa commenced mumbling:
> Larry:
>
> What's the error when you try to expire media?
--
Larry Fahnoe, Fahnoe Technology Consulting, fahnoe AT FahnoeTech DOT com
952/925-0744 Minneapolis, Minnesota www.FahnoeTech.com
|
|
|