- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap device odd minor number.
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
Forums
Discussions
Discussions
Discussions
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
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
09-13-2006 07:39 PM
09-13-2006 07:39 PM
swap device odd minor number.
I have the following question. We have rp8420, which had originaly HP-UX 11.11 installed, with 4 GB primary swap device. We had to upgrade the size of the swap so the best way we thought would be is to use ignite to backup the OS and then do a restore and increase the swap size during the restore. Everything went fine, and the OS was up and running. The thing that warries me is that swapinfo -tam shows:
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 33554432 3864544 29689888 12% 0 - 1 31,0x006003
reserve - 25476508 -25476508
memory 26978256 15523108 11455148 58%
notice the name of the swap device. vgdisplay -v vg00 shows the /dev/vg00/lvol2 and everything is OK. lvdisplay -v /dev/vg00lvol2 is OK too. I read the man swapinfo about the NAME part, but i can't figure it out how this happend? In /dev/vg00/ everything is there. Anyone has any idea? Will be very thankfull.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 07:59 PM
09-13-2006 07:59 PM
Re: swap device odd minor number.
what does it show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 08:00 PM
09-13-2006 08:00 PM
Re: swap device odd minor number.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (0/0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c4t6d0 (1/0/0/2/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c4t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c4t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c4t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 08:58 PM
09-13-2006 08:58 PM
Re: swap device odd minor number.
Why or how come? I have no idea just like you..
what does it mean?
My understanding (Gods out there to confirm?)
based on a RP5450 for trying to understand:
A) from ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/1/0.3.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
B) $ vgdisplay -v vg00|grep dsk
PV Name /dev/dsk/c2t2d0
PV Name /dev/dsk/c1t2d0
C) from kernel:
ant:/sm/export/hpux/admin $ echo "bootdev/X" | adb /stand/vmunix /dev/kmem
bootdev:
bootdev: 1F012000
ant:/sm/export/hpux/admin $ echo 'boot_string/S'|adb /stand/vmunix /dev/kmem
boot_string:
boot_string: disk(0/0/1/1.2.0.0.0.0.0;0)/stand/vmunix
My view is your output is very similar to
echo "bootdev/X" | adb /stand/vmunix /dev/kmem
This number represents the boot device. Here's how to decode it :
1F 00 5 0 00
__ __ _ _ __
| | | | |
major# | target | flags
| |
bus# lun
So 31,0x006003 31 is the major for scsi disks, bus would be c0, target t6, lun d0
giving you the hardware device you boot from:
/dev/dsk/c0t6d0.
The rest?
I will follow this thread to learn more about what why/what happend...
I know its not of great help at the moment, just a little recomfort to know you are on the good devices...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 04:38 AM
09-14-2006 04:38 AM
Re: swap device odd minor number.
We fixed the problem. Turned out that the box has been rebooted 14 days ago and logged in to maintenance mode, and then moved to multi user mode _without_ rebooting (i.e. init 3). Then the / got mounted from /dev/root and that was the problem. Rebooting the box fixed the prolem naturaly. Thanks for all the tips guys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 12:11 AM
09-15-2006 12:11 AM