tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: how to move a disk from one server to another
@ 1997-11-25  7:48 Per Ivar Emanuelsen
  0 siblings, 0 replies; only message in thread
From: Per Ivar Emanuelsen @ 1997-11-25  7:48 UTC (permalink / raw)
  To: tru64-unix-managers


The following managers helped me solve my problem:
* Kent Nilsson
* Vincent Le Brun
* Knut Helleb=F8
* George Guethlein
* Sean O'Connell
* Dr. Tom Blinn
* Alan Rollow
* Jon Morgan
* Rick Forbes
* Patrick Barrowclough
* Raja Nagaraja
* Brenden Phillips

------------------
I forgot to mention that my systems are all Digital Unix v4.0B with the
june jumbo patch.

The following solution is valid when running DU 4.0X and having a disk
containing one single partition (rzXc).

Everybody said that my guessed solution would work, BUT would destroy
the data on the disk, and that I would have to restore the disk using
my backups. Everybody said also that it's possible, and easy to move
the disk without having to restore data from backup.

I did the following, and it worked:

* shutdown and power down server
* connect scsi disk (I didn't change the SCSI address since I didn't
                     have any other devices with that address connected
                     to the server)
* power up server
* >>> show device   - the disk came up as DKA200
* >>> boot
* The OS showed a list of devices. The new disk came up as device rz2.
* I didn't have to make device - the OS did this for me when it detected
  the new device.

Then instead of mkfdm and mkfset, I did the following:

* create a directory under /etc/fdmns named the domain name (in my case
  users_domain)
* in that directory, create a soft link to the device; in my case
  ln -s /dev/rz2c /etc/fdmns/users_domain/rz2c

Now I can mount the disk as usual, and everything came up perfect.

Per-Ivar

-----------------------------------------
(original question)

One of my servers died this morning, and I need to move an extern disk
from that server to another server.

The disk 'rrz34' consist of one advfs partition /dev/rz34c on the dead
server.

What are the procedure to move this disk to another server?
My guess:
* shutdown and power down server
* connect extern scsi disk
* power on server
* show device   - new device should be there
* boot server
* log in as root
* /dev/MAKEDEV  arg    (But what should the argument be?)
* mkfdmn /dev/rz??c users_domain
* mkfset users_domain users
* mount -t advfs users_domain#users /usr/users
* vrestore everything that should be on the disk

BUT: isn't it possible to avoid getting data from backup... Everything
should still be on the disk!!!

----------------------------------------------------------------------
Per-Ivar Emanuelsen     |  e-mail: Per-Ivar.Emanuelsen@phys.uit.no       =
 =20
The Auroral Observatory |  phone: (+47) 77 64 51 37  priv: 77 65 78 67
University of Tromso    |  FAX:   (+47) 77 64 55 80=20
----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-25  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-25  7:48 SUMMARY: how to move a disk from one server to another Per Ivar Emanuelsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox