Vous êtes sur la page 1sur 7

Search Experts Exchange

Join Today Login


Ask Solve Learn Network Contribute Topics
Home
Experts Exchange > Questions > ways to start an AIX in maintenance mode or single user.

ways to start an AIX in maintenance mode


or single user.
Unix OS Question
Asked by: sminfo on 2011-04-11
Solved by: woolmilkporc

Hi again

I had a crash on a test-lpar running on a blade JS43. The partition didin't


start because of a problem with the devices/VG and LVs. Question:

+ Expand to see the entire question

Verified Answer

woolmilkporc Accepted Solution on 2011-04-11 at 07:07:15

Hi again,

is your lpar a NIM client? If so, use this Howto I once wrote for
our company's internal use:

Booting AIX into Maintenance Mode using NIM

1) Log in to your NIM server and issue:

smitty nim_mac_op
- Select your machine, select maint_boot. Select the appropriate
SPOT.
- Hit <Enter> when done.
2) Open a virtual terminal to the LPAR

3) Shutdown/restart the LPAR using IVM

4) Immediately switch to the terminal session (the one you


started under 2) above)

- hit '1' as soon as the line '1 = SMS Menu . 5 = Default ..'
appears.

5) In the SMS menu, do the following

- select '2' ('Setup Remote IPL'), select the appropriate adapter,


select '1' ('IP Parameters')
- Enter or verify Client address, NIM server address, Gateway
address and Subnet mask.
- Hit <ESC> several (3) times when done, until you get back to the
Main menu.

6) In the Main menu, select '5' ('Boot Options'), then do

- select '1' ('Install/Boot Device'), select '6' ('Network'), select the


appropriate adapter.
- select '2' ('Normal Mode Boot') and '1' to confirm.
- The network boot process starts.

7) When prompted, hit '1' ('System Console'), then type '1' and hit
<Enter> for 'English'.

- Select '1' ('Access Root VG'), then '0' to confirm.

8) At the next screen, select the appropriate Volume Group

- choose to 'Access this VG and start a shell' either before or after


mounting filesystems, depending on what you're planning to do.
Please verifiy beforehand that it's really the rootvg by checking
the logical volumes displayed in the middle of the screen for the
presence of hd5.

9)

- If you had chosen to mount the filesystems you should see the
message 'Filesystems mounted for maintenance work.'

- If you didn't mount the filesystems, you can run an fsck

nonetheless. Run it against the appropriate device (e.g. /dev/hd2,


not the mountpoint /usr).

- You can mount single filesystems for further maintenance, let's


say under /mnt, e.g. for /usr
mount /dev/hd2 /mnt

Take note that e.g. /usr/bin is now /mnt/bin etc.

11) To work with 'smitty', you must have chosen to mount the
filesystems and issue

export TERM=vt100

- Take note that PFkeys do not work here, so use e.g. <ESC><3>
instead of <PF3>.

12) Now you can do all the maintenance work needed.

13) Type 'reboot' and hit <Enter> when done.

- The lpar will boot from disk.

If your LPAR is not a NIM client the steps are basically the same
(except for step (1), obviously).
Select in step (6) e.g. an istallation DVD as the boot device
instead of the network.

wmp

View entire expert comment thread

Not the answer you need?

View related questions

Stop Googling!
Start getting verified, high-
quality answers to your
technical questions

Get unlimited access to solutions & experts

4,169,477 solved questions


4,169,477 solved questions
Unlimited Free Access
3,805 articles & videos
for 30 Days
15,413 tech experts

Related Articles
Related Questions
1. Entering ISO formatted date
1. How to add jQuery and with input mask and full
JavaScript(s) into validation in Microsoft
Dreamweaver? Access

2. Unable to open visual 2. Know the Score: The


studio 2008 projects after Benefits of Gamification in
Win 10 upgrade Online Communities

3. C# Abstract Class 3. Help for the Helpdesk! - Tips


& Tricks for increased
4. Record Paging efficiency

5. Shortuct key to display IE 4. There were too many


downloads redirects - the boon and
Bane of iFrame
See More Unix OS Solutions

5. Exchange Work Load


Management

See More Unix OS Articles

Trusted by Thousands of Top Companies


A quick little survey.

1 Which of the following online


business email services have you
heard of? (Select all that apply)
Microsoft Outlook/Exchange
IBM Lotus Notes/Domino
Gmail for Work
Yahoo! Mail
Hotmail/Outlook.com
None of the above
Next
SCRUTINEER Privacy

201504LOINDQu003

Related Questions
1. Problem with comparing
dates
2. directional encryption of VPN
traffic on Cisco ASA

3. Excel Tables VBA Delete all


rows other than filtered

4. Excel VBA Tables Listobjects


help with deleting certain
rows after x number of rows

5. Group Policy Preferences


Password Vulnerability

See More Unix OS


Solutions

Join Experts Exchange

How It works Plans and

Solve Pricing

Learn Resource

Network Center

About Experts Exchange


About Experts Exchange

Who We Are Give Feedback

The Experts Contact Us

Join our Team Blog

Advertisers Affiliates

Privacy Policy Terms of Use Help Site Map Mobile App


1996-2016 Experts Exchange, LLC. All rights reserved. Covered by US Patent. Mobile Site

Vous aimerez peut-être aussi