From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: how to clone system disk on tru64 5.1
Date: Thu, 28 Mar 2002 17:47:50 GMT [thread overview]
Message-ID: <aHIo8.1637$fL6.31701@news.cpqcorp.net> (raw)
In-Reply-To: a7vc06$hev$1@s1.read.news.oleane.net
In article <a7vc06$hev$1@s1.read.news.oleane.net>, "Marre des Spameurs qui prennent les add dans les news [SauroN]" <titi@toto.com> writes:
>
>with dd
This is less than ideal advice since it doesn't address the fact that
the new copy of the operating system remebers that its root file system
was on the source disk used for the copy. This is likely to be a common
problem for any of the techniques that were used under V4 and earlier to
make copies of a system disk.
There is apparently a way to change the hardware database so that
this detail of the previous configuration is forgotten, allowing
the new disk to become the system disk. The technique may have
been written up as a "Best Practices" document. If so it will be
on the corporate web site somewhere. The question frequently
comes up in the tru64-unix-managers mailing list, so the archives
of the mailing list may have something. I don't have the URL for
the archives though.
>
>"Barry Wu" <wqb123@263.net> wrote in message
>news:a3fe0fc8.0203280711.66b692d6@posting.google.com...
>| Hi, all,
>|
>| I have several tru64 5.1 hard disk to replace.
>| In tru64 4.0F, I can use dump and restore to finish
>| several system disks. But in 5.1 I could not use
>| dump and restore commands. Besides, I use tar to
>| backup my / and /usr partition, but when I restore
>| it using tar. The disklabel is dsk1, not dsk0.
>| But I want it to be dsk0, I do not know how to do.
The content of the disklabel isn't likely to be the problem. But
if you want to change it some part of the label, use the disklabel
command to edit the label as you need.
What you're most likely running up against is that in V5, devices
names are not directly associated with the physical address of the
device as they were in V4 and earlier. There, the SCSI bus address
determine the name. You moved a device and its name changed. This
had serious problems when you started adding new SCSI bus adapters
that appeared "between" two existing ones.
In V5, names are assigned as disks are discovered. The first disk
found will be dsk0, the 2nd dsk1 and so on. Left to itself, parallel
SCSI disks are uniquely identified by their serial number (expected
to be in one of the Inquiry pages). Fibre Channel disks just use
their world-wide name. This allows a given disk to retain the same
name no matter what its "address" is.
So, you have two potential problems:
o The new disk is named dsk1 instead of dsk0 (unrelated to the label).
o The kernel remembers that its system disk was dsk0.
As I said above, I believe there are solutions to these problems,
probably around changing the hardware database on the new system
disk. They may be documented somewhere, but I haven't kept track
of where that document is, or how to make the change.
>| If someone knows, please help me.
>| TIA.
>|
>| Best Regards,
>|
>| Barry
>
>
>
--
Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)
next prev parent reply other threads:[~2002-03-28 17:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-28 15:11 how to clone system disk on tru64 5.1 Barry Wu
2002-03-28 15:15 ` Marre des Spameurs qui prennent les add dans les news [SauroN]
2002-03-28 17:47 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2002-03-29 9:13 ` Emmanuel Choquet
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox