mksysb with smitty


 
Thread Tools Search this Thread
Operating Systems AIX mksysb with smitty
# 1  
Old 09-10-2008
mksysb with smitty

Hello

I need to make a mksysb, I try with smitty but I get the next message

0512-017 mksysb: Cannot write to the device /dev/rmt3.
Either write protected or in use.

My tape are ready to write ( dont get protection)
I use the clean tape
and I try with other tapes but I got the same message

My question is someone has got this problem before.

Thanks for your advices

I send some commands


lsdev -Cc tape
rmt0 Available 08-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt1 Available 08-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt2 Available 08-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt3 Available 08-08-02 IBM 3580 Ultrium Tape Drive (FCP)
smc0 Available 08-08-02 IBM 3583 Library Medium Changer (FCP)

lscfg -vpsl rmt3
rmt3 U7311.D20.10035BB-P1-C01-T1-W500308C143CAE002-L0
IBM 3580 Ultrium Tape Drive (FCP)

Manufacturer................IBM
Machine Type and Model......ULT3580-TD3
Serial Number...............1210068798
Device Specific.(FW)........73P5

lsattr -El /dev/rmt3
lsattr: 0514-519 The following device was not found in the customized
device configuration database:
/dev/rmt3

prodwps2 > mt -f /dev/rmt3 status
rmt3 Available 08-08-02 IBM 3580 Ultrium Tape Drive (FCP)
attribute value description user_settable

alt_pathing no Enable Alternate Pathing Support True
autoload no Use Autoloading Feature at End-of-Tape True
block_size 0 Block Size (0=Variable Length) True
compress yes Use Hardware Compression on Tape True
debug_trace no Debug Trace Logging Enabled True
dev_status N/A False
devtype ULT3580- Device Type False
location Location True
logging no Activate volume information logging True
lun_id 0x0 Logical Unit Number True
max_log_size 500 Maximum size of log file (in # of entries) True
new_name New Logical Name True
node_name 0x500308c143cae001 World Wide Node Name False
primary_device rmt3 Primary Logical Device False
retain_reserve no Retain Reservation False
rew_immediate no Use Immediate Bit in Rewind Commands True
scsi_id 0x158e8 SCSI Target ID True
space_mode SCSI Backward Space/Forward Space Record Mode True
trace_logging no Trace Logging Enabled True
trailer_labels no Trailer Label Processing True
ww_name 0x500308c143cae002 World Wide Port Name False
# 2  
Old 09-11-2008
Hi,
make shure that you're logged in as root and the cartridge has the write protect slider in the write enabled position.

These seem to me the most probable causes for your problem.

If your problem persists the out put of ls -l /dev/rmt* would be helpful.

regards
# 3  
Old 09-11-2008
mksysb with smitty

Thanks for your reply pla1631

Yes Im login as a root and with the correct write enabled position for the cartridge.

I send the output of the ls -l /dev/rmt*

ls -l /dev/rmt*
crw-rw-rwT 1 root system 39, 0 Aug 26 16:32 /dev/rmt0
crw-rw-rwT 1 root system 39, 1 Aug 26 16:32 /dev/rmt0.1
crw-rw-rwT 1 root system 39, 9 Aug 26 16:32 /dev/rmt0.10
crw-rw-rwT 1 root system 39, 4 Aug 26 16:32 /dev/rmt0.2
crw-rw-rwT 1 root system 39, 8 Aug 26 16:32 /dev/rmt0.20
crw-rw-rwT 1 root system 39, 5 Aug 26 16:32 /dev/rmt0.3
crw-rw-rwT 1 root system 39, 0 Aug 26 16:32 /dev/rmt0.4
crw-rw-rwT 1 root system 39, 32 Aug 26 16:32 /dev/rmt0.40
crw-rw-rwT 1 root system 39, 33 Aug 26 16:32 /dev/rmt0.41
crw-rw-rwT 1 root system 39, 1 Aug 26 16:32 /dev/rmt0.5
crw-rw-rwT 1 root system 39, 4 Aug 26 16:32 /dev/rmt0.6
crw-rw-rwT 1 root system 39, 40 Aug 26 16:32 /dev/rmt0.60
crw-rw-rwT 1 root system 39, 5 Aug 26 16:32 /dev/rmt0.7
crw-rw-rwT 1 root system 39, 64 Aug 26 16:32 /dev/rmt0.null
crw-rw-rwT 1 root system 39, 2 Aug 26 16:32 /dev/rmt0.smc
crw-rw-rwT 1 root system 39,256 Aug 26 16:32 /dev/rmt1
crw-rw-rwT 1 root system 39,257 Aug 26 16:32 /dev/rmt1.1
crw-rw-rwT 1 root system 39,265 Aug 26 16:32 /dev/rmt1.10
crw-rw-rwT 1 root system 39,260 Aug 26 16:32 /dev/rmt1.2
crw-rw-rwT 1 root system 39,264 Aug 26 16:32 /dev/rmt1.20
crw-rw-rwT 1 root system 39,261 Aug 26 16:32 /dev/rmt1.3
crw-rw-rwT 1 root system 39,256 Aug 26 16:32 /dev/rmt1.4
crw-rw-rwT 1 root system 39,288 Aug 26 16:32 /dev/rmt1.40
crw-rw-rwT 1 root system 39,289 Aug 26 16:32 /dev/rmt1.41
crw-rw-rwT 1 root system 39,257 Aug 26 16:32 /dev/rmt1.5
crw-rw-rwT 1 root system 39,260 Aug 26 16:32 /dev/rmt1.6
crw-rw-rwT 1 root system 39,296 Aug 26 16:32 /dev/rmt1.60
crw-rw-rwT 1 root system 39,261 Aug 26 16:32 /dev/rmt1.7
crw-rw-rwT 1 root system 39,320 Aug 26 16:32 /dev/rmt1.null
crw-rw-rwT 1 root system 39,258 Aug 26 16:32 /dev/rmt1.smc
crw-rw-rwT 1 root system 39,512 Aug 26 16:32 /dev/rmt2
crw-rw-rwT 1 root system 39,513 Aug 26 16:32 /dev/rmt2.1
crw-rw-rwT 1 root system 39,521 Aug 26 16:32 /dev/rmt2.10
crw-rw-rwT 1 root system 39,516 Aug 26 16:32 /dev/rmt2.2
crw-rw-rwT 1 root system 39,520 Aug 26 16:32 /dev/rmt2.20
crw-rw-rwT 1 root system 39,517 Aug 26 16:32 /dev/rmt2.3
crw-rw-rwT 1 root system 39,512 Aug 26 16:32 /dev/rmt2.4
crw-rw-rwT 1 root system 39,544 Aug 26 16:32 /dev/rmt2.40
crw-rw-rwT 1 root system 39,545 Aug 26 16:32 /dev/rmt2.41
crw-rw-rwT 1 root system 39,513 Aug 26 16:32 /dev/rmt2.5
crw-rw-rwT 1 root system 39,516 Aug 26 16:32 /dev/rmt2.6
crw-rw-rwT 1 root system 39,552 Aug 26 16:32 /dev/rmt2.60
crw-rw-rwT 1 root system 39,517 Aug 26 16:32 /dev/rmt2.7
crw-rw-rwT 1 root system 39,576 Aug 26 16:32 /dev/rmt2.null
crw-rw-rwT 1 root system 39,514 Aug 26 16:32 /dev/rmt2.smc
crw-rw-rwT 1 root system 39,768 Aug 26 16:33 /dev/rmt3
crw-rw-rwT 1 root system 39,769 Aug 26 16:33 /dev/rmt3.1
crw-rw-rwT 1 root system 39,777 Aug 26 16:33 /dev/rmt3.10
crw-rw-rwT 1 root system 39,772 Aug 26 16:33 /dev/rmt3.2
crw-rw-rwT 1 root system 39,776 Aug 26 16:33 /dev/rmt3.20
crw-rw-rwT 1 root system 39,773 Aug 26 16:33 /dev/rmt3.3
crw-rw-rwT 1 root system 39,768 Aug 26 16:33 /dev/rmt3.4
crw-rw-rwT 1 root system 39,800 Aug 26 16:33 /dev/rmt3.40
crw-rw-rwT 1 root system 39,801 Aug 26 16:33 /dev/rmt3.41
crw-rw-rwT 1 root system 39,769 Aug 26 16:33 /dev/rmt3.5
crw-rw-rwT 1 root system 39,772 Aug 26 16:33 /dev/rmt3.6
crw-rw-rwT 1 root system 39,808 Aug 26 16:33 /dev/rmt3.60
crw-rw-rwT 1 root system 39,773 Aug 26 16:33 /dev/rmt3.7
crw-rw-rwT 1 root system 39,832 Aug 26 16:33 /dev/rmt3.null
crw-rw-rwT 1 root system 39,770 Aug 26 16:33 /dev/rmt3.smc
# 4  
Old 09-11-2008
Make sure that the device infact works.Try writing and reading a small file to the drive.The tape drive may infact be defective.Try running #diag on the tape drive.If still in use try powering the tape drive off/on and then running #cfgmgr to free it.You may want to try different media as well in oder to isolate the issue.
# 5  
Old 09-13-2008
Quote:
Originally Posted by lo-lp-kl
[...]I need to make a mksysb, I try with smitty but I get the next message

0512-017 mksysb: Cannot write to the device /dev/rmt3.
Either write protected or in use.
[...]
IMHO your thread's title is somewhat misleading. The problem seems to be a problem with FC rather than SMIT or mksysb.
Which oslevel do you use, what are the fileset levels of your FC devices? Which multipathing software is installed on that server? Did you change the environment recently, e.g. did you add the FC tapes to the already existing FC adapter? Did the LAN free backup ever work before? Is there a load problem on the FC equipment? Are there FC related entries in errpt?

Quote:
Originally Posted by lo-lp-kl
[...]lsattr -El /dev/rmt3
lsattr: 0514-519 The following device was not found in the customized
device configuration database:
/dev/rmt3
[...]
Probably the easiest part of your problem. Smilie Try
# lsattr -El rmt3
instead.
# 6  
Old 09-15-2008
Form the list of devices you have there is look like a library and not a dat drive

you may fin that you have no ddsX tape drive

This is what you can try

Mksysb to Nim server or to central location
I normaly have a script to do this
  1. mount nfs location to system to be mksysb
  2. smitty mksysb
  3. point to the nfs mount file system and use filenme to id the system

Mksysb to dvd
  1. Make sure that the mksysbe is smaller than 4.7G
  2. make sure that you have access to the DVD drive
  3. then Run smitty mkdvd
Smilie
# 7  
Old 09-15-2008
mksysb with smitty

Thanks for your reply ravager, shockneck, minntekmikey

My oslevel is 5300-06-01-0000

shockneck you mention something about FC (Fibre Channel). Now you mention I think this could be the problem.

My FC adapters go to two switch and then go to the main swith. In a few days the two switch are going to dissapear and all my fc adapters go direct to the main switch.

Because some weeks ago I can do a mksysb. but now in any partition I canīt make a mksysb.

I send the output of the command

$ lsattr -El rmt3
alt_pathing no Enable Alternate Pathing Support True
autoload no Use Autoloading Feature at End-of-Tape True
block_size 0 Block Size (0=Variable Length) True
compress yes Use Hardware Compression on Tape True
debug_trace no Debug Trace Logging Enabled True
dev_status N/A False
devtype ULT3580- Device Type False
location Location True
logging no Activate volume information logging True
lun_id 0x0 Logical Unit Number True
max_log_size 500 Maximum size of log file (in # of entries) True
new_name New Logical Name True
node_name 0x500308c143cae001 World Wide Node Name False
primary_device rmt3 Primary Logical Device False
retain_reserve no Retain Reservation False
rew_immediate no Use Immediate Bit in Rewind Commands True
scsi_id 0x158e8 SCSI Target ID True
space_mode SCSI Backward Space/Forward Space Record Mode True
trace_logging no Trace Logging Enabled True
trailer_labels no Trailer Label Processing True
ww_name 0x500308c143cae002 World Wide Port Name False

Thanks for your tips

Greetings
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Smitty

Hi All, Im new in aix, anyone can advice is there any way to understand smitty ?:confused: Thanks. TCP. (4 Replies)
Discussion started by: tcp01315
4 Replies

2. AIX

Install RPM from NIM LPP without smitty

I want to install single RPM from LPP on NIM system without doing it interactively (with single non-interactive command), so I 'got' that command from smitty this way: # smitty nim > Install and Update Software > Install Software Select the LPP_SOURCE containing the install images >... (5 Replies)
Discussion started by: n.i.b
5 Replies

3. AIX

Usage of smitty alt_mksysb

Hello, in which situations should I use smitty alt_mksysb ? What is the general purpose of this tool. Thanks for help, p (1 Reply)
Discussion started by: pitmod
1 Replies

4. AIX

Cannot create user using SMITTY

i'm using smitty to create user...what happen is it prompt me "failed" with error 3004-703 Check "/etc/security/login.cfg" file. 3004-691 Error changing "shell". 3004-703 Check "/usr/lib/security/mkuser.default" file. 3004-721 Could not create user. 3004-703 Check... (13 Replies)
Discussion started by: thecobra151
13 Replies

5. AIX

smitty mktcpip --> START Now

In "smitty mktcpip", the last item you can change is the "START Now". Does any one change this to "yes" when setting the IP? If so, what agrument would you use to convice others to use it also? (1 Reply)
Discussion started by: kah00na
1 Replies

6. AIX

Sudo and smitty

Hello everyone I have a question. Its possible to type smitty mksysb using sudo ? I have a partition and install sudo I create a user for use sudo. I make a test with sudo and command line for the mksysb and its ok sudo mksysb -i /dev/rmt0 and I can make my mksysb. My question... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

7. HP-UX

command that is equivalent to smitty in IBM.

i need to change OS level parameter like number of user how to change system environment variable ??? equivalent to smitty in IBM (1 Reply)
Discussion started by: oracle_rajesh_k
1 Replies

8. AIX

Question about Smitty Fs (backup an F.S)

hi all:cool: was just wonderin..by the way im new here..hi all:D...was just wonderin if i smitty fs backup a file system to tape if the permissions and ownership of the files and dir are retained?:confused: o.s is AIX 5.3L thanks all (12 Replies)
Discussion started by: redmanshogun
12 Replies

9. AIX

change ip in aix not using smitty

I want to change my ip by not using smitty, could please help me and what to edit files. So that everytime i will restart my server it will not change. (10 Replies)
Discussion started by: kenshinhimura
10 Replies

10. AIX

Interesting SMITTY behavior

I have a couple systems that are acting strangely. In 'smitty tcpip' everything is displayed twice. Even going into the submenus (like minimum configuration and startup) everything is displayed twice. Has anyone seen this? Know how to fix it? Thanks (3 Replies)
Discussion started by: pmmill2
3 Replies
Login or Register to Ask a Question