<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: msfs_mount error... in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054174#M7569</link>
    <description>Sorry, but you told us that you copied over several files used the command "hwmgr". And we found no link that you are using LSM or changed kernel parameters..... &lt;BR /&gt;&lt;BR /&gt;Have you tried the dsfmgr -s and dsfmgr -v -F to verify and fix device special file problems?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 23 Aug 2003 14:27:49 GMT</pubDate>
    <dc:creator>Ralf Puchner</dc:creator>
    <dc:date>2003-08-23T14:27:49Z</dc:date>
    <item>
      <title>msfs_mount error...</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054171#M7566</link>
      <description>Well, here goes my first question.  During boot, an ES40 running Tru64 V5.1A issues the following messages:&lt;BR /&gt;&lt;BR /&gt;      Mounting / (root)&lt;BR /&gt;      msfs_mount: The mount device does not match the linked device.&lt;BR /&gt;      Check linked device in /etc/fdmns/domain&lt;BR /&gt;      msfs_mount: Setting root device name to root_device RW&lt;BR /&gt;&lt;BR /&gt;A "df" command shows that, as indicated, the root filesystem is not root_domain#root, but is root_device.&lt;BR /&gt;&lt;BR /&gt;A check of /etc/fdmns/root_domain shows that the only link for root_domain is dsk0a.  The&lt;BR /&gt;scu utility shows that dsk0 is on bus 0, target 0, and LUN 0.  This is known as DKA0 by the SRM console.  So, what is the problem?&lt;BR /&gt;&lt;BR /&gt;The curious thing is that hwmgr shows the disks off of SCSI buses 0 and 1 (two disks on each bus), but it doesn't know what the device names are!  That is, "hwmgr -view hierarchy" shows something like:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;63:   disk bus-0-targ-0-lun-0 WWID:gobbldy-gook&lt;BR /&gt;&lt;BR /&gt;On another system, the output is:&lt;BR /&gt;&lt;BR /&gt;39:   disk bus-1-targ-0-lun-0 dsk0&lt;BR /&gt;&lt;BR /&gt;Curiously, "hwmgr -view devices" outputs nothing at all!  I've tried to look at the&lt;BR /&gt;hwmgr NAME subsystem, but that isn't there either.&lt;BR /&gt;&lt;BR /&gt;The history on this that I have is that a KGPSA card was recently replaced.  The hardware folks had some difficulty making the new card work, and the system manager noticed this problem after the system was "fixed".&lt;BR /&gt;&lt;BR /&gt;No devices are currently in use off of the HSG80, so we don't think that the KGPSA is the problem.  I think that the device database files are messed up somehow, but I can't seem to get them fixed.&lt;BR /&gt;&lt;BR /&gt;I've booted off of the V5.1A CD-ROM, and exited the installation.  From there hwmgr shows the devices just fine, and knows the dsk names.  I tried copying the data files from /var/etc onto dsk0/etc, but that didn't fix the problem.&lt;BR /&gt;&lt;BR /&gt;Oh, yes.  Even more fun.  dsfmgr core dumps&lt;BR /&gt;leaving some lock in place.  I've been rebooting to clear that problem.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-Derek&lt;BR /&gt;&lt;BR /&gt;BTW, Where is Mike G. when I need him?  :)</description>
      <pubDate>Thu, 21 Aug 2003 16:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054171#M7566</guid>
      <dc:creator>Derek Haining</dc:creator>
      <dc:date>2003-08-21T16:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: msfs_mount error...</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054172#M7567</link>
      <description>Derek,&lt;BR /&gt;&lt;BR /&gt;please read the device management section within the administration guide. With your type of troubleshooting and copy the databases are totally damaged.&lt;BR /&gt;&lt;BR /&gt;First hwmgr uses a dynamic database updated every time the system boots. So booting the os from cd leads to a new database not identically with your database on the real boot device.&lt;BR /&gt;&lt;BR /&gt;Btw. it is not a good idea to copy /dev/* to the boot disk because the devices are not representing the database!&lt;BR /&gt;&lt;BR /&gt;Please try the following:&lt;BR /&gt;&lt;BR /&gt;1. &amp;gt;&amp;gt;&amp;gt; boot -fl s  (to boot to single user mode)&lt;BR /&gt;2. mount -u /&lt;BR /&gt;3. dn_setup -init&lt;BR /&gt;4. dsfmgr -K&lt;BR /&gt;&lt;BR /&gt;After running this procedure check with the command&lt;BR /&gt;&lt;BR /&gt;# hwmgr -show scsi &lt;BR /&gt;&lt;BR /&gt;if the devices are identically to previous Id's (dsk0 is root device etc.) if not use hwmgr and dsfmgr to change the device names.&lt;BR /&gt;&lt;BR /&gt;If this doesn't help you must restore a backup from /etc and /dev&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2003 06:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054172#M7567</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2003-08-22T06:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: msfs_mount error...</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054173#M7568</link>
      <description>Ralf,&lt;BR /&gt;&lt;BR /&gt;Thank you for your suggestions, but they&lt;BR /&gt;don't solve the problem.&lt;BR /&gt;&lt;BR /&gt;I've tried dn_setup -init, as well as some of the other dn_setup options.  Also, as I indicated in my first post, dsfmgr core dumps.&lt;BR /&gt;&lt;BR /&gt;That is, it did not work.&lt;BR /&gt;&lt;BR /&gt;The "hwmgr -show scsi", if I recall correctlty, essentially shows the same data&lt;BR /&gt;as "scu show edt".  I've just compared the&lt;BR /&gt;output and, as I thought, they show essentially the same data.  The one major difference is that "hwmgr -show scsi" shows&lt;BR /&gt;the device names associated with each BTL.  However, as I also indicated, there was no NAMES database!  Thus, the device names were always blank, and a "hwmgr -view devices" returned NOTHING.&lt;BR /&gt;&lt;BR /&gt;What we've found at this point is that&lt;BR /&gt;"dsfmgr -K" core dumps in single user&lt;BR /&gt;mode and leaves a session lock in place.&lt;BR /&gt;If, however, rather than trying to create&lt;BR /&gt;the device special files from single user&lt;BR /&gt;mode you simply exit and come up to&lt;BR /&gt;multi-user mode, dsfmgr is run (with the&lt;BR /&gt;-K flag, according to the documentation)&lt;BR /&gt;and it successfully creates the device&lt;BR /&gt;special files.&lt;BR /&gt;&lt;BR /&gt;The original problem was eventually tracked&lt;BR /&gt;down to a setting in /etc/sysconfigtab.  I see&lt;BR /&gt;that I didn't include some data in the original message.  Here that is:&lt;BR /&gt;&lt;BR /&gt;After getting back the system from the hardware folks who had replaced the KGPSA card, it was discovered that several of the persistent device database files had become corrupted.  (Specifically, they had been overwritten with e-mail messages.  How?  You got me.)  Thus started the odyssey of trying&lt;BR /&gt;to recreate these files.  In addition, it was learned earlier today that a TZ89 on a local SCSI bus had been connected "improperly".  Exactly what this means I don't know, but we could not see the tape drive as a result.  That problem has been corrected.&lt;BR /&gt;&lt;BR /&gt;Now, the system was using LSM to mirror the boot device.  (/ and /usr)  Because of the damage to the operating system, the mirror was&lt;BR /&gt;forcibly broken by disabling LSM.  The original mount problem was caused by a missed setting in sysconfigtab.  That was:&lt;BR /&gt;&lt;BR /&gt;    lsm_rootdev_is_volume=1&lt;BR /&gt;&lt;BR /&gt;When this variable was set to 0, the msfs_mount problem went away.  I believe that msfs_mount was looking for a device name of&lt;BR /&gt;root_vol (or /dev/vol/rootdg/rootvol).  Not finding that, it issued the message.&lt;BR /&gt;&lt;BR /&gt;Correcting this problem, however, did not fix the dsfmgr -K problem.  It still dumps core if run in single user mode.  Although your instructions were very similar to those I had used earlier, we tried to follow them as given.  As I expected, the dsfmgr -K failed.&lt;BR /&gt;I don't know what is causing this problem.&lt;BR /&gt;&lt;BR /&gt;Oh, the tape drive was being seen as an "unknown" device.  It had device special&lt;BR /&gt;files in /dev/none.  After quite a bit of futzing around, we now have /dev/tape entries for the TZ89.&lt;BR /&gt;&lt;BR /&gt;Anyway, thanks for your help.</description>
      <pubDate>Fri, 22 Aug 2003 19:06:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054173#M7568</guid>
      <dc:creator>Derek Haining</dc:creator>
      <dc:date>2003-08-22T19:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: msfs_mount error...</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054174#M7569</link>
      <description>Sorry, but you told us that you copied over several files used the command "hwmgr". And we found no link that you are using LSM or changed kernel parameters..... &lt;BR /&gt;&lt;BR /&gt;Have you tried the dsfmgr -s and dsfmgr -v -F to verify and fix device special file problems?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Aug 2003 14:27:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054174#M7569</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2003-08-23T14:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: msfs_mount error...</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054175#M7570</link>
      <description>Ralf,&lt;BR /&gt;&lt;BR /&gt;Sorry I didn't get back on this topic sooner.  I thought that I had indicated that&lt;BR /&gt;the original problem had been solved.&lt;BR /&gt;&lt;BR /&gt;Out there on the HP web site (I couldn't&lt;BR /&gt;tell you exactly where at this point) is a&lt;BR /&gt;document that describes how to rebuild the&lt;BR /&gt;entire persistent hardware database.  Roughly&lt;BR /&gt;it says to delete all of the /etc/dec*.db&lt;BR /&gt;files, as well as /etc/dccd*, /etc/dcdd*,&lt;BR /&gt;and all of the device-special files.  Of&lt;BR /&gt;course, this is easiest to do if you boot&lt;BR /&gt;from the operating system CD-ROM.&lt;BR /&gt;&lt;BR /&gt;This we tried.  The copy I mentioned in the&lt;BR /&gt;first note was that I copied all of the&lt;BR /&gt;device database files that were generated&lt;BR /&gt;by the OS installation CD-ROM onto the hard&lt;BR /&gt;drive.  I knew that these were in a consistent&lt;BR /&gt;state.  I seem to remember that part of the&lt;BR /&gt;hardware database is rebuilt on every boot,&lt;BR /&gt;and part of it is persistent.&lt;BR /&gt;&lt;BR /&gt;(To "ignore" the persistent portion when&lt;BR /&gt;booting the OS CD-ROM, you clear the SRM&lt;BR /&gt;environment variable BOOT_DEFDEV.  Then the&lt;BR /&gt;procedure doesn't know what disk to look&lt;BR /&gt;at to find the persistent database, so it&lt;BR /&gt;doesn't look.)&lt;BR /&gt;&lt;BR /&gt;The LSM bit was not revealed to me at first.&lt;BR /&gt;The system administrator who presented the&lt;BR /&gt;problem to me told me (at some point) that&lt;BR /&gt;they had been using LSM to mirror the boot&lt;BR /&gt;disk (/, /usr, /var, and swap), but that&lt;BR /&gt;that had been broken, and the system was&lt;BR /&gt;not using LSM any longer.&lt;BR /&gt;&lt;BR /&gt;However, as I wrote in the last note, the&lt;BR /&gt;system administrator had missed one piece&lt;BR /&gt;of the LSM puzzle -- the /etc/sysconfigtab&lt;BR /&gt;entry.  Once that was corrected, the mount&lt;BR /&gt;error went away.&lt;BR /&gt;&lt;BR /&gt;This, however, did not correct the dsfmgr&lt;BR /&gt;problems.  I did try dsfmgr -s as well as&lt;BR /&gt;dsfmgr -F -v, but this didn't work.  At this&lt;BR /&gt;point I do not remember why.&lt;BR /&gt;&lt;BR /&gt;What did work was to allow the system to&lt;BR /&gt;come up to multi-user mode.  My interpretation&lt;BR /&gt;of these events is that &amp;gt;something&amp;lt; goes on&lt;BR /&gt;during the change from single-user mode to&lt;BR /&gt;multi-user mode that allows dsfmgr -K to work.&lt;BR /&gt;As a result, dsfmgr correctly created all of&lt;BR /&gt;the missing device special files, and we were&lt;BR /&gt;all set.&lt;BR /&gt;&lt;BR /&gt;At this point, from my perspective anyway,&lt;BR /&gt;this is a dead horse.  :)  I only mention&lt;BR /&gt;the dsfmgr problems because I suspect that&lt;BR /&gt;other people could have similar problems&lt;BR /&gt;trying to execute dsfmgr in single-user mode.&lt;BR /&gt;The "dangling lock" problem is rather nasty.&lt;BR /&gt;I suggest filing a QAR on this problem.&lt;BR /&gt;&lt;BR /&gt;Thanks very much,&lt;BR /&gt;&lt;BR /&gt;-Derek</description>
      <pubDate>Thu, 04 Sep 2003 18:46:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/msfs-mount-error/m-p/3054175#M7570</guid>
      <dc:creator>Derek Haining</dc:creator>
      <dc:date>2003-09-04T18:46:23Z</dc:date>
    </item>
  </channel>
</rss>

