![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solaris 10 Jumpstart woes | rickedwards44 | SUN Solaris | 4 | 06-10-2008 07:01 PM |
| Remote CD woes | greg69 | SUN Solaris | 2 | 08-15-2007 10:52 AM |
| AIX 5.2 Upgrade Woes from ML1 to ML8 | Darth1970vader | AIX | 9 | 12-12-2006 04:41 AM |
| Solaris 8 ssh -X woes | [MA]Flying_Meat | SUN Solaris | 3 | 03-17-2004 03:59 PM |
| CDROM Woes | Jai | UNIX for Dummies Questions & Answers | 4 | 10-04-2002 03:02 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Mksysb and Savevg woes
hi,
i'm having a little trouble with an AIX 5.2 script that i have written and i was wondering if anyone could please offer me some advice on how to append a savevg backup to a mksysb tape, or more importantly where i'm going wrong? i've been trying to get this to work for about a month with no joy now. here's a cut down version of my script: Code:
MKSYSBLOG=/usr/tmp/mksysb.log VGLOG=/usr/tmp/vg.log MKSYSBVLOG=/usr/tmp/mksysbv.log VGVLOG=/usr/tmp/vgv.log tctl -f /dev/rmt0 rewind /usr/bin/mksysb -ipX /dev/rmt0.1 2>$MKSYSBLOG /usr/bin/savevg -ipXf /dev/rmt0 DEV_VG 2>$VGLOG /usr/sbin/restore -s3 -Tqvf /dev/rmt0.1 2>$MKSYSBVLOG /usr/sbin/restore -s1 -Tqvf /dev/rmt0.1 2>$VGVLOG tctl -f /dev/rmt0 rewind restore: 0511-160 Cannot read the backup media /dev/rmt0.1: There is an input or output error with the tape rewound, if i run a restore -Tvqf /dev/rmt0 it lists the files in DEV_VG. this made me think that the tape was rewinding before running the savevg command for some reason. if i change the backups to use the rmt0 device and manually do all my rewinding and fast forwarding with tctl i get the same errors as the restore command gives me. if i run a /usr/bin/mksysb -ipX /dev/rmt0 then a restore -Tvqf /dev/rmt0 it lists the files in the rootvg. if i then run a tctl -f /dev/rmt0.1 fsf 1 i then receive the following error: restore: 0511-262 Read an unexpected end of file. from what i've read a mksysb should put the files on the 3rd segment of the backup, is this correct? my mksysb doesn't seem to follow the documented standard. thanks in advance. james. edit: sorry for the double post. must have been caused by a timeout while editing my OP. Last edited by boredazfcuk; 06-19-2008 at 07:45 AM.. |
| Bookmarks |
| Tags |
| cpio |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|