Sponsored Content
Operating Systems AIX AIX mksysb medium write error Post 302925086 by bakunin on Thursday 13th of November 2014 11:21:43 PM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
QUOTAON(8)						    BSD System Manager's Manual 						QUOTAON(8)

NAME
quotaon, quotaoff -- turn filesystem quotas on and off SYNOPSIS
quotaon [-g] [-u] [-v] filesystem ... quotaon [-g] [-u] [-v] -a quotaoff [-g] [-u] [-v] filesystem ... quotaoff [-g] [-u] [-v] -a DESCRIPTION
Quotaon announces to the system that disk quotas should be enabled on one or more filesystems. Quotaoff announces to the system that the specified filesystems should have disk quotas turned off. The filesystem must be mounted and it must have the appropriate mount option file located at its root, the .quota.ops.user file for user quota configuration, and the .quota.ops.group file for group quota configuration. Quotaon also expects each filesystem to have the appropriate quota data files located at its root, the .quota.user file for user data, and the .quota.group file for group data. These filenames and their root location cannot be overridden. By default, quotaon will attempt to enable both user and group quotas. By default, quotaoff will disable both user and group quotas. Available options: -a If the -a flag is supplied in place of any filesystem names, quotaon/quotaoff will enable/disable any filesystems with an existing mount option file at its root. The mount option file specifies the types of quotas that are to be configured. -g Only group quotas will be enabled/disabled. The mount option file, .quota.ops.group, must exist at the root of the filesystem. -u Only user quotas will be enabled/disabled. The mount option file, .quota.ops.user, must exist at the root of the filesystem. -v Causes quotaon and quotaoff to print a message for each filesystem where quotas are turned on or off. Specifying both -g and -u is equivalent to the default. Quotas for both users and groups will automatically be turned on at filesystem mount if the appropriate mount option file and binary data file is in place at its root. FILES
Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence indicates that quotas are to be enabled for that filesystem. .quota.user data file containing user quotas .quota.group data file containing group quotas .quota.ops.user mount option file used to enable user quotas .quota.ops.group mount option file used to enable group quotas SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), repquota(8) HISTORY
The quotaon command appeared in 4.2BSD. 4.2 Berkeley Distribution October 17, 2002 4.2 Berkeley Distribution
All times are GMT -4. The time now is 08:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy