change of system disk

From: Hermann Hofer (H.Hofer_at_wige.com)
Date: 05/18/04

  • Next message: Thomas.Voegeli_at_access.unizh.ch: "SUMMARY: restricting port access"
    Date: Tue, 18 May 2004 09:55:27 +0200
    To: tru64-unix-managers@ornl.gov
    
    

    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


  • Next message: Thomas.Voegeli_at_access.unizh.ch: "SUMMARY: restricting port access"

    Relevant Pages

    • Re: Exchange Server Restore From Backup - Help Needed
      ... had to modify the backup so that the Exchange Server files were only ... when I come to do a restore the only option I ... get is to restore to the current machine or to another Exchange Server. ... Because the Travan Tape only holds 20GB uncompressed 40GB compressed, ...
      (microsoft.public.windows.server.sbs)
    • Re: Dump/restore mystery (off topic)
      ... Triffid wrote: ... > from tape, and restore the latest backup. ... The restore script reported numerous instances ...
      (comp.unix.solaris)
    • Re: Dump/restore mystery (off topic)
      ... Triffid wrote: ... > from tape, and restore the latest backup. ... The restore script reported numerous instances ...
      (comp.unix.solaris)
    • Re: recovering NTFS volumes
      ... if the file system where the tape is being restored does ... NOT have NTFS? ... in question on the tape didn't include Administrator ... >> this person just restore the tape onto their computer ...
      (microsoft.public.win2000.security)
    • Re: Exchange Server Restore From Backup - Help Needed
      ... Set the database settings for public folders and information store to ... you would want to be careful not to restore the files from the tape ... overwrites/stuffs up my Exchange server as I do use that for collecting ...
      (microsoft.public.windows.server.sbs)