ITEM: DF3152L

Needs to restore /usr/bin using sysback



Question:

Env:
  AIX 4.1.4
  RISC R24
  Tape 8mm 5gb 7208-011
  sysback 3.3.3.11 

Problem:
  Customer removed /usr/bin and needs to restore it from a sysback
  tape.

Action Taken:

1.  boot to service mode from the sysback tape
2.  choose option 4 "Maintenance Shell"
3.  sbdevice -r /dev/rmt\#
4.  cd /
5.  sbdevice -f3 /dev/rmt\#.1
6.  restbyname -xvqf /dev/rmt\#.1 ./tmp/...blksz
7.  sbdevice -r /dev/rmt\#
8.  cat ./tmp/...blksz
9.  /usr/lib/methods/chggen -l rmt\# -a block_size=\
    Example:
    /usr/lib/methods/chggen -l rmt0 -a block_size=1024

10.  getrootfs
11.  choose option 2 "start a shell before mounting filesystems"
12.  mount /dev/hd4 /mnt
13.  mount /dev/hd2 /mnt/usr
14.  cd /mnt
15.  sbdevice -r rmt\#
16.  sbdevice -f4 /dev/rmt\#.1
17.  sbread -H /dev/rmt\#.1
     If the PACK=Y
     sbread /dev/rmt\#.1 | sbuncomp | restbyname -xvdqf- ./usr/bin 

     Else

     sbread /dev/rmt\#.1 | restbyname -xvqdf- ./usr/bin

18.  sync;sync;sync
19.  cd /
20.  /etc/unmount all
     If hd4 and hd2 do not unmount then turn key to normal and reboot

21.  exit
22.  turn key to normal and type reboot



Support Line: Needs to restore /usr/bin using sysback ITEM: DF3152L
Dated: July 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:16
Comments or suggestions? Contact us