From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7f6653d50b4de9f3 X-Google-Attributes: gidfee84,public From: "Adam Price" Subject: Re: Upgrade to V4.0 Complains of DDR.DB. Date: 1999/04/06 Message-ID: <923464213.7396.0.nnrp-02.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 463528606 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <370a3d29.81526358@192.9.200.40> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 923464213 nnrp-02:7396 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.unix.osf.osf1 Hi John, I've sent you this by email as well, but I would really rather do this in the newsgroup, since then if I make any mistakes someone will correct me and I can learn, otherwise I gain nothing from the interaction. This way I think we all benefit >Adam: > >Your assistance in this whole matter of migrating my system to a larger >drive has helped greatly. Thanks > "The following filesystems had unexpected inconsistencies: > > /dev/rrz6g (/rz6g) BAD SUPER BLOCK ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This looks like an error in /etc/fstab > /dev/rrz6h (/usl) MAGIC NUMBER WRONG ^^^^^^^^^^^^^^^^^^^^^^^ This looks bad too > > Automatic reboot failed. Run fsck manually. Reapair filesystem, and >reboot." > >I then attempted a manual fsck, but it doesn't work. What do you mean manual? Did you just type fsck and let it go or, assuming / is /dev/rz6a and /usr is /dev/rz6g, did you try fsck /dev/rz6a fsck /dev/rz6g At boot time a script called bcheckrc will run, it will call fsck with the names of the mount points ie fsck / ; fsck /usr etc > >I noticed a message during the reboot attempt... > > "Unable to open the device database, ddr.db" I never came accross problems with this, but I only ever get to use standard DEC parts, so they are always supported. The manual says --- BEGIN QUOTE When you make a change to the operating parameters or characteristics of a SCSI device, you must describe the changes in the /etc/ddr.dbase file. You must compile the changes by using the ddr_config -c command. Two common reasons for changes are: Your device deviates from the SCSI standard or reports something different from the SCSI standard You want to optimize device defaults, most commonly the TagQueueDepth parameter, which specifies the maximum number of active tagged requests the device supports You use the ddr_config -c command to compile the /etc/ddr.dbase file and produce a binary database file, /etc/ddr.db. When it is notified that the file's state has changed, the kernel loads the new /etc/ddr.dbase file. In this way, the SCSI CAM I/O subsystem is dynamically updated with the changes that you made in the /etc/ddr.dbase file and the contents of the on-disk database are synchronized with the contents of the in-memory database. Use the following procedure to compile the /etc/ddr.dbase database: Log in as root or become the superuser. Enter the ddr_config -c command, for example: # /sbin/ddr_config -c # When the prompt is displayed, the compilation is complete. If there are syntax errors, they are displayed at standard output and no output file is compiled. --- END QUOTE >I read something about the Dynamic Device Recognition for SCSI Devices on >p. 1-43 in the V4.0 release notes. It must be related somehow to this. > >The result is that I've got a problematic install of V4.0 on one drive >telling me that I must correct this DDR problem before proceeding. The >good thing is that I can revert to my good bootable system of V3.2C on a >separate drive. > >Ever seen anything like this Adam? Never seen this but my troubleshooting procedure would run like this. Assuming 4.0X installed on scsi bus 0 target 6 lun 0 (DKA600 at boot prompt, /dev/rrz6c from inside unix) 3.2X installed on scsi bus 0 target 0 lun 0 (DKA0 at boot prompt, /dev/rrz0c from inside unix) >From the console prompt boot DUX4 in single user mode from the generic console. >>> boot -fl s -file genvmunix dka600 wait for root prompt # fsck /dev/rz6a # mount -u /dev/rz6a / OK now we have a root filesystem # mkdir /oldsys # fsck /dev/rz1a # mount /dev/rz1a /oldsys OK now we have both systems mounted # diff /etc/fstab /oldsys/etc/fstab The differences should be the numbers in the device names, all references to rz1 in the 3.2 system should say rz6 in the dux4 system. Hope this helps Adam