* change of system disk
@ 2004-05-18 7:55 Hermann Hofer
2004-05-27 13:19 ` SUMMARY: " Hermann Hofer
0 siblings, 1 reply; 2+ messages in thread
From: Hermann Hofer @ 2004-05-18 7:55 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread* SUMMARY: change of system disk
2004-05-18 7:55 change of system disk Hermann Hofer
@ 2004-05-27 13:19 ` Hermann Hofer
0 siblings, 0 replies; 2+ messages in thread
From: Hermann Hofer @ 2004-05-27 13:19 UTC (permalink / raw)
Thanks will go to:
Lanier, John <john.lanier@hp.com>
Graham Allan <allan@physics.umn.edu>
Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
who gave suggestions or send me script's (John).
All suggested if disk are still alive to copy data direct from old to new
disk's.
This was not done because we want to know if we can restore from the tape's
we created.
I added some step's (use of nrmt0h, set fstype on swap partition, set date
and time after
restore - was 18.04.1904).
I have done:
go to single user for backup:
>>>boot -fl s
# /sbin/bcheckrc
# cd /
# dump -0f /dev/nrmt0h /
# cd /usr
# dump -0f /dev/nrmt0h /usr
# cd /home
# 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 -s /dev/rrz0b swap
# 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
# mt -f /dev/rmt0h rew
# mount /dev/rz0a /mnt
# cd /mnt
# restore -Yrf /dev/rmt0h
# cd /
# umount /mnt
# mount /dev/rz0g /mnt
# cd /mnt
# mt -f /dev/nrmt0h fsf 1
# restore -Yrf /dev/rmt0h
# cd /
# umount /mnt
# mount /dev/rz1c /mnt
# cd /mnt
# mt -f /dev/nrmt0h fsf 2
# restore -Yrf /dev/rmt0h
# cd /
# umount /mnt
# sync; sync
# shutdown -h now
>>>boot -fl s
# swapon -a
# /sbin/bcheckrc
check if everything look's ok (especially date and time!!) and reboot to
multiuser
# sync; sync
# shutdown -r now
Gruss
Hermann
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-27 13:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18 7:55 change of system disk Hermann Hofer
2004-05-27 13:19 ` SUMMARY: " Hermann Hofer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox