09-24-2003
Hi,
The example shows :
tar cvf - / | remsh serverb dd of=/dev/rmt/0mn
I do not know the syntax of making a mksysb tape, at least you know how to make it using tar.
I hope it will help you finding your mksysb solution, else you at least have a backup solution.
If you need more help, please specify the exact command you perform, it might lead me a little closer to your solution.
Regs David
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Whats up guys. I dont ask many questions but this time i need a quick one answerd.
NOS: AIX 4.3.3 and 4.3.2
BOX: RS/6000 F50
i have 12 pv's (mirrored) and 2 vg's and i want them both backed up @ once on one tape drive so i can do it via cron.
I have looked at mksysb and backup. my main... (5 Replies)
Discussion started by: Optimus_P
5 Replies
2. UNIX for Dummies Questions & Answers
hi, for aix and hpux, we have both mksysb and make_recovery for restoring to the former state after it was crashed. is there any equivalent to sun? any pointers will be appreciated. thanks (8 Replies)
Discussion started by: yls177
8 Replies
3. UNIX for Advanced & Expert Users
anybody knows how to recover from a tape in AIX 4.3 from a IBM rs6000 170 system backup done only 97% ? (0 Replies)
Discussion started by: jupiter8
0 Replies
4. Shell Programming and Scripting
#!/bin/ksh
#
# nim_mksysb
# get mksysb from each client machine specified with -m. If no
# machines specified, get mksysb from ALL machines. -r flag says
# remove oldest existing mksysb for the machines being backed up.
# use -n no_make flag with -r to remove a generation of mksysb,
#... (0 Replies)
Discussion started by: barkath
0 Replies
5. AIX
Hi,
Can anyone tell how to list files in a AIX 3.2 mksysb backup tape.
Thanks!
Victor Cheung (4 Replies)
Discussion started by: victorcheung
4 Replies
6. AIX
Hi to all
now we running mksysb to nim on aix servers.
we are planning to take mksysb from vio servers.
can we use the same script for vio servers.
thanks (10 Replies)
Discussion started by: honeym210
10 Replies
7. AIX
Hi All,
Please excuse the possibly naive question but I'm trying to clone/install a new AIX 5.3 LPAR on a p570 from a mksysb image file using nim. Has anyone done this before and if so, what would the exact command look like?
Does it even remotely resemble something like
nim -o... (1 Reply)
Discussion started by: combustables
1 Replies
8. AIX
Hello,
I am trying to install a server from a mksysb made on an other server but whit his proper image.data and bosinst.data, but after selecting boot from DLT tape and starting installation in normal mode with default setting, I get this error message :
error / warning
there is no disk... (2 Replies)
Discussion started by: astjen
2 Replies
9. AIX
I am trying to do a mksysb to a mounted directory that i hava on an ubuntu server. I have 80Gb of space on the ubuntu server. the job fails with message backup medium write error: File to large. What can i do to get this to work?
thanks (4 Replies)
Discussion started by: fierfek
4 Replies
10. AIX
Hello,
Running AIX 7.2 on Power9 bare-metal (no LPAR and no NIM server), in the process of creating a guide on MKSYSB process.
I understand that MKSYSB is a backup of the rootvg and we can exclude stuff via exclude.rootvg file, the rest of the data volumes are mapped to the system as LUNs via... (7 Replies)
Discussion started by: c3rb3rus
7 Replies
mt(1) General Commands Manual mt(1)
Name
mt - magnetic tape manipulating program
Syntax
mt [-f tapename] command [count]
Description
The command permits the operation of a magnetic tape drive.
Options
The -f flag option uses the specified tape device (next argument) in place of either that tape device defined by your TAPE environment
variable (.login or .profile) or /dev/nrmt0h.
Some operations may be performed multiple times by specifying count. By default, performs the requested operation once.
The command argument defines the operation to be performed. Only as many characters as are required to uniquely identify a command need be
specified.
The following is a list of commands:
bsf Backspace count files.
bsr Backspace count records.
cache Allows to use the cache buffer on a tape drive that has the cache buffer feature.
clhrdsf Clear hardware/software problem. Works with tape drives which use the TMSCP tape controller interface This command is
restricted to root access only.
clserex Clear serious exception. Works with tape drives which use the TMSCP tape controller interface
clsub Clear subsystem. Works with tape drives which use the TMSCP tape controller interface This command is restricted to
root access only.
eof, weof Write count end-of-file marks at the current position on the tape.
eotdis Disable end-of-tape detection. When the end of tape is reached, the tape will run off the reel. Only the superuser
can issue this command. The command remains in effect for the device until end-of-tape detection is enabled with the
eoten command.
eoten Enable end-of-tape detection. When the end-of-tape markers are reached, the tape is halted on the reel, between the
two end-of-tape markers. Only the superuser can issue this command. The command remains in effect for the device
until end-of-tape detection is disabled with the eotdis command. This is the default mode after a system boot.
fsf Forward-space count files.
fsr Forward-space count records.
nocache Disables the use of the cache buffer for any tape drive that has the cache buffer feature.
offline, rewoffl Rewind the tape and place the tape unit off-line.
retension Retensions the tape. Retension means moving the tape one complete pass between EOT and BOT.
rewind Rewind the tape.
status Print status information about the tape unit.
Examples
This example shows how to rewind the tape
mt -f /dev/rmt0l rewind
This example shows how to backspace the tape nmt1h three files:
mt -f /dev/nrmt1h bsf 3
This example shows how to write two end-of-file marks at the current position on tape nmt6h:
mt -f /dev/nrmt6h eof 2
Return Values
In shell scripts, returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation
failed.
Files
/dev/rmt?h or /dev/rmt?l
Raw magnetic tape interface with rewind when closed
/dev/nmt?h or /dev/nmt?l
Raw magnetic tape interface with no rewind when closed
See Also
dd(1), tar(1), ioctl(2), mtio(4), tms(4), environ(7)
mt(1)