- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAM in single user mode
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 01:30 AM
тАО11-02-2006 01:30 AM
SAM in single user mode
Thanks, for all your help in advance. This site is great!!
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 01:38 AM
тАО11-02-2006 01:38 AM
Re: SAM in single user mode
boot to single user mode:
Logon to the console to reboot your server as root.
cd /
/sbin/shutdown -ry 0
interrupt autoboot by press any key. type
bo pri
reply Y for ISL. Under ISL prompt type
hpux -is
at promt "#" type
mount /usr
then you can run lvreduce, lvextend ...
read mapage for lvreduce, lvextend before you start
man lvreduce
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 01:38 AM
тАО11-02-2006 01:38 AM
Re: SAM in single user mode
Im afraid you will not be able to use SAM for what you wish to do, for SAM uses /var...
Now do a:
swlist -l product|grep OnlineJFS
And tell us if you have the product, because if you do, there is no need to go single user...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 01:39 AM
тАО11-02-2006 01:39 AM
Re: SAM in single user mode
To boot into single user mode, interrupt the boot process at the "10 second" prompt, then enter "hpux -is" at the ISL prompt. That will bring you up in single user, with nothing but the minimal file systems mounted (/, and /stand). At that point I generall do a mount -a, so that everything appears normal. You can then go into SAM. I assume you will be at a character base console at this point, thus you will be using the TUI based version of SAM. Navigation is a little awkward - you have to tab around to where you want to be and press enter to select - experiment with it and you'll figure it out. Other than that, it should behave normally.
Now, the difficulty you're going to have is in extending your / logical volume. Because /stand, swap, and / have to be contiguous, you can't just extend lvol3 unless there happens to be free space immediately following it, which it is unlikely that you can guarantee.
I would suggest using Ignite ( http://www.docs.hp.com/en/IUX/ ) to do a make_tape_recovery, then using that tape to reboot your system, interact with the restore process and re-allocate your vg00 lvols in the process.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 01:51 AM
тАО11-02-2006 01:51 AM
Re: SAM in single user mode
What grows is /var /opt and /usr...
correctly sized it shoulnt grow unless someone installs badly some soft, makes a bad manip (big files in /dev ...) or because of great core files being generated in /.
What size is our / and on what kind of box?
(HPUX version?)
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 01:57 AM
тАО11-02-2006 01:57 AM
Re: SAM in single user mode
Thanks,
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 02:01 AM
тАО11-02-2006 02:01 AM
Re: SAM in single user mode
why do you want to grow the root?
Normally this is not needed.
Don't create directories directly in / , use other LVOLs for this!
Check your device directories for wrong files created by accident (e.g. a backup written to Om [letter "o"] instead of 0m)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 02:08 AM
тАО11-02-2006 02:08 AM
Re: SAM in single user mode
Here is an example of hpux10.20:
imos:/home/vbe $ bdf|grep vg00
/dev/vg00/lvol3 258048 36971 207324 15% /
/dev/vg00/lvol1 151509 45448 90910 33% /stand
/dev/vg00/lvol8 983040 546872 409026 57% /var
/dev/vg00/lvol7 778240 491834 268530 65% /usr
/dev/vg00/lvol4 512000 59759 424231 12% /tmp
/dev/vg00/lvol11 819200 555742 247006 69% /sm
/dev/vg00/lvol6 942080 685393 240683 74% /opt
/dev/vg00/lvol5 204800 96759 101386 49% /home
imos:/home/vbe $ model
9000/800/K580
imos:/home/vbe $ uname -r
B.10.20
imos:/home/vbe $
Look at the size of / and its free space...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 02:10 AM
тАО11-02-2006 02:10 AM
Re: SAM in single user mode
And who wrote all these scripts that "look for things under /"? Whoever it is should be found and made to fix every last one of them to put things in a more appropriate space.
If you can't fix all these scripts, then I will have to repeat my suggestion that your only hope is to use Ignite to create a bootable recovery volume that will, during said recovery, allow you the opportunity to re-size all your logical volumes. That, because of the contiguity requirements for /stand, swap and /, is the only way that you are going to be able to fix this mess.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 02:21 AM
тАО11-02-2006 02:21 AM
Re: SAM in single user mode
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 06:31 AM
тАО11-02-2006 06:31 AM
Re: SAM in single user mode
One last question. Can I use ignite with out a tape drive? I do not have that on the machine (which is a 9000/778/B180L). We back up the HP to a solaris server with more room. Could I make a backup and reboot form there or do I need a tape drive.
Thanks for all your help
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 06:43 AM
тАО11-02-2006 06:43 AM
Re: SAM in single user mode
You can try ignite over the network. The depot has to be posted on a storage that is visible to the ignite server.
Then you would have to depend on the tape ignite.
HTH,
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 06:46 AM
тАО11-02-2006 06:46 AM
Re: SAM in single user mode
>> Then you would have to depend on the tape ignite.
Then you would NOT have to depend on the tape ignite.
And here is the link for configuring clients for ignite.
http://docs.hp.com/en/B2355-90997/ch03s01.html
-Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 10:26 AM
тАО11-02-2006 10:26 AM
Re: SAM in single user mode
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2006 04:52 AM
тАО11-03-2006 04:52 AM
Re: SAM in single user mode
I think that is what I will work towards. I just need to order a tape drive.
Phil