SUMMARY: /etc/mnttab: What are those numbers after "dev="?

From: Keith Salustro (Keith_Salustro@snc-net.com)
Date: Tue Feb 03 1998 - 10:20:06 CST


Hi,
Thanks for the prompt replies!

Basically you're not supposed to edit /etc/mnttab, and some people said it
gets rewritten on boot anyway.... I was referred to "man metaroot" and the
manual "unmirroring root" in the index.Very helpful.

What I had to do was to mount my detached root partition under /mnt and run
metaroot, which made the _correct_ modifications to the system file (as
opposed to my deleting all the DiskSuite items) and vfstab for me. Then I
modified the rest of vfstab myself and presto! Here's the command:
metaroot -k /mnt/etc/system -v /mnt/etc/vfstab -c /mnt/etc/opt/SUNWmd/mddb.cf
(the extra parameters were to specify the correct location of the files)

(Then I created an alias in the bootPROM for the backup root partition, and
I can now boot on my backup config if I have a problem with the upgrade I'm
doing on the default partitions.)

THANKS for the help from these folks:
Richard Roberto <robertr@nwmarkets.co.jp>
"Matthew Stier" <Matthew.Stier@tddny.fujitsu.com>
shobhit kapoor <shobhit@mtcts1.mt.lucent.com>
Sean Ward <sdward@uswest.com>
Jim Harmon <jharmon@telecnnct.com>

At 02:05 PM 2/3/98 +0900, you wrote:
>On Mon, 2 Feb 1998, Keith Salustro wrote:
>
>> Hi,
>> What do the numbers after "dev=" in /etc/mnttab mean? I've looked in
>> several books and found nothing. We're using DiskSuite and I want to modify
>> edit this table so I can boot off of the regular (/dev/dsk/c0t0d0s0)
>> partitions. I found that editing only /etc/vfstab was not enough--the
>> system keeps loading the DiskSuite device names, so I'm going to try to
>> edit mnttab as well.
>
>Please read the DiskSuite answerbook under "un-mirroring root".
>That should give you the clues you need. Don't edit mnttab since it
>has nothing to do with that. It gets written to as devices are
>mounted, but has nothing to do with what gets mounted.
>
>Good luck
>
>Richard
>
>

--
---------------------------------------------------
Keith W. Salustro, Project Manager
Secure Networks Corporation
Main: 800-357-0208
Fax: 617-876-1548
<http://www.snc-net.com>

Direct: 617-875-7672 Keith_Salustro@snc-net.com ---------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:30 CDT