Sponsored Content
Full Discussion: MKSYSB backup
Operating Systems AIX MKSYSB backup Post 302422496 by kah00na on Tuesday 18th of May 2010 02:37:39 PM
Old 05-18-2010
Our NIM server has a filesystem named /export/mksysb just to hold mksysb images. We use to have the client LPARs NFS mount this filesystem and create their backups there, but with AIX 6.1 TL5, the NIM server doesn't like it when there is already a /export/mksysb entry in the /etc/exports that he didn't put there. Now, we have our NIM server tell the clients to create their mksysb's to the same /export/mksysb filesystem on our NIM server. The difference is that the backups are being handled by our NIM server and it maintains the entries in the /etc/exports file. These are the NIM commands that we use:

First remove the old mksysb resource and file to create enough space for a new mksysb:
Code:
nim -o remove -a rm_image=yes lpar01_mksysb

Create a new mksysb file and NIM resource:
Code:
nim     -o define \
        -t mksysb \
        -a server=master \
        -a location=/export/mksysb/lpar01 \
        -a source=lpar01 \
        -a mk_image=yes \
        -a mksysb_flags=iXp \
        -a comments="lpar01_mksysb_AIX$(oslevel -r)_defined$(date +%Y/%m/%d)" \
        lpar01_mksysb

Also, the NIM server doesn't like to make 2 mksysbs going on at the same time because it may not complete correctly due to limited amount of space in the /exports/mksysb filesystem. This can be over riden by adding the "-F" option to the first part like this:

Code:
nim     -Fo define \ ...

 

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

mksysb backup

How I can to obtain a full Backup of a AIX server with the command "mksysb"?? what is the correct form? Thanks (1 Reply)
Discussion started by: granador
1 Replies

3. AIX

mksysb backup testing

Hi All i have a number of IBM servers with different models, and i want to do a backup for the rootvg using mksysb and that backup will be stored on a 4mm DDS tape. i have only one machine (p550) which i can use it for testing purposes, so the quesion is that can i test my mksysb backups on... (6 Replies)
Discussion started by: TheEngineer
6 Replies

4. AIX

mksysb backup

hi guys, i just want to take my server's mksysb backup through dvd-rom.but am having the doubt that, while am taking the mksysb backup in image it shows 8GB. So can i confirm that it takes 2 dvds and after writing in 1st cd it will ask for 2nd cd?????? please help me out. (1 Reply)
Discussion started by: rrlog
1 Replies

5. AIX

Question about restoring from mksysb backup

Hello, Last night I applied a DB2 fix pack which is now causing problems with the application that uses db2. Prior to applying the fix pack I did a mksysb(rootvg) which includes the file system that has db2 installed on it. If I do a restore from this will it restore the db2 version back to... (1 Reply)
Discussion started by: jyoung
1 Replies

6. AIX

How to restore from mksysb backup

system is not booting ... i want to restore from mksysb backup. (2 Replies)
Discussion started by: AIXlearner
2 Replies

7. AIX

Need to take MKSYSB backup

Hi, Can any one suggest me how to take the mksysb backup in CD (VCD/DVD). I have tried like #mkcd -d /dev/cd0, but its not working. (3 Replies)
Discussion started by: oprakash
3 Replies

8. AIX

mksysb backup

hi we are having one rootvg in that we created one lv named mksysb_backuplv and normally script will run accordingly to take the backup in the cron,here i just want to know if any rootfilesystem was correpted like /usr or /tmp ,then how could i restore the particular filesystme from the... (1 Reply)
Discussion started by: senmak
1 Replies

9. AIX

Need help with mksysb backup on a DVD

i have an AIX server and planning to upgrade the operating system, before that i want to take a system backup which can be used in case of upgrade failure. i dont have NIM server t hold the mksysb backups. so i have the only option of taking the backup on DVD. i have the following optical drive... (5 Replies)
Discussion started by: saikiran_1984
5 Replies

10. UNIX for Advanced & Expert Users

Installation through mksysb image backup

Hi Experts, I am very new to AIX, I have a mksysb image in one of my aix server (V6), I would like to install this mksysb image on newly lpar. Is it possible without tape and NIM? Advice would be appreciated. Regards, Rockie (11 Replies)
Discussion started by: aix.rockie
11 Replies
mountd(8)						      System Manager's Manual							 mountd(8)

NAME
mountd - Services remote NFS compatible mount requests SYNOPSIS
mountd [-d] [-i] [-n] [-s] [exportsfile] FLAGS
Verifies the Internet addresses of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function and then translated back into the same Internet address by the gethostbyname() function, the request is rejected. This option requires the BIND service for Internet address resolution. It offers the highest level of security, especially when combined with the -i option. Turns on Internet address verification and domain checking. If you are running the BIND service, mountd verifies that a host making a mount or unmount request is in the server's domain. Allows non-root mount requests to be served. This should only be specified if there are clients such as PC's that require it. ULTRIX BSD is allowed non-root mount requests by default. Use the -n flag to allow non-root mount requests. Verifies the Internet address of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function, the request is rejected. If you are running the BIND service, the BIND server is used to translate the address. If you are not, the /etc/hosts file is used. If the -i option is not used and a client's address cannot be translated, the address is converted to a string of the form xx.xx.xx.xx. This allows access to exported file systems that do not specify a list of allowed hostnames. The -i option is automatically enabled when either the -d or the -s option is specified. Turns on Internet address verification and subdomain checking. If you are running the BIND service, mountd verifies that a host making a mount or unmount request is in the server's domain or subdomain. DESCRIPTION
The mountd daemon is the server for NFS protocol mount requests from clients. The mountd daemon responds to requests from remote computer systems to mount directories. When it receives a SIGHUP signal, mountd rereads the exports file. If you are on an NFS client and want to have changes to the export options on existing NFS client mounts take effect immediately, issue the showmount -e command and specify the name of the host that is exporting the directory or file system (where the exports file is located). This ensures that NFS is aware of the export list and options. The optional exportsfile argument specifies an alternate location for the exports file. /etc/exports is the default. Note, NFS Version 2 can export partitions that are greater than 2 gigabytes. However, they appear as 2 gigabyte partitions when viewed from NFS clients. FILES
Specifies the command path Contains a list of directories that can be exported Contains a table of local file systems mounted by remote NFS clients Contains errors logged by the mountd daemon RELATED INFORMATION
Commands: nfsstat(8), nfsd(8), portmap(8), showmount(8) Files: exports(4), mountdtab(4) delim off mountd(8)
All times are GMT -4. The time now is 09:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy