This is the session log from doing a BMRtool file-level bare machine restore using a rescue system running on the 'failed' server.

login as: csyjrr

Welcome to SuSE SLES 9 (s390) - Kernel \r (\l).
------  OFT ESM Server Management Region Central Site Gateway2  ------

??????????????????????????????????????????????????????????????????????
This is the OFT SLES 9 s390 Rescue system

The parent VM userid was DZ2VFC9
Built from dz2vfc9 Thu Mar 15 11:48:48 2007 by ./OFT_rescue_bld
??????????????????????????????????????????????????????????????????????
Using keyboard-interactive authentication.
Password:
Could not chdir to home directory /home/f/csyjrr: No such file or directory
Creating new home directory /home/f/csyjrr
-bash: cd: /home/f/csyjrr: No such file or directory
cp: cannot create directory `/home/f/csyjrr/.': No such file or directory
Home directory created /home/f/csyjrr
csyjrr@dz2mfse1:/> sudo su -
Password:

dz2mfse1:~ # script BMR-session
Script started, file is BMR-session
dz2mfse1:~ # dsmc restore /etc/BMR/ -replace=all
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:
/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   11:53:43
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   11:53:01  Last access: 04/04/07   11:48:28

Restore function invoked.

ANS1247I Waiting for files from the server...
Restoring           7,092 /etc/BMR/BMRcmds [Done]      
 ** Interrupted **
ANS1114I Waiting for mount of offline media.
Restoring          10,164 /etc/BMR/lvm.conf [Done]      
Restoring          54,917 /etc/BMR/BMRtool [Done]      
Restoring           4,282 /etc/BMR/VG-vg1 [Done]      
Restoring              24 /etc/BMR/ptbl-0.0.0200 [Done]      
Restoring              11 /etc/BMR/ptbl-0.0.0201 [Done]      
Restoring              11 /etc/BMR/ptbl-0.0.0202 [Done]      

Restore processing finished.
                                   Total number of objects restored:         7
Total number of objects failed:           0
Total number of bytes transferred:    74.87 KB
Data transfer time:                    0.00 sec
Network data transfer rate:        92,898.23 KB/sec
Aggregate data transfer rate:          6.17 KB/sec
Elapsed processing time:           00:00:12

dz2mfse1:~ # script -c "/etc/BMR/BMRtool diskinit" diskinit.log
Script started, file is diskinit.log
*** Doing- BMRtool diskinit      option test(-t)=no     Wed Apr  4 11:55:15 EDT 2007
    BMRdir=/etc/BMR    File BMRcmds=/etc/BMR/BMRcmds

--> ATTENTION <-- Are you sure you want to do mode diskinit?
   Reply  yes  to do it; anything else to quit now: yes
Didn't find file /etc/BMR/multipath.conf, continuing...
Existing file /etc/lvm/lvm.conf compared  =  to /etc/BMR/lvm.conf
M #
M #----------------- info -----------------
M # BMR commands generated Wed Apr  4 10:55:20 EDT 2007 on the server described below:
M # Linux dz2mfse1 2.6.5-7.191-s390
M # z/VM userid=DZ2MFSE1
M # rpm -q said: device-mapper-1.01.01-1.2
M # rpm -q said: lvm2-2.01.14-3.6
M #
M # 'BMRtool scan' mode generated this file for its other modes to read.
M # Various BMRtool modes read this file and select records based on their
M # column 1-2 prefix and do the Bash command that starts in record column 3.
M # The command might call internal functions in BMRtool.
M # You can use option -t to safely check which records a mode will select.
M #
M # WARNING!! Modes 'diskinit' and 'restore' will overwrite your disks!
M # Mode 'diskinit' does records having prefixes 'M ' or 'D '
M # Mode 'mount' does only the prefix 'M ' records.
M # Mode 'umount' does only the prefix 'U ' records.
M # Mode 'restore' does only the prefix 'R ' records.
M #
M #----------------- drivers -----------------
M #
M modprobe jbd
M modprobe ext3
M modprobe dasd_mod
M modprobe dasd_diag_mod
M modprobe dasd_fba_mod
M modprobe dasd_eckd_mod
M modprobe dm_mod
M modprobe ccwgroup
M modprobe ipv6
M modprobe qdio
M modprobe qeth
M modprobe autofs
M modprobe cdrom
M modprobe scsi_mod
M modprobe sr_mod
M modprobe sd_mod
M modprobe st
M modprobe sg
M modprobe dm_mirror
M /sbin/devmap_mknod.sh
Creating /dev/mapper/control character device with major:10 minor:63.
D #
D #----------------- preFmtPart -----------------
D #OK to get message 'Unable to find volume group...' here:
D : vgchange -a n vg1  #prep before partitioning a 2nd or 3rd time
M #
M #----------------- actDASD -----------------
M chccwdev --online 0.0.0200
Setting device 0.0.0200 online
Done
M chccwdev --online 0.0.0201
Setting device 0.0.0201 online
Done
M chccwdev --online 0.0.0202
Setting device 0.0.0202 online
Done
M #
M #----------------- actHBA -----------------
M #
M #----------------- actLUN -----------------
D #
D #----------------- dasdfmt -----------------
D #
D dasdfmt -b 4096 -y -m 1000 -l '0X0200'  -f /dev/$(atBMR 0.0.0200 0)
Printing hashmark every 1000 cylinders.

0|0|0|

Finished formatting the device.
Rereading the partition table... ok
D #
D dasdfmt -b 4096 -y -m 1000 -l '0X0202'  -f /dev/$(atBMR 0.0.0202 0)
Printing hashmark every 1000 cylinders.

0|0|0|0|0|0|0|0|0|0|

Finished formatting the device.
Rereading the partition table... ok
D #
D dasdfmt -b 4096 -y -m 1000 -l '0X0201'  -f /dev/$(atBMR 0.0.0201 0)
Printing hashmark every 1000 cylinders.

0|0|0|0|0|0|

Finished formatting the device.
Rereading the partition table... ok
D #
D #----------------- partition -----------------
D #
D fdasd -c ./ptbl-0.0.0200  /dev/$(atBMR 0.0.0200 0)
parsing config file './ptbl-0.0.0200'...
no config file entry for partition 3 found...
writing volume label...
writing VTOC...
rereading partition table...
D #
D fdasd -c ./ptbl-0.0.0202  /dev/$(atBMR 0.0.0202 0)
parsing config file './ptbl-0.0.0202'...
no config file entry for partition 2 found...
writing volume label...
writing VTOC...
rereading partition table...
D #
D fdasd -c ./ptbl-0.0.0201  /dev/$(atBMR 0.0.0201 0)
parsing config file './ptbl-0.0.0201'...
no config file entry for partition 2 found...
writing volume label...
writing VTOC...
rereading partition table...
M #
M #----------------- actMPIO -----------------
D #
D #----------------- pvcreate -----------------
D pvcreate -ffy --uuid AU1DxB-2ua8-uGLc-nbiv-nGDZ-nQTE-ZMyl6x --restorefile ./VG-vg1 /dev/$(atBMR 0.0.0202 1)
  Couldn't find device with uuid 'Cumo00-YDU8-Q33l-gY5D-ItJC-4kz3-ddjA3T'.
  Couldn't find device with uuid 'AU1DxB-2ua8-uGLc-nbiv-nGDZ-nQTE-ZMyl6x'.
  Couldn't find device with uuid 'lH0cLd-YglB-ZATu-arpO-i1yV-iMd4-1cn346'.
  Physical volume "/dev/dasde1" successfully created
D #
D pvcreate -ffy --uuid Cumo00-YDU8-Q33l-gY5D-ItJC-4kz3-ddjA3T --restorefile ./VG-vg1 /dev/$(atBMR 0.0.0201 1)
  Couldn't find device with uuid 'Cumo00-YDU8-Q33l-gY5D-ItJC-4kz3-ddjA3T'.
  Couldn't find device with uuid 'lH0cLd-YglB-ZATu-arpO-i1yV-iMd4-1cn346'.
  Physical volume "/dev/dasdd1" successfully created
D #
D #This next PV of VG vg1 is not part of an LV
D pvcreate -ffy --uuid lH0cLd-YglB-ZATu-arpO-i1yV-iMd4-1cn346 --restorefile ./VG-vg1 /dev/$(atBMR 0.0.0200 2)
  Couldn't find device with uuid 'lH0cLd-YglB-ZATu-arpO-i1yV-iMd4-1cn346'.
  Physical volume "/dev/dasdc2" successfully created
D #
D #
D #----------------- vgcfgrest -----------------
D #
D vgcfgrestore --file ./VG-vg1 vg1
  Restored volume group vg1
M #
M #----------------- actLVM -----------------
M #
M vgscan --mknodes
  Reading all physical volumes.  This may take a while...
  Found volume group "vg1" using metadata type lvm2
  /etc/lvm/backup: fsync failed: Invalid argument
M vgchange -a y vg1
  9 logical volume(s) in volume group "vg1" now active
D #
D #----------------- mkfs -----------------
D #
D mkfs -t ext3 -q /dev/$(atBMR 0.0.0200 1)
D tune2fs  -c 28 /dev/$(atBMR 0.0.0200 1)
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 28
D #
D mkfs -t ext3 -q /dev/mapper/vg1-usr
D tune2fs  -m 0 -c 36 /dev/mapper/vg1-usr
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 36
Setting reserved blocks percentage to 0 (0 blocks)
D #
D mkfs -t ext3 -q /dev/mapper/vg1-var
D tune2fs  -m 0 -c 37 /dev/mapper/vg1-var
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 37
Setting reserved blocks percentage to 0 (0 blocks)
D #
D mkfs -t ext3 -q /dev/mapper/vg1-opt
D tune2fs  -m 0 -c 21 /dev/mapper/vg1-opt
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 21
Setting reserved blocks percentage to 0 (0 blocks)
D #
D mkfs -t ext3 -q /dev/mapper/vg1-opt.tivoli
D tune2fs  -m 0 -c 30 /dev/mapper/vg1-opt.tivoli
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 30
Setting reserved blocks percentage to 0 (0 blocks)
D #
D mkfs -t ext3 -q /dev/mapper/vg1-opt.tivoli.db
D tune2fs  -m 0 -c 22 /dev/mapper/vg1-opt.tivoli.db
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 22
Setting reserved blocks percentage to 0 (0 blocks)
D #
D mkfs -t ext3 -q /dev/mapper/vg1-opt.tivoli.depot
D tune2fs  -m 0 -c 24 /dev/mapper/vg1-opt.tivoli.depot
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 24
Setting reserved blocks percentage to 0 (0 blocks)
D #
D mkfs -t ext3 -q /dev/mapper/vg1-home
D tune2fs  -m 0 -c 21 /dev/mapper/vg1-home
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 21
Setting reserved blocks percentage to 0 (0 blocks)
D #
D mkfs -t ext3 -q /dev/mapper/vg1-tmp
D tune2fs  -m 0 -c 26 /dev/mapper/vg1-tmp
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 26
Setting reserved blocks percentage to 0 (0 blocks)
M #
M #----------------- mount -----------------
M #
M mkdir -p /mnt/a/
M mount /dev/$(atBMR 0.0.0200 1) /mnt/a/
D chmod 0755 /mnt/a/   # 0755/drwxr-xr-x
D chown  0:0 /mnt/a/   # Uid: 0/ root   Gid: 0/ root
D mkdir -p /mnt/a/proc   #type proc
D mkdir -p /mnt/a/sys   #type sysfs
D mkdir -p /mnt/a/dev/shm   #type tmpfs
D mkdir -p /mnt/a/dev/pts   #type devpts
M #
D mkdir -p /mnt/a/usr
M mount /dev/mapper/vg1-usr /mnt/a/usr
D chmod 0755 /mnt/a/usr   # 0755/drwxr-xr-x
D chown  0:0 /mnt/a/usr   # Uid: 0/ root   Gid: 0/ root
M #
D mkdir -p /mnt/a/var
M mount /dev/mapper/vg1-var /mnt/a/var
D chmod 0755 /mnt/a/var   # 0755/drwxr-xr-x
D chown  0:0 /mnt/a/var   # Uid: 0/ root   Gid: 0/ root
M #
D mkdir -p /mnt/a/opt
M mount /dev/mapper/vg1-opt /mnt/a/opt
D chmod 0755 /mnt/a/opt   # 0755/drwxr-xr-x
D chown  0:0 /mnt/a/opt   # Uid: 0/ root   Gid: 0/ root
M #
D mkdir -p /mnt/a/opt/tivoli
M mount /dev/mapper/vg1-opt.tivoli /mnt/a/opt/tivoli
D chmod 0755 /mnt/a/opt/tivoli   # 0755/drwxr-xr-x
D chown  0:0 /mnt/a/opt/tivoli   # Uid: 0/ root   Gid: 0/ root
M #
D mkdir -p /mnt/a/opt/tivoli/db
M mount /dev/mapper/vg1-opt.tivoli.db /mnt/a/opt/tivoli/db
D chmod 0755 /mnt/a/opt/tivoli/db   # 0755/drwxr-xr-x
D chown  0:0 /mnt/a/opt/tivoli/db   # Uid: 0/ root   Gid: 0/ root
M #
D mkdir -p /mnt/a/opt/tivoli/depot
M mount /dev/mapper/vg1-opt.tivoli.depot /mnt/a/opt/tivoli/depot
D chmod 0755 /mnt/a/opt/tivoli/depot   # 0755/drwxr-xr-x
D chown  0:0 /mnt/a/opt/tivoli/depot   # Uid: 0/ root   Gid: 0/ root
M #
D mkdir -p /mnt/a/home
M mount /dev/mapper/vg1-home /mnt/a/home
D chmod 0755 /mnt/a/home   # 0755/drwxr-xr-x
D chown  0:0 /mnt/a/home   # Uid: 0/ root   Gid: 0/ root
M #
D mkdir -p /mnt/a/tmp
M mount /dev/mapper/vg1-tmp /mnt/a/tmp
D chmod 1777 /mnt/a/tmp   # 1777/drwxrwxrwt
D chown  0:0 /mnt/a/tmp   # Uid: 0/ root   Gid: 0/ root
D #
D #----------------- mkswap -----------------
D #
D mkswap /dev/mapper/vg1-swap1
Setting up swapspace version 1, size = 134213 kB
     Selected 175 of 207 records.  0 non-zero status codes
*** Done- BMRtool diskinit      option test(-t)=no     Wed Apr  4 12:00:24 EDT 2007
Script done, file is diskinit.log

(All the TSM restore commands end with a non-zero status code because they can't write a log file to the rescue system's read-only file system.)

dz2mfse1:~ # script -c "/etc/BMR/BMRtool restore" restore.log
Script started, file is restore.log
*** Doing- BMRtool restore      option test(-t)=no     Wed Apr  4 12:01:46 EDT 2007
    BMRdir=/etc/BMR    File BMRcmds=/etc/BMR/BMRcmds

--> ATTENTION <-- Are you sure you want to do mode restore?
   Reply  yes  to do it; anything else to quit now: yes
R #
R #----------------- restore -----------------
R # . . . These are 'restore' mode commands . . .
R #  dsmc is the IBM Tivoli Storage Manager (TSM) command line client
R #
R df -i    #Show inode counts before restores
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/dasda1           140832   46029   94803   33% /
/dev/root             140832   46029   94803   33% /basevol
/dev/dasdb              1280      14    1266    2% /id-info
/dev/dasdc1            98304      21   98283    1% /mnt/a
/dev/mapper/vg1-usr   393216      11  393205    1% /mnt/a/usr
/dev/mapper/vg1-var    65536      11   65525    1% /mnt/a/var
/dev/mapper/vg1-opt    47104      12   47092    1% /mnt/a/opt
/dev/mapper/vg1-opt.tivoli
                      393216      13  393203    1% /mnt/a/opt/tivoli
/dev/mapper/vg1-opt.tivoli.db
                      128000      11  127989    1% /mnt/a/opt/tivoli/db
/dev/mapper/vg1-opt.tivoli.depot
                      262144      11  262133    1% /mnt/a/opt/tivoli/depot
/dev/mapper/vg1-home   51200      11   51189    1% /mnt/a/home
/dev/mapper/vg1-tmp    51200      11   51189    1% /mnt/a/tmp
R #OFT excludes backup of /tmp fs; Ok if its restore fails.
R dsmc restore /tmp/ /mnt/a/tmp/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:01:54
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:01:12  Last access: 04/04/07   11:53:01

ANS1247I Waiting for files from the server...
ANS1302E No objects on server match query

** #1 ** Non-zero status code=12 from dsmc

R dsmc restore /home/ /mnt/a/home/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:01:57
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:01:15  Last access: 04/04/07   12:01:13

ANS1247I Waiting for files from the server...

Total number of objects restored:       289
Total number of objects failed:           0
Total number of bytes transferred:    382.75 KB
Data transfer time:                   19.79 sec
Network data transfer rate:           19.33 KB/sec
Aggregate data transfer rate:          0.77 KB/sec
Elapsed processing time:           00:08:10
** #2 ** Non-zero status code=12 from dsmc

R dsmc restore /opt/tivoli/depot/ /mnt/a/opt/tivoli/depot/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:10:09
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:09:27  Last access: 04/04/07   12:01:15

ANS1247I Waiting for files from the server...

Total number of objects restored:         2
Total number of objects failed:           0
Total number of bytes transferred:        0  B
Data transfer time:                    0.00 sec
Network data transfer rate:            0.00 KB/sec
Aggregate data transfer rate:          0.00 KB/sec
Elapsed processing time:           00:00:05
** #3 ** Non-zero status code=12 from dsmc

R dsmc restore /opt/tivoli/db/ /mnt/a/opt/tivoli/db/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:10:15
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:09:33  Last access: 04/04/07   12:09:30

ANS1247I Waiting for files from the server...

Total number of objects restored:        55
Total number of objects failed:           0
Total number of bytes transferred:    26.62 MB
Data transfer time:                    1.68 sec
Network data transfer rate:        16,165.58 KB/sec
Aggregate data transfer rate:      1,420.45 KB/sec
Elapsed processing time:           00:00:19
** #4 ** Non-zero status code=12 from dsmc

R dsmc restore /opt/tivoli/ /mnt/a/opt/tivoli/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:10:35
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:09:53  Last access: 04/04/07   12:09:33

ANS1247I Waiting for files from the server...

Total number of objects restored:     4,755
Total number of objects failed:           0
Total number of bytes transferred:    265.40 MB
Data transfer time:                   37.08 sec
Network data transfer rate:        7,328.27 KB/sec
Aggregate data transfer rate:      3,734.02 KB/sec
Elapsed processing time:           00:01:12
** #5 ** Non-zero status code=12 from dsmc

R dsmc restore /opt/ /mnt/a/opt/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:11:49
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:11:07  Last access: 04/04/07   12:09:56

ANS1247I Waiting for files from the server...

Total number of objects restored:     1,211
Total number of objects failed:           0
Total number of bytes transferred:    95.09 MB
Data transfer time:                   18.79 sec
Network data transfer rate:        5,182.22 KB/sec
Aggregate data transfer rate:      2,748.02 KB/sec
Elapsed processing time:           00:00:35
** #6 ** Non-zero status code=12 from dsmc

R dsmc restore /var/ /mnt/a/var/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:12:25
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:11:44  Last access: 04/04/07   12:11:10

ANS1247I Waiting for files from the server...

Total number of objects restored:     2,179
Total number of objects failed:           0
Total number of bytes transferred:    95.37 MB
Data transfer time:                   41.27 sec
Network data transfer rate:        2,366.08 KB/sec
Aggregate data transfer rate:      1,459.86 KB/sec
Elapsed processing time:           00:01:06
** #7 ** Non-zero status code=12 from dsmc

R dsmc restore /usr/ /mnt/a/usr/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:13:33
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:12:52  Last access: 04/04/07   12:11:47

ANS1247I Waiting for files from the server...

Total number of objects restored:    51,560
Total number of objects failed:           0
Total number of bytes transferred:    697.00 MB
Data transfer time:                  145.09 sec
Network data transfer rate:        4,919.23 KB/sec
Aggregate data transfer rate:      2,900.33 KB/sec
Elapsed processing time:           00:04:06
** #8 ** Non-zero status code=12 from dsmc

R dsmc restore / /mnt/a/ -subd=yes  -replace=all -quiet
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file:

/opt/tivoli/tsm/client/ba/bin/dsmprune.log. errno = 30, Read-only file system
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 4.0  
  Client date/time: 04/04/07   12:17:40
(c) Copyright by IBM Corporation and other(s) 1990, 2006. All Rights Reserved.

Node Name: DZ2MFSE1
Session established with server PA3UF153: AIX-RS/6000
  Server Version 5, Release 3, Level 4.0
  Server date/time: 04/04/07   12:16:59  Last access: 04/04/07   12:16:56

ANS1247I Waiting for files from the server...
 
Total number of objects restored:     8,322
Total number of objects failed:           0
Total number of bytes transferred:    65.53 MB
Data transfer time:                   16.84 sec
Network data transfer rate:        3,983.82 KB/sec
Aggregate data transfer rate:        632.57 KB/sec
Elapsed processing time:           00:01:46
** #9 ** Non-zero status code=12 from dsmc

R df -i    #Show inode counts after restores
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/dasda1           140832   46029   94803   33% /
/dev/root             140832   46029   94803   33% /basevol
/dev/dasdb              1280      14    1266    2% /id-info
/dev/dasdc1            98304    8324   89980    9% /mnt/a
/dev/mapper/vg1-usr   393216   48717  344499   13% /mnt/a/usr
/dev/mapper/vg1-var    65536    2188   63348    4% /mnt/a/var
/dev/mapper/vg1-opt    47104    1221   45883    3% /mnt/a/opt
/dev/mapper/vg1-opt.tivoli
                      393216    4766  388450    2% /mnt/a/opt/tivoli
/dev/mapper/vg1-opt.tivoli.db
                      128000      64  127936    1% /mnt/a/opt/tivoli/db
/dev/mapper/vg1-opt.tivoli.depot
                      262144      11  262133    1% /mnt/a/opt/tivoli/depot
/dev/mapper/vg1-home   51200     298   50902    1% /mnt/a/home
/dev/mapper/vg1-tmp    51200      11   51189    1% /mnt/a/tmp
R #
     Selected 18 of 207 records.  9 non-zero status codes
*** Done- BMRtool restore      option test(-t)=no     Wed Apr  4 12:19:28 EDT 2007
Script done, file is restore.log

dz2mfse1:~ # make the restored system bootable

dz2mfse1:~ # mount -t sysfs sys /mnt/a/sys
dz2mfse1:~ # mount -t proc proc /mnt/a/proc
dz2mfse1:~ # chroot /mnt/a    mkinitrd
Root device:    /dev/dasda1 (mounted on / as ext3)
Module list:    jbd ext3 dasd_diag_mod dasd_fba_mod dasd_eckd_mod

Kernel image:    /boot/image-2.6.5-7.191-s390
Initrd image:    /boot/initrd-2.6.5-7.191-s390
Shared libs:    lib/ld-2.3.3.so lib/libblkid.so.1.0 lib/libc.so.6 lib/libselinux.so.1 lib/libuuid.so.1.2
Modules:    kernel/fs/jbd/jbd.ko kernel/fs/ext3/ext3.ko kernel/drivers/s390/block/dasd_mod.ko

kernel/drivers/s390/block/dasd_diag_mod.ko kernel/drivers/s390/block/dasd_fba_mod.ko

kernel/drivers/s390/block/dasd_eckd_mod.ko
DASDs:         0.0.ded0(ECKD) 0.0.dedd(ECKD) 0.0.0200(ECKD) 0.0.0201(ECKD) 0.0.0202(ECKD)
Including:    udev

initrd updated, zipl needs to update the IPL record before IPL!
dz2mfse1:~ # chroot /mnt/a  zipl
Using config file '/etc/zipl.conf'
Building bootmap in '/boot/zipl'
Adding IPL section 'ipl' (default)
Preparing boot device: dasdc (0200).
Done.
dz2mfse1:~ # /etc/BMR/BMRtool umount
*** Doing- BMRtool umount      option test(-t)=no     Wed Apr  4 12:25:30 EDT 2007
    BMRdir=/etc/BMR    File BMRcmds=/etc/BMR/BMRcmds

--> ATTENTION <-- Are you sure you want to do mode umount?
   Reply  yes  to do it; anything else to quit now: yes
U #
U #----------------- umount -----------------
U # . . . These are 'umount' mode commands . . .
U #
U umount /mnt/a/{sys,proc}  #In case needed after chroot mkinitrd, zipl
U umount /mnt/a/tmp
U umount /mnt/a/home
U umount /mnt/a/opt/tivoli/depot
U umount /mnt/a/opt/tivoli/db
U umount /mnt/a/opt/tivoli
U umount /mnt/a/opt
U umount /mnt/a/var
U umount /mnt/a/usr
U umount /mnt/a/
     Selected 14 of 207 records.  0 non-zero status codes
*** Done- BMRtool umount      option test(-t)=no     Wed Apr  4 12:25:33 EDT 2007
dz2mfse1:~ # exit

Script done on Wed Apr  4 12:27:27 2007
dz2mfse1:~ #Done. Server's restored. Logoff/force its z/VM virtual machine and reboot it.