change of system disk

From: Hermann Hofer <H.Hofer_at_wige.com>
Date: Tue, 18 May 2004 09:55:27 +0200

Hello,

I was asked if I can help change disk's in an Alphaserver 800 because the
existing disk make some noise and and they fear the disk's will get bad
soon. Unfortunatelly there is no Tru64 admin there.

I looked a litte bit around and will proceed with the following step's,
please can you take a look and tell me if I am right or do something wrong.
The system is installed with 2x 9GB disk's which will get replaced by 1x 9GB
and 1x 18GB third-party drives.

The system is an Alphaserver 800 with Tru64 4.0F - no patches installed (as
sys_check states), I have recorded all disklabel's + fstab + mount's + df
usage + swap + device's and saved a full sys_check output. Here are some
info's:

df -k:

Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/rz0a 1003788 68654 834755 8% /
/proc 0 0 0 100% /proc
/dev/rz0g 6732080 408782 5650090 7% /usr
/dev/rz1c 8619292 6406818 1350544 83% /home

swapon -s:

Swap partition /dev/rz0b (default swap):
    Allocated space: 128620 pages (1004MB)
    In-use space: 3282 pages ( 2%)
    Free space: 125338 pages ( 97%)


scu info:

CAM Equipment Device Table (EDT) Information:

    Device: RZ2DD-LS Bus: 0, Target: 0, Lun: 0, Type: Direct Access
    Device: RZ2DD-LS Bus: 0, Target: 1, Lun: 0, Type: Direct Access
    Device: RRD47 Bus: 0, Target: 4, Lun: 0, Type: Read-Only Direct
Access
    Device: TLZ10 Bus: 0, Target: 5, Lun: 0, Type: Sequential Access


I will go following step's:

go to single user for backup:

>>>boot -fl s
# /sbin/bcheckrc

-> insert new tape

# cd /
# dump -0f /dev/rmt0h /

-> insert new tape

# dump -0f /dev/rmt0h /usr

-> insert new tape

# dump -0f /dev/rmt0h /home

# sync; sync
# halt


change old -> new third-party disk's

restore:

-> insert OS-CD

>>>show dev
>>>boot DKA400

# cd /dev
# ./MAKEDEV rz0 rz1 tz5

# cd /
# disklabel -rw -t ufs rz0 rz0
# disklabel -e rz0 (to change partition sizes if needed)

# disklabel -rw rz1 rz1

# newfs /dev/rrz0a /dev/rrz0a
# fsck /dev/rrz0a
# newfs /dev/rrz0g /dev/rrz0g
# fsck /dev/rrz0g
# newfs /dev/rrz1c /dev/rrz1c
# fsck /dev/rrz1c

-> insert / tape

# mount /dev/rz0a /mnt
# cd /mnt
# restore -Yrf /dev/rmt0h
# umount /mnt

-> insert /usr tape

# mount /dev/rz0g /mnt
# cd /mnt
# restore -Yrf /dev/rmt0h
# umount /mnt

-> insert /home tape

# mount /dev/rz1c /mnt
# cd /mnt
# restore -Yrf /dev/rmt0h
# umount /mnt

# sync; sync
# shutdown -h now

>>>boot -fl s
# /sbin/bcheckrc

check if everything look's ok and reboot to multiuser

# sync; sync
# shutdown -r now


Look's this good to you? Or have I missed something. After I have done this
on friday I will summarize.

MfG
 Hermann Hofer
Received on Tue May 18 2004 - 07:58:09 NZST

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