Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

chdev database locking

732 views
Skip to first unread message

Eddie Baron

unread,
Jun 5, 1992, 5:12:34 PM6/5/92
to
I went to chance the blocksize on my 8mm tapedrive. I had it at 0
which I use for tar tapes, but I wanted to restore a file from a
mksysb backup so I had to change it back to 512 and for the life of me
it wouldn't let me do it
i.e.
chdev -l rmt0 -a blocksize=512
returned
chdev: 0514-516 Device configuration database lock service timed out.

I finally got it to work by rebooting. What gives?
BTW: AIX 3.1.7 on a RS6000/320
Thanks, please respond via mail, I will post a summary.

ed baron (ba...@phyast.nhn.uoknor.edu)

Nightcrawler

unread,
Jun 6, 1992, 10:01:34 PM6/6/92
to
In article <baron.7...@phyast.nhn.uoknor.edu> ba...@phyast.nhn.uoknor.edu (Eddie Baron) writes:
++ I went to chance the blocksize on my 8mm tapedrive. I had it at 0
++ which I use for tar tapes, but I wanted to restore a file from a
++ mksysb backup so I had to change it back to 512 and for the life of me
++ it wouldn't let me do it
++ i.e.
++ chdev -l rmt0 -a blocksize=512
++ returned
++ chdev: 0514-516 Device configuration database lock service timed out.
++
++ I finally got it to work by rebooting. What gives?
++ BTW: AIX 3.1.7 on a RS6000/320
++ Thanks, please respond via mail, I will post a summary.
++
++ ed baron (ba...@phyast.nhn.uoknor.edu)

Ed,

For some reason or another, an instruction was given that added an entry
to the ODM (Object Data Manager) database files that specify and define your
machine's hardware configuration. Here's where we use the ODM database
itself to hack through unlocking your tape drive. BTW, my rootvg has locked
up numerous times before, and I just don't know what causes it. I'm hoping
we're thinking about the same problems.
Anyway, cd to /etc/objrepos. This is where the device configuration
databases are located. The ones beginning with "C" are your current specs,
the "P" ones are huge lists of all possibilities. Here's where we have fun
with a really simple database. It's simple to change database files, but I
haven't gotten around to writing programs that use the ODM.
For some reason, ODM doesn't like absolute pathnames, so do this:

$ cd /etc/objrepos
$ odme CuAt

to mess with the Current Attributes of your system. You can really screw
the rootvg, all subordinate volume groups, etc, so tread a bit carefully.
At the menu you see, choose the "Search/Edit" or something field. Now, it's
hunting time. Just look for the rmt0 entries in the first field, or the
columns "locked" and "y". ESC-4 that baby to get rid of that line, ESC-3,
save the change, and -- "presto!" -- you've got a tape drive you can change.
Heck, you can even change it while you're still in the ODM. Hope this is the
answer.

Later,

Payter.

;-)

--
Payter Y. Versteegen G * i Bang, bang, bang your head.
5454 Harper's Farm Rd #C4 o * n Bang it all around.
Columbia, MD 21044 S * t Merrily, merrily, merrily, merrily,
pay...@umbc4.umbc.edu a * s Life is here so you can bang your head...Yeah!

Charles Hannum

unread,
Jun 7, 1992, 3:13:43 PM6/7/92
to

In article <1992Jun7.0...@umbc3.umbc.edu> pay...@umbc4.umbc.edu

(Nightcrawler) writes:
>
> For some reason, ODM doesn't like absolute pathnames, so do this:
>
> $ cd /etc/objrepos
> $ odme CuAt

Are you sure you have ODMDIR set?
--
- Charles Hannum, myc...@ai.mit.edu
White atheist male (WAM) pride!

Paul Sangster

unread,
Jun 18, 1992, 10:13:05 AM6/18/92
to
Greetings,

I have recently attached a USR v32.bis modem to my 320H (running 3.1.5)
and have been having serious flow control problems during 9600bps +
communications. After searching info and man pages for information as
to how to enable hardware flow control (RTS/CTS) for AIX, I have come up
empty.

I am using 'ate' to establish a v32.bis connection between a pair of
these modems at 14,400 bps. The incoming data is very damaged. Any
suggestions or pointers to solve this problem (beside drop down to
2400 bps 8^)).

Paul
--
---------------------------------------------------------------------
Paul Sangster Internet: sang...@ans.net
Advanced Network & Services Phone: (703) 815-2820
Information & Applications Services Group

0 new messages