SUMMARY: how to move a disk from one server to another

From: Per Ivar Emanuelsen <Per-Ivar.Emanuelsen_at_phys.uit.no>
Date: Tue, 25 Nov 1997 08:48:49 +0100 (MET)

The following managers helped me solve my problem:
* Kent Nilsson
* Vincent Le Brun
* Knut Hellebų
* 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_at_phys.uit.no
The Auroral Observatory | phone: (+47) 77 64 51 37 priv: 77 65 78 67
University of Tromso | FAX: (+47) 77 64 55 80
----------------------------------------------------------------------
Received on Tue Nov 25 1997 - 09:14:02 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT