Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mksysb to directory fails

Status
Not open for further replies.

bi

Technical User
Apr 13, 2001
1,552
US
I'm trying to do a mksysb to a dedicated filesystem in rootvg. The command smit issues is:

/usr/bin/mksysb '-e' '-i' /mksysb

The return I get is:

Creating information file (/image.data) for rootvg..

Creating list of files to back up.
Backing up 63894 files

backup: 0511-089 Cannot open /mksysb: Cannot write to a directory.

0512-005 mksysb: Backup Completed.
The backup command completed with errors.
The messages displayed on Standard Error contained additional information.

Owner of /mksysb is root:system and permissions are 777. the /mksysb filesystem is in the /etc/exclude.rootvg file.

I've checked the error codes but can't get any usable/understandable info about the codes. Any idea what I'm doing wrong and how to fix it?

Thanks for any help.
 
here is what I use
/usr/bin/mksysb -e -X -m /mksysb/rebel_mksysb > /var/adm/mksysb.log 2>&1
 
plamb,

Thank you. It's working. I guess since I just specified the directory and not a file for it to be put into, that is why it was failing.

I appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top