FW: usr_domain recreating and restoring

From: Catalin H. Ciontu <Catalin.Ciontu_at_paginiaurii.ro>
Date: Tue, 02 Mar 1999 17:07:07 +0200

> My plan to recreate usr_domain with increased BMT extents is:
> Current configuration is:
>
> df -k
> root_domain#root 131072 56234 67232 46% /
> /proc 0 0 0 100% /proc
> usr_domain#usr 1024000 691897 308520 70% /usr
> raid1_dom#oracle 40412088 19580421 20831667 49% /oracle
> raid1_dom#oracde 4000000 1132363 2867637 29% /oracde
> local_domain#local 1461352 454450 998176 32% /local
>
> /etc/fstab
> /dev/rz8b swap1 ufs sw 0 2
> root_domain#root / advfs rw 1 1
> /proc /proc procfs rw 0 0
> usr_domain#usr /usr advfs rw 1 2
> raid1_dom#oracle /oracle advfs rw 1 2
> raid1_dom#oracde /oracde advfs rw 1 2
> local_domain#local /local advfs rw 1 2
>
> /sbin/disklabel -p rz8
> # /dev/rrz8a:
> type: SCSI
> disk: RZ1CB-CS
> label:
> flags: dynamic_geometry
> bytes/sector: 512
> sectors/track: 113
> tracks/cylinder: 20
> sectors/cylinder: 2260
> cylinders: 3708
> sectors/unit: 8380080
> rpm: 7228
> interleave: 1
> trackskew: 40
> cylinderskew: 75
> headswitch: 0 # milliseconds
> track-to-track seek: 0 # milliseconds
> drivedata: 0
>
> Is this plan correct to dump, rebuild and restore usr_domain ?
>
> 1. in multiuser mode:
> vdump -0 -f /dev/rmt0h /usr
> vdump -0 -f /dev/rmt0h /
> vdump -0 -f /dev/rmt0h /local
>
> 2.
> shutdown now ;in single-user
> mode!!!!!!!
> /sbin/rmfset usr_domain usr
> /sbin/rmfdmn usr_domain
> /sbin/mkfdmn -x 256 -p 7200 /dev/rz8g usr_domain
> /sbin/mkfset usr_domain usr
> /sbin/mount -t advfs usr_domain#usr /usr
> cd /dev
> ./MAKEDEV tz5 ; is it needed? and
> how?
> ./MAKEDEV rz8 ; is it needed? and
> how?
> cd /usr
> /sbin/vrestore -x -f /dev/rmt0h ; is it
> correct as syntax???
>
>
> Wait for your opinions, and if you think something is wrong, or you have
> to add any missed step, please do it.
> Is there needed to make devices rz8(the disk), tz5(the tape)? If yes,
> where is the right place to place this step?
>
> Thanks
>
Received on Tue Mar 02 1999 - 15:10:17 NZDT

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