10-24-2017
Yes, but it's messy and requires you to copy the file to disk first. Oh.
In theory you could position the tape by skipping forward 2 tape files (or is it 3?) and then using the drive as the parameter for the -m flag, but in practice I would expect this to fail. Give it a try though. You still need space to process it though (see below)
Is there a physical limitation on adding a disk? They are relatively cheap now.
Can you share the output from lsvg, lsvg -l rootvg? We might be able to work something. Also, the contents of /etc/exclude.rootvg and /image.data
The mkdvd eventually calls readcd with the-w flag (for write) which is rather bizarre, but it need enough space to have two copies of the image whilst it does it. The first is to extract the image in to, then the next is to rebuild making a bootable image to write as a single IO to the media.
Do you have another AIX server with a DVD-RAM drive that does have space?
I sadly no longer have access to AIX servers, but I will see what I can remember.
Kind regards,
Robin
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good morning, I have no unix training. My daily backup failed with the following error. ' Cannot create /tmp/tape.bootimage because it already exists. I am using smit to run a rootvg and SAPvg backup. What should I do? (1 Reply)
Discussion started by: ubyankees
1 Replies
2. AIX
I have several systems which require software maintenance several times a year. After the software maintenance, it is required that we make two system tapes for DR purposes. The creation of these system tapes takes anywhere from 1-1.5 hours because of the performance of the tape drives. What I... (7 Replies)
Discussion started by: acascianelli
7 Replies
3. Linux
Hi all,
thanks for so many helps in many problems!
Can anyone guide, how to create a bootable cd/dvd from downloaded iso images of CentOS 5? I have collected all the iso in a dvd but it is not booting the system. Any response will be appreciable... (2 Replies)
Discussion started by: naw_deepak
2 Replies
4. AIX
Hello Folks,Having some problems moving an old mksysb backup to a file image.data to DVD-RAM1) From mkdvd if i do a new backup it works fineBUT2) From mkdvd if I do fails:+--------------------------------------------------------------------------+| Use an existing mksysb image?... (8 Replies)
Discussion started by: filosophizer
8 Replies
5. AIX
Hi,
Can any one please tell me the method to check whether a mksysb image which is in the server is bootable or not. :confused:
Thanks in advance,
Anoop (1 Reply)
Discussion started by: anoopraok
1 Replies
6. AIX
Hello,
Just wondering if I don't have tape drive or NIM server then what are the possible ways to make mksysb ?
My DVD-RAM has only 4GB capacity where as my rootvg is more than 6GB
anythoughts ?
POSTSCRIPT:
SEE HERE FOR THE SOLUTION:... (1 Reply)
Discussion started by: filosophizer
1 Replies
7. AIX
i have been given a bootable cd/dvd, that i install a ibm aix 185 workstation with, i want to make a nim mksysb resource from that,
the following is a listing for the root file structure of the cd/dvd, seems someone took a mksysb of a built ibm aix machine and did mkcd -L -S -I and setup the... (2 Replies)
Discussion started by: asyed123
2 Replies
8. AIX
Hello,
Running AIX 7.1 7100-00-03-1115, trying to make a mksysb image to a dvd drive using mkdvd. My final command looks like this..
mkdvd -e -V rootvg -R -C /usr1/AIXADMIN/mkcd/cd_fs -I /usr1/AIXADMIN/mkcd/cd_images -M /usr1/AIXADMIN/mkcd/mksysbimage -d /dev/cd0 -Y
When i run this... (3 Replies)
Discussion started by: c3rb3rus
3 Replies
9. AIX
hello
How can I know which files did not get backuped
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating image.data... (1 Reply)
Discussion started by: filosophizer
1 Replies
LEARN ABOUT DEBIAN
tgtimg
TGTIMG(8) TGTIMG(8)
NAME
tgtimg - Linux SCSI Target Framework Image File Utility
SYNOPSIS
tgtimg [-o --op <operation>] [-Y --device-type <device-type>] [-b --barcode <barcode>] [-s --size <size>] [-t --type <media-type>]
[-f --file <path>]
tgtimg --help
DESCRIPTION
Tgtimg is a utility to create and manage the image files used by the TGTD device emulation.
This command is used to initialize device image files with the additional metadata, such as barcode, list of blocks, total size, etc that
the TGTD emulation needs.
OPTIONS
-h, --help
Show a help screen and exit.
-o, --op {new|show}
Operation. Is either new to create a new image file or show to show the content of an existing image file.
-Y, --device-type <type>
This specifies the type of image file.
Supported device types are :
cd : to create media for a dvd device
disk : to create media for a disk device
tape : to create media for a tape device
-t, --type <media-type>
When creating a new image, this specifies the type of media to emulate. The available mediatypes depend on the type of the device.
Supported media types for cd devices are :
dvd+r : create a blank writeable DVD+R disk
Supported media types for disk devices are :
disk : create an empty disk
Supported media types for tape devices are :
data : create a normal data tape
clean : create a cleaning tape
worm : create a worm
-b, --barcode <barcode>
When creating a new image, this argument specifies the barcode to use with this image file. Backup application software often uses
barcodes to identify specific tapes. When emulating a VTL, make sure that all tape images use unique barcodes.
-s, --size <size>
When creating a new image, this specifies the size in megabytes for the virtual tape image.
-f, --file <path>
The filename of the image file.
EXAMPLES
To create a new 100MByte disk
tgtimg --op new --device-type disk --type disk --size 100 --file /data/hd001.raw
To create a new tape image
tgtimg --op new --device-type tape --barcode 12345 --size 100 --type data --file /data/tape001.img
To view the content of an existing image
tgtimg --op show --device-type tape --file /data/tape001.img
To create a new blank DVD+R image
tgtimg --op new --device-type cd --type dvd+r --file /data/dvd001.iso
SEE ALSO
tgtd(8), tgtadm(8), tgt-admin(8), tgt-setup-lun(8). http://stgt.sourceforge.net/
REPORTING BUGS
Report bugs to <stgt@vger.kernel.org>
04/04/2010 TGTIMG(8)