AIX mksysb medium write error


 
Thread Tools Search this Thread
Operating Systems AIX AIX mksysb medium write error
# 1  
Old 11-13-2014
AIX mksysb medium write error

I am trying to do a mksysb to a mounted directory that i hava on an ubuntu server. I have 80Gb of space on the ubuntu server. the job fails with message backup medium write error: File to large. What can i do to get this to work?

thanks
# 2  
Old 11-13-2014
Hmm,
There are couple of things I can think of

1. Make sure you have the appropriate permissions to write the mksysb to NFS mount.
2. Make sure ulimit values are set to unlimited.
3. If the size of your mksysb is big, try to omit the unwanted stuff by adding /etc/exclude.rootvg file in mksysb.

I hope this helps.
# 3  
Old 11-13-2014
i can write files and directories to the mount from AIX. the ulimit on the ubuntu server is set to unlimited. the ulimit on the AIX box is not set to unlimited will that have an affect? If the rootvg is 200Gb and there are 100Gb free. Do in need 200Gb or 100Gb of space for mksysb to write to?

Last edited by fierfek; 11-13-2014 at 06:00 PM..
# 4  
Old 11-14-2014
Quote:
Originally Posted by fierfek
i can write files and directories to the mount from AIX. the ulimit on the ubuntu server is set to unlimited. the ulimit on the AIX box is not set to unlimited will that have an affect? If the rootvg is 200Gb and there are 100Gb free. Do in need 200Gb or 100Gb of space for mksysb to write to?
You need as much space as is really taken. backup (mksysb is ultimately based on backup) will need some space for metadata and mksysb information will also take some space but in the end the size of the mksysb image will be about as big as the used space in your VG ("used space" meaning "space taken by files", not "space given to LVs").

There are several limits in place here which could affect operation: first, there is a ulimit for the root user of your AIX machine. It will curtail the size of the mksysb image file root can write.

Second, there might be a FS size limit on the Ubuntu server. See the disk quotas, FS properties and similar things on the Ubuntu server exporting the mount.

Third, when you mount a directory via NFS you need a user local to the exporting server which is used for privilege mangement there: the user in the AIX machine might be root, but when it writes something to the NFS mount this write operation takes place at the remote machine and has to be run under a certain user there - which is NOT the AIX root but some user to which "the root from the remote machine" is translated to. It might even be nobody. (This is why you might see a file in a NFS share where you seem to be the owner but still have no rights on - the user X locally is not (necessarily) the user X remotely.) Check this remote user if there are ulimits in place.

I hope this helps.

bakunin
# 5  
Old 11-14-2014
thanks for all the help . once i changed the ulimit to unlimited on the AIX box it worked like a charm.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 7.2 MKSYSB Backup and Restore Best Practices?

Hello, Running AIX 7.2 on Power9 bare-metal (no LPAR and no NIM server), in the process of creating a guide on MKSYSB process. I understand that MKSYSB is a backup of the rootvg and we can exclude stuff via exclude.rootvg file, the rest of the data volumes are mapped to the system as LUNs via... (7 Replies)
Discussion started by: c3rb3rus
7 Replies

2. AIX

aix installation from mksysb tape

Hello, I am trying to install a server from a mksysb made on an other server but whit his proper image.data and bosinst.data, but after selecting boot from DLT tape and starting installation in normal mode with default setting, I get this error message : error / warning there is no disk... (2 Replies)
Discussion started by: astjen
2 Replies

3. AIX

AIX 5L nim mksysb command

Hi All, Please excuse the possibly naive question but I'm trying to clone/install a new AIX 5.3 LPAR on a p570 from a mksysb image file using nim. Has anyone done this before and if so, what would the exact command look like? Does it even remotely resemble something like nim -o... (1 Reply)
Discussion started by: combustables
1 Replies

4. AIX

is it ok to run AIX mksysb script on vio servers?

Hi to all now we running mksysb to nim on aix servers. we are planning to take mksysb from vio servers. can we use the same script for vio servers. thanks (10 Replies)
Discussion started by: honeym210
10 Replies

5. AIX

How to list files in AIX 3.2 mksysb backup tape

Hi, Can anyone tell how to list files in a AIX 3.2 mksysb backup tape. Thanks! Victor Cheung (4 Replies)
Discussion started by: victorcheung
4 Replies

6. Shell Programming and Scripting

script to automate mksysb via nim in AIX 5.3

#!/bin/ksh # # nim_mksysb # get mksysb from each client machine specified with -m. If no # machines specified, get mksysb from ALL machines. -r flag says # remove oldest existing mksysb for the machines being backed up. # use -n no_make flag with -r to remove a generation of mksysb, #... (0 Replies)
Discussion started by: barkath
0 Replies

7. UNIX for Advanced & Expert Users

AIX 4.3 mksysb tape incomplete

anybody knows how to recover from a tape in AIX 4.3 from a IBM rs6000 170 system backup done only 97% ? (0 Replies)
Discussion started by: jupiter8
0 Replies

8. AIX

AiX mksysb

Hello out there!!! I've searched the db but found none, any idea will sure help... I have 2 RS6Ks with AiX 4.3.3, one have tape drive but not the other... The idea is: How can i create a mksysb tape of the aix box which don't have any tape drive ? i.e how do i write back 'some mksysb... (5 Replies)
Discussion started by: andryk
5 Replies

9. UNIX for Dummies Questions & Answers

aix mksysb , hpux make_recovery sun?

hi, for aix and hpux, we have both mksysb and make_recovery for restoring to the former state after it was crashed. is there any equivalent to sun? any pointers will be appreciated. thanks (8 Replies)
Discussion started by: yls177
8 Replies

10. UNIX for Dummies Questions & Answers

AIX + backup or mksysb (yes i did a search)

Whats up guys. I dont ask many questions but this time i need a quick one answerd. NOS: AIX 4.3.3 and 4.3.2 BOX: RS/6000 F50 i have 12 pv's (mirrored) and 2 vg's and i want them both backed up @ once on one tape drive so i can do it via cron. I have looked at mksysb and backup. my main... (5 Replies)
Discussion started by: Optimus_P
5 Replies
Login or Register to Ask a Question