Sponsored Content
Full Discussion: backup on aix
Operating Systems AIX backup on aix Post 302316567 by lo-lp-kl on Friday 15th of May 2009 11:55:51 AM
Old 05-15-2009
backup on aix

Hello everyone

I have a 3583 tape library on my Aix servers. (aix 5.3)

Im install hypertape software for backup datebase, files, etc.

I have a question. on my directory devices I have this rmt

crw-rw-rwT 1 root system 42, 1 Jan 18 21:57 rmt1.1
crw-rw-rwT 1 root system 42, 9 Jan 18 21:57 rmt1.10
crw-rw-rwT 1 root system 42, 4 Jan 18 21:57 rmt1.2
crw-rw-rwT 1 root system 42, 8 Jan 18 21:57 rmt1.20
crw-rw-rwT 1 root system 42, 5 Jan 18 21:57 rmt1.3
crw-rw-rwT 1 root system 42, 0 Jan 18 21:57 rmt1.4
crw-rw-rwT 1 root system 42, 32 Jan 18 21:57 rmt1.40
crw-rw-rwT 1 root system 42, 33 Jan 18 21:57 rmt1.41
crw-rw-rwT 1 root system 42, 1 Jan 18 21:57 rmt1.5
crw-rw-rwT 1 root system 42, 4 Jan 18 21:57 rmt1.6
crw-rw-rwT 1 root system 42, 40 Jan 18 21:57 rmt1.60
crw-rw-rwT 1 root system 42, 5 Jan 18 21:57 rmt1.7
crw-rw-rwT 1 root system 42, 64 Jan 18 21:57 rmt1.null
crw-rw-rwT 1 root system 42, 2 Jan 18 21:57 rmt1.smc
crw-rw-rwT 1 root system 42,256 Jan 18 21:57 rmt2
crw-rw-rwT 1 root system 42,257 Jan 18 21:57 rmt2.1
crw-rw-rwT 1 root system 42,265 Jan 18 21:57 rmt2.10
crw-rw-rwT 1 root system 42,260 Jan 18 21:57 rmt2.2
crw-rw-rwT 1 root system 42,264 Jan 18 21:57 rmt2.20
crw-rw-rwT 1 root system 42,261 Jan 18 21:57 rmt2.3
crw-rw-rwT 1 root system 42,256 Jan 18 21:57 rmt2.4
crw-rw-rwT 1 root system 42,288 Jan 18 21:57 rmt2.40
crw-rw-rwT 1 root system 42,289 Jan 18 21:57 rmt2.41
crw-rw-rwT 1 root system 42,257 Jan 18 21:57 rmt2.5
crw-rw-rwT 1 root system 42,260 Jan 18 21:57 rmt2.6
crw-rw-rwT 1 root system 42,296 Jan 18 21:57 rmt2.60
crw-rw-rwT 1 root system 42,261 Jan 18 21:57 rmt2.7
crw-rw-rwT 1 root system 42,320 Jan 18 21:57 rmt2.null
crw-rw-rwT 1 root system 42,258 Jan 18 21:57 rmt2.smc

What is the difference between rmt2.1 and rmt2.4 ?
When I can use the first one or the another one?

My question is because my hypertape provider told me that there is a question about the rewind of the tape by the OS.

The tape library make all the process load and unload the tape, make the backup but doesnt make the rewind.

Thatīs why I ask about the different devices found in the devices directory.

I hope you get the idea about this.



Thanks everyone for your comments and tips.
 

9 More Discussions You Might Find Interesting

1. AIX

AIX backup and restore

Hello, Some background so you can see what I'm trying to do on AIX: In Windows its possible to partition a single hard drive into 2 separate logical paritions which may appear as a C and a D drive. It is then possible to to use 3rd party software such as Power Quest Drive Image to create a... (3 Replies)
Discussion started by: quickfirststep
3 Replies

2. UNIX for Advanced & Expert Users

help with AIX and backup command

:) Hi my name is Ricardo !!!! I am using backup command in order to backup a server which its running AIX operating system. But I want to backup more than one filesytem in my script, this script send my backup to /dev/rmt0 (tape drive). my trouble is that I donīt know how to tell my script... (1 Reply)
Discussion started by: rickie
1 Replies

3. AIX

Aix backup error

Hi I am receiving the following backup error when using backup -0uf /dev/rmt0.1 for the file system backup: Backing up /dev/rfslv00 (/u04) to /dev/rmt0.1. backup: 0511-251 The file system is still mounted; data may not be consistent. Use the umount command to unmount the filesystem;... (1 Reply)
Discussion started by: jimthompson
1 Replies

4. AIX

Backup AIX to DVDs

Hello, Is there a way to backup AIX to CD's? (1 Reply)
Discussion started by: aixn00b
1 Replies

5. Shell Programming and Scripting

AIX script, help I'm just a backup!

Hello, I am trying to get the following Lawson command to work in an AIX script for a developer and I'm stumped, the Admin for this server is on vacation and I have very limited AIX scripting knowledge, I cannot seem to get this to work no matter what I try... lawcmp test900 ap HM500 This is... (1 Reply)
Discussion started by: j_aix
1 Replies

6. AIX

backup linux like aix

Hello everyone I need to backup some boxes with redhat enterprise for power. I was looking for software but I need to umount filesystems,etc,etc. I need a software that backup like I do with my aix boxes. mksysb command and thatīs it. Because I need to do online, with no umount fs. ... (5 Replies)
Discussion started by: lo-lp-kl
5 Replies

7. AIX

[Tip] Backup and restore on AIX

Pretty penny's. Just remember that mksysb and savevg are just front-ends for backup. In other words, backups on AIX are organized by volume groups. mksysb is specialized for rootvg and savevg is used for other volume groups. Ignoring that rootvg also creates files needed to boot a system... (1 Reply)
Discussion started by: MichaelFelt
1 Replies

8. AIX

Backup software for AIX

Hello, Looking for some backup software for AIX , once tivoli is bit expensive , i'm searching for alternatives, do you guys have some experience with some other software? Cheers, (6 Replies)
Discussion started by: prpkrk
6 Replies

9. AIX

AIX backup solutions

Currently I am backing up AIX to tape. I would like to setup a back that goes to another server either windows or linux that we already backup and send offsite automatically. Is this possible? Thanks (5 Replies)
Discussion started by: fierfek
5 Replies
ports(1M)						  System Administration Commands						 ports(1M)

NAME
ports - creates /dev entries and inittab entries for serial lines SYNOPSIS
/usr/sbin/ports [-r rootdir] DESCRIPTION
devfsadm(1M) is now the preferred command for /dev and /devices and should be used instead of ports. The ports command creates symbolic links in the /dev/term and /dev/cua directories to the serial-port character device files in /devices and adds new entries in /etc/inittab for non-system ports found. System-board ports are given single lower-case letters for names (such as a and b) while other ports are named numerically. ports searches the kernel device tree to find the serial devices attached to the system. It also checks /dev/term and /dev/cua to see what symbolic links to serial devices already exist. ports then performs the following: 1. Assigns new numbers (or letters for system-board ports) to ports that are attached to the system but do not have /dev/term and /dev/cua entries. The numbers or letters assigned are the lowest-unused numbers or letters. 2. Removes dangling links: links from /dev/term and /dev/cua pointing to no-longer-existing ports. 3. Creates new /dev/term and /dev/cua links for new serial devices. 4. Invokes sacadm(1M) to make new port monitor entries for the new devices. This is not done automatically for on-board ports; on worksta- tions these ports are often not used for dial-in sessions, so a port-monitor for one of these ports must be created explicitly. If the configuration has not changed, ports exits without doing anything. Notice to Driver Writers ports considers devices with a node type of DDI_NT_SERIAL, DDI_NT_SERIAL_MB, DDI_NT_SERIAL_DO, or DDI_NT_SERIAL_MB_DO to be serial port devices. Devices with one of these node types must create minor device names that obey the following conventions when calling ddi_cre- ate_minor_node(9F). o The minor name for non-system port devices (DDI_NT_SERIAL) consists of an ASCII numeric string, where the first port on the device is named 0, the second named 1, the third named 2, up to the number of ports provided by the device. o The minor name for non-system dialout devices (DDI_NT_SERIAL_DO) is the ASCII numeric port name, concatenated with ,cu. For example, the minor name for the first dialout port on the serial board is 0,cu. o The minor name for system-board port devices (DDI_NT_SERIAL_MB) consists of a string containing a single ASCII lowercase character, where the first port on the device is named a, the second is named b, the third is named c, for all ports on the device (or up through port z). o The minor name for system-board dialout devices (DDI_NT_SERIAL_MB_DO) consists of the lowercase character port name, concatenated with ,cu. For example, the minor name for the first dialout port on the on-board serial device is a,cu. To prevent disks from attempting to automatically generate links for a device, drivers must specify a private node type and refrain from using one of the above node types when calling ddi_create_minor_node(9F). OPTIONS
The following options are supported: -r rootdir Causes ports to presume that the /dev/term, /dev/cua, and /devices directories are found under rootdir, not directly under /. If this argument is specified, sacadm(1M) is not invoked, since it would update terminal administration files under /etc without regard to the rootdir. EXAMPLES
Example 1: Creating the Serial and Dialout Minor Device Nodes The following example creates the serial and dialout minor device nodes from the xkserial driver's attach(9E) function: /* * Create the minor number by combining the instance number * with the port number. */ #define XKNUMPORTS 8 #define XKMINORNUM(i, p) ((i) << 4 | (p)) #define XKMINORNUM_DO(i, p) ((i) << 4 | (p) | 0x80) int xkserialattach(dev_info_t *dip, ddi_attach_cmd_t cmd) { int instance, portnum; char name[8]; /* other stuff in attach... */ instance = ddi_get_instance(dip); for (portnum = 0; portnum < XKNUMPORTS; portnum++) { /* * create the serial port device */ sprintf(name, "%d", portnum); ddi_create_minor_node(dip, name, S_IFCHR, XKMINORNUM(instance, portnum), DDI_NT_SERIAL, 0); /* * create the dialout device */ sprintf(name,"%d,cu", portnum); ddi_create_minor_node(dip, name, S_IFCHR, XKMINORNUM_DO(instance, portnum), DDI_NT_SERIAL_DO, 0); } } Example 2: Installing the xkserial Port Driver on a Sun Fire 4800 The following example installs the xkserial port driver on a Sun Fire 4800 (with the driver controlling the fictional XKSerial 8 port serial board), with these special files in /devices: # ls -l /devices/ssm@0,0/pci@18,700000/pci@1/xkserial@f,800000/ crw-r----- 1 root sys 32, 16 Aug 29 00:02 xkserial@2000:0 crw-r----- 1 root sys 32, 144 Aug 29 00:02 xkserial@2000:0,cu crw-r----- 1 root sys 32, 17 Aug 29 00:02 xkserial@2000:1 crw-r----- 1 root sys 32, 145 Aug 29 00:02 xkserial@2000:1,cu crw-r----- 1 root sys 32, 18 Aug 29 00:02 xkserial@2000:2 crw-r----- 1 root sys 32, 146 Aug 29 00:02 xkserial@2000:2,cu crw-r----- 1 root sys 32, 19 Aug 29 00:02 xkserial@2000:3 crw-r----- 1 root sys 32, 147 Aug 29 00:02 xkserial@2000:3,cu crw-r----- 1 root sys 32, 20 Aug 29 00:02 xkserial@2000:4 crw-r----- 1 root sys 32, 148 Aug 29 00:02 xkserial@2000:4,cu crw-r----- 1 root sys 32, 21 Aug 29 00:02 xkserial@2000:5 crw-r----- 1 root sys 32, 149 Aug 29 00:02 xkserial@2000:5,cu crw-r----- 1 root sys 32, 22 Aug 29 00:02 xkserial@2000:6 crw-r----- 1 root sys 32, 150 Aug 29 00:02 xkserial@2000:6,cu crw-r----- 1 root sys 32, 23 Aug 29 00:02 xkserial@2000:7 crw-r----- 1 root sys 32, 151 Aug 29 00:02 xkserial@2000:7,cu /dev/term contain symbolic links to the serial port device nodes in /devices # ls -l /dev/term /dev/term/0 -> ../../devices/[....]/xkserial@2000:0 /dev/term/1 -> ../../devices/[....]/xkserial@2000:1 /dev/term/2 -> ../../devices/[....]/xkserial@2000:2 /dev/term/3 -> ../../devices/[....]/xkserial@2000:3 /dev/term/4 -> ../../devices/[....]/xkserial@2000:4 /dev/term/5 -> ../../devices/[....]/xkserial@2000:5 /dev/term/6 -> ../../devices/[....]/xkserial@2000:6 /dev/term/7 -> ../../devices/[....]/xkserial@2000:7 and /dev/cua contain symbolic links to the dialout port device nodes in /devices # ls -l /dev/cua /dev/cua/0 -> ../../devices/[....]/xkserial@2000:0,cu /dev/cua/1 -> ../../devices/[....]/xkserial@2000:1,cu /dev/cua/2 -> ../../devices/[....]/xkserial@2000:2,cu /dev/cua/3 -> ../../devices/[....]/xkserial@2000:3,cu /dev/cua/4 -> ../../devices/[....]/xkserial@2000:4,cu /dev/cua/5 -> ../../devices/[....]/xkserial@2000:5,cu /dev/cua/6 -> ../../devices/[....]/xkserial@2000:6,cu /dev/cua/7 -> ../../devices/[....]/xkserial@2000:7,cu FILES
/dev/term/n Logical serial port devices /dev/cua/n Logical dialout port devices /etc/inittab /etc/saf/* ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability | SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
add_drv(1M), devfsadm(1M), drvconfig(1M), pmadm(1M), sacadm(1M), attributes(5), devfs(7FS), attach(9E), ddi_create_minor_node(9F) Writing Device Drivers SunOS 5.10 8 Nov 2002 ports(1M)
All times are GMT -4. The time now is 01:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy