aix 4.2 : using dd of=/dev/rmt0 producing error


 
Thread Tools Search this Thread
Operating Systems AIX aix 4.2 : using dd of=/dev/rmt0 producing error
# 8  
Old 07-15-2009
Quote:
Originally Posted by pchangba
can u post the output of the following command
#oslevel -a

can u also send the detail of the tape i.e. machine type and serial number
I tried using :
tar cvpdlBf - folder | compress | dd if=- of=/dev/rmt0.1 bs=10240

but using ... | dd if=- ... does not work. It does not recognize the - as a proper input file direction.

dd -: A file or directory in the path name does not exist


Also

oslevel with option -a is unknown to the system. I have -l <level>, -g and -q
Quote:
Fileset Actual Level Maintenance Level
-----------------------------------------------------------------------------
X11.Dt.lib 4.2.1.5 4.2.1.0
X11.Dt.rte 4.2.1.14 4.2.1.0
X11.apps.aixterm 4.2.1.2 4.2.1.0
X11.apps.msmit 4.2.1.2 4.2.1.0
X11.apps.pm 4.2.1.1 4.2.1.0
X11.apps.rte 4.2.1.1 4.2.1.0
X11.apps.xterm 4.2.1.2 4.2.1.0
X11.vsm.rte 4.2.1.2 4.2.1.0
bos.acct 4.2.1.1 4.2.1.0
bos.adt.base 4.2.1.4 4.2.1.0
bos.adt.debug 4.2.1.8 4.2.1.0
bos.adt.include 4.2.1.12 4.2.1.0
bos.adt.prof 4.2.1.15 4.2.1.0
bos.adt.sccs 4.2.0.1 4.2.0.0
bos.compat.NetInstl 4.2.1.1 4.2.1.0
bos.diag.com 4.2.1.9 4.2.1.0
bos.diag.rte 4.2.1.4 4.2.1.0
bos.diag.util 4.2.1.5 4.2.1.0
bos.mh 4.2.0.1 4.2.0.0
bos.mp 4.2.1.18 4.2.1.0
bos.net.nis.client 4.2.1.4 4.2.1.0
bos.net.nis.server 4.2.1.4 4.2.1.0
bos.net.tcp.client 4.2.1.19 4.2.1.0
bos.net.tcp.server 4.2.1.10 4.2.1.0
bos.rte.ILS 4.2.1.1 4.2.1.0
bos.rte.aio 4.2.1.5 4.2.1.0
bos.rte.control 4.2.1.10 4.2.1.0
bos.rte.cron 4.2.1.3 4.2.1.0
bos.rte.devices_msg 4.2.1.1 4.2.1.0
bos.rte.install 4.2.1.2 4.2.1.0
bos.rte.libc 4.2.1.16 4.2.1.0
bos.rte.libs 4.2.1.2 4.2.1.0
bos.rte.lvm 4.2.1.17 4.2.1.0
bos.rte.serv_aid 4.2.1.7 4.2.1.0
bos.rte.shell 4.2.1.10 4.2.1.0
bos.rte.streams 4.2.1.5 4.2.1.0
bos.rte.tty 4.2.1.15 4.2.1.0
bos.sysmgt.nim.master 4.2.1.2 4.2.1.0
bos.sysmgt.serv_aid 4.2.1.9 4.2.1.0
bos.sysmgt.trace 4.2.1.3 4.2.1.0
bos.txt.tfs.data 4.2.0.2 4.2.0.0
bos.up 4.2.1.18 4.2.1.0
devices.chrp.base.diag 4.2.1.9 4.2.1.0
devices.chrp.base.rte 4.2.1.3 4.2.1.0
devices.common.IBM.async.diag 4.2.1.4 4.2.1.0
devices.common.IBM.cx.rte 4.2.1.1 4.2.1.0
devices.common.IBM.ethernet.rte 4.2.1.1 4.2.1.0
devices.common.base.diag 4.2.1.4 4.2.1.0
devices.isa.cxia.com 4.2.1.3 4.2.1.0
devices.isa.cxia.rte 4.2.0.1 4.2.0.0
devices.isa.cxia128.diag 4.2.0.1 4.2.0.0
devices.isa.cxia128.rte 4.2.1.1 4.2.1.0
devices.isa.cxia128.ucode 4.2.0.1 4.2.0.0
devices.isa_sio.IBM0005.IBM8301.rte 4.2.1.1 4.2.1.0
devices.isa_sio.PNP0303.diag 4.2.1.1 4.2.1.0
devices.mca.8f62.diag 4.2.1.1 4.2.1.0
devices.mca.8f62.rte 4.2.1.9 4.2.1.0
devices.mca.8f97.com 4.2.1.11 4.2.1.0
devices.mca.8f97.diag 4.2.1.12 4.2.1.0
devices.mca.8f97.rte 4.2.1.3 4.2.1.0
devices.mca.f6f4.diag 4.2.1.1 4.2.1.0
devices.mca.f6f8.diag 4.2.0.1 4.2.0.0
devices.mca.ffe1.diag 4.2.0.1 4.2.0.0
devices.mca.ffe1.rte 4.2.1.3 4.2.1.0
devices.mca.ffe1.ucode 4.2.0.1 4.2.0.0
devices.pci.14104500.diag 4.2.1.3 4.2.1.0
devices.pci.14104500.rte 4.2.1.3 4.2.1.0
devices.rspc.base.diag 4.2.1.5 4.2.1.0
devices.sio.ktma.diag 4.2.1.1 4.2.1.0
devices.sio.ktma.rte 4.2.1.2 4.2.1.0
devices.ssa.IBM_raid.rte 4.2.1.7 4.2.1.0
devices.ssa.disk.rte 4.2.1.10 4.2.1.0
devices.tty.rte 4.2.1.4 4.2.1.0
xlC.rte 3.1.4.4 3.1.3.0

Known Maintenance Levels
------------------------
4.2.1.0


I have no idea how to get the serial number.
Quote:

Change / Show Characteristics of a Tape Drive

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
Tape Drive rmt0
Tape Drive type 8mm5gb
Tape Drive interface scsi
Description 5.0 GB 8mm Tape Drive
Status Available
Location 00-00-0S-1,0
Parent adapter scsi0
Connection address 1,0
BLOCK size (0=variable length) [10240]
Use DEVICE BUFFERS during writes yes
Use EXTENDED file marks yes
DENSITY setting #1 140
DENSITY setting #2 20
Use data COMPRESSION yes
# 9  
Old 07-15-2009
ok, one step after the other:

Quote:
Originally Posted by Browser_ice
tar cvpdlBf - folder | compress | dd if=- of=/dev/rmt0.1 bs=10240

but using ... | dd if=- ... does not work. It does not recognize the - as a proper input file direction.
I assume you want to avoid taxing the file system, right? Colleague shockneck told me that in v5 onwards stdin is the default for dd - i remember vaguely that this was different in 4.x, but you could try. Even if it doesn't work you might create a fifo and pipe it through this pseudofile.


Quote:
oslevel with option -a is unknown to the system.
As far as i remember (its been a while) "-a" was introduced with v5. You find the "classical" way of getting detailed version information in the pinned thread at the top of this forum.

Quote:
I have no idea how to get the serial number.
The serial number is only printed on the case and you will have to have physical access to the machine to get it. There is no way to find it via a command in a R/6000 machine.

Still i don't think the serial number is of interest here. What would be interesting is the model number which would be a 4-digit number maybe with a 3-digit extension, probably starting with a 7, like "7026-150" or so. Try "uname -M" to get the model number (i am not sure if this is a 5.x command too, but it is worth a try).

I hope that helps.

bakunin
# 10  
Old 07-16-2009
I will never get access to open up any server cases.

the uname -m worked on my 22 servers and is showing all different model numbers (which I assume is ok).

Here is the uname -m of the first one:
000064798200
# 11  
Old 07-21-2009
Anything new on this problem ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX native SNMP producing limited results when walking MIB tree

The company I work for has various AIX servers that I've recently migrated to AIX 7.1 (from 6.1). Some are powerHA clusters some are not. Likewise, the systems engineer that I replaced had net-snmp installed on said clustered systems. Long story short I am re-invoking AIX's native SNMP (v3) for... (1 Reply)
Discussion started by: davix
1 Replies

2. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

3. AIX

"Please mount volume 2 on /dev/rmt0.1" message during mksysb restore

Dear all First of all, my English not so good. We have p52a (production server) and p52a (test server). Tape drives are VXA2. When both servers were AIX 5.3, mksysb on production server and restoring to test server was OK. The production server was AIX 5.3 and recently upgraded to... (3 Replies)
Discussion started by: fifa15pc
3 Replies

4. Homework & Coursework Questions

iptables producing 'Unknown error 18446744073709551615' inRed Hat Enterprise Linux Server 5.5

Creating a large number of rules such as 100000, iptables will produce errors after 42000 rules "iptables: Unknown error 18446744073709551615". But another machine where i have debian virtual machine I can easily run the sciprt of 100000 of rules I am waiting for your reply 4.... (1 Reply)
Discussion started by: tahirfattani
1 Replies

5. AIX

rmt0 allows get increased .. !

rmt0 allows get increased .. ! I have faced this issue in my AIX server, rmt0 allows get increased and it's filled /root till 100% There is no tape in tape drive why it's increased? Pls advice.. (1 Reply)
Discussion started by: Mr.AIX
1 Replies

6. UNIX for Dummies Questions & Answers

Script producing error, Program to calculate maximum number

Hi folks, Here i have written a shell script to calculate a maximum number from 10 numbers entered on command line. max=0 echo Enter 10 numbers , one at a time for i in 1 2 3 4 5 6 7 8 9 10 do read n max=`expr $max + $n` if --- At this last step there is some problem, it gives error... (5 Replies)
Discussion started by: rits
5 Replies

7. AIX

/dev/rmt0 pointed to from an NFS of another server ?

I only about the principle of filesystems from the very basics on Linux and Windows. But I want to know if it is possible on an AIX 4.2 to create one NFS on a server which is pointing to a tape drive (/dev/rmt0) of another server ? This is because we several backups to do on a 5 servers that... (5 Replies)
Discussion started by: Browser_ice
5 Replies

8. AIX

Piping to /dev/rmt0 tape ?

I am trying to find a way to do the following on an AIX 4.2 with Korn: tar cvfpdl - . | compress > /dev/rmt0 The /dev/rmt0 is the device we use when we tar directly to it. I want to compress a folder's content to tape. Our current TAR does not have compression at all. We only have... (5 Replies)
Discussion started by: Browser_ice
5 Replies

9. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

10. AIX

mt -f /dev/rmt0.1 status

Hello all, Anyboby knows what is the reason by which the ouput of the command mt -f /dev/rmt0.1 status on AIX does not show the same information that in the rest of platforms UNIX (Solaris, HP-UX, ...)? Then, what command of AIX is similar to mt- f /dev/rmt0.1 status of Solaris? We need it to... (0 Replies)
Discussion started by: smoraprosol
0 Replies
Login or Register to Ask a Question