- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with some commands
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
05-19-2005 05:00 AM
05-19-2005 05:00 AM
Re: Problem with some commands
and do rm log*
then in /var/stm/logs if you see a big log then remove it
I hope youre taking notes...
When did you say you will you attend the SA exam?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:08 AM
05-19-2005 05:08 AM
Re: Problem with some commands
SA Exam? Are you kidding me?
I'll print this whole thread when we're done, this way will have reference material for further troubleshooting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:12 AM
05-19-2005 05:12 AM
Re: Problem with some commands
Did I already ask to type:
pvdisplay /dev/dsk/c0t8d0
Next we shall see all the commands you used till now...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:13 AM
05-19-2005 05:13 AM
Re: Problem with some commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:16 AM
05-19-2005 05:16 AM
Re: Problem with some commands
They are very nice guys (well here..)
Use the script command to have a log of all the commands you will be using...
Good luck
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:45 AM
05-19-2005 05:45 AM
Re: Problem with some commands
The commands were:
vgcfgrestore - n vg00 /dev/rdsk/c0t8d0
vgchange -a y vg00
vgsync vg00
after that he ran 2 commands to make the second disk bootable and verified by running
lvlnboot -y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:49 AM
05-19-2005 05:49 AM
Re: Problem with some commands
kcspecdp # lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t4d0 (8/4.4.0) -- Boot Disk
/dev/dsk/c0t8d0 (8/4.8.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t4d0
/dev/dsk/c0t8d0
Root: lvol3 on: /dev/dsk/c0t4d0
/dev/dsk/c0t8d0
Swap: lvol2 on: /dev/dsk/c0t4d0
/dev/dsk/c0t8d0
Dump: lvol2 on: /dev/dsk/c0t4d0, 0
Dump: lvol4 on: /dev/dsk/c0t4d0, 1
Still have /var full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:52 AM
05-19-2005 05:52 AM
Re: Problem with some commands
well it doesnt hurt to do it again...
cd /usr/sbin/diag/lif
If the directory exist
then
mkboot -b updatediaglif -p ISL -p HPUX -p LABEL -p AUTO /dev/rdsk/c0t8d0
the -p prevents to erase if exists on the disk. This is not necessary for the system to work but it loads the offline diags (ODE). Saves to look for Support CD...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:56 AM
05-19-2005 05:56 AM
Re: Problem with some commands
Did you reboot the system after?
And how is the boot set?
type:
ant # setboot
Primary bootpath : 0/0/1/1.2.0 #this is on my system...your path should be different
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is OFF (disabled)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 06:12 AM
05-19-2005 06:12 AM
Re: Problem with some commands
Executed the commands
kcspecdp # HPUX -p LABEL -p AUTO /dev/rdsk/c0t8d0 <
kcspecdp # setboot
Primary bootpath : 8/4.4.0
Alternate bootpath : 8/4.8.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
kcspecdp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 06:37 AM
05-19-2005 06:37 AM
Re: Problem with some commands
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 06:55 AM
05-19-2005 06:55 AM
Re: Problem with some commands
The more and man issue is still there.
What was the command to verify if booted from vg00 or root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:10 AM
05-19-2005 07:10 AM
Re: Problem with some commands
Then look at /, on the left it will tell you what logical volume it is...
Im trying to think of a way to solve the more...
did you try pg?
All the best
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:13 AM
05-19-2005 07:13 AM
Re: Problem with some commands
Filesystem kbytes used avail %used Mounted on
/dev/root 147456 22096 117573 16% /
/dev/vg00/lvol1 83733 31469 43890 42% /stand
/dev/vg00/lvol9 524288 524071 217 100% /var
/dev/vg00/lvol8 565248 408152 147298 73% /usr
/dev/vg02/lvol4 8192000 3310566 4576578 42% /u08
/dev/vg02/lvol3 8192000 6425107 1656530 80% /u07
/dev/vg01/lvol4 6144000 4099709 1916528 68% /u06
/dev/vg01/lvol3 2048000 357290 1585045 18% /u05
/dev/vg02/lvol2 2048000 104022 1822483 5% /u04
/dev/vg02/lvol1 2048000 187017 1744677 10% /u03
/dev/vg01/lvol2 3072000 54145 2829242 2% /u02
/dev/vg01/lvol1 3072000 636166 2283595 22% /u01
/dev/vg00/lvol7 65536 1424 60158 2% /tmp
/dev/vg00/lvol6 618496 162932 427129 28% /opt
/dev/vg00/lvol5 24576 1110 22007 5% /home
kcspecdp #
this thing is still booting from /dev/root
pg does work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:18 AM
05-19-2005 07:18 AM
Re: Problem with some commands
try what Bill Hassell suggested (He is THE Guru of ITRC...):
rm /etc/mnttab
mount -a
bdf
Have you any files in lost+found of /usr ?
Calling Netherland... Robert-Jan.. any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:27 AM
05-19-2005 07:27 AM
Re: Problem with some commands
just thoughts....
(but does help do diagnose... sorry for my english AND typing I promise next month I will go and see an optician my glasses need some sort of upgrade...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:29 AM
05-19-2005 07:29 AM
Re: Problem with some commands
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 147456 22096 117573 16% /
/dev/vg00/lvol1 83733 31469 43890 42% /stand
/dev/vg00/lvol9 524288 524068 220 100% /var
/dev/vg00/lvol8 565248 408152 147298 73% /usr
/dev/vg02/lvol4 8192000 3310566 4576578 42% /u08
/dev/vg02/lvol3 8192000 6425107 1656530 80% /u07
/dev/vg01/lvol4 6144000 4099709 1916528 68% /u06
/dev/vg01/lvol3 2048000 357290 1585045 18% /u05
/dev/vg02/lvol2 2048000 104022 1822483 5% /u04
/dev/vg02/lvol1 2048000 187017 1744677 10% /u03
/dev/vg01/lvol2 3072000 54145 2829242 2% /u02
/dev/vg01/lvol1 3072000 636166 2283595 22% /u01
/dev/vg00/lvol7 65536 1424 60158 2% /tmp
/dev/vg00/lvol6 618496 162932 427129 28% /opt
/dev/vg00/lvol5 24576 1110 22007 5% /home
kcspecdp #
Shall I reboot again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:31 AM
05-19-2005 07:31 AM
Re: Problem with some commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:40 AM
05-19-2005 07:40 AM
Re: Problem with some commands
type swlist|pg (understand what SoftWare is installed..)
We are looking for onlineJFS (but as I said from home I cant certify the spelling.,..)
If you say youve got it well
vgdisplay vg00 again to see if you have some free disk space (
If not vgdisplay anyway but youre into something more hard...
Have you had a coffee lately? (you may need one...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 08:08 AM
05-19-2005 08:08 AM
Re: Problem with some commands
Shut down the system again :
shutdown -r now...
As the system starts to come up, be aware of the Message (something like..)
TO INTERRUP THE BOOT SEQUENCE; PRESS...
so do so and interrupt...
Now "for something completely different..."
You dont know what to do?
Type sea
the system will SEArch for possible boot devices...
It will then show then to you to choose from like P1 P2...
You task is finding your mirror disk address ( 8/4.8.0 )
Then try to boot from it:
bo
Now the system will prompt to interract with IPL
ANSWER NO!!!
And of you have given the correct device will bott from the mirror root disk
Well what do you think of that?
(still searching about more...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 08:11 AM
05-19-2005 08:11 AM
Re: Problem with some commands
kcspecdp # swlist
# Initializing...
# Contacting target "kcspecdp"...
#
# Target: kcspecdp:/
#
#
# Bundle(s):
#
B2491BA B.10.20 MirrorDisk/UX
B3920CA B.10.20 HP-UX Media Kit (Reference Only.
See Description)
B3929BA B.10.20 HP OnLineJFS (Advanced VxFS)
HPUXEngCR800 B.10.20 English HP-UX CDE Runtime Environ
ment
J2780BA B.10.20.04 EISA 100BT LAN/9000/800
OnlineDiag B.10.20.24.10 HPUX 10.0 Support Tools Bundle, D
ec 2001
XSW800GR1020 B.10.20.55.3 General Release Patches for HP-UX
10.20 Servers (December 2001)
XSW800HWCR1020 B.10.20.52.2 Hardware Enablement and Critical
Patches for HP-UX 10.20 Servers (March 2001)
#
# Product(s) not contained in a Bundle:
#
ExtSWDocs B.10.20.38 ExtSW Bundle Content file
NMO 3.5 Legato NetWorker Module for Oracl
e
NetWorker 7.2.Build.172 NetWorker for HP-UX 10.XX
PHCO_14016 B.10.00.00.AA Release Notes for Hardware Extens
ions 2.0
PHCO_18638 B.10.00.00.AA make(1) cumulative patch
PHCO_27560 B.10.00.00.AA ied(1) cumulative patch
PHKL_27833 B.10.00.00.AA VxFS quotas; directory sticky-bit
PHNE_24510 B.10.00.00.AA NTP timeservices upgrade plus uti
lities
PHNE_27792 B.10.00.00.AA BIND 4.9.7 components
PHNE_28760 B.10.00.00.AA sendmail(1m) 8.9.3 cumulative pat
ch.
PHSS_13172 B.10.00.00.AA HP Vue 3.0 Jan98 Periodic Patch
PHSS_25348 B.10.00.00.AA CDE msg catalog OCT2001 Periodic
Patch
PHSS_27426 B.10.00.00.AA CDE Runtime Patch
PHSS_27857 B.10.00.00.AA OV EMANATE14.2 Agent Consolidated
Patch
PHSS_28468 B.10.00.00.AA X11R6 Font Server Patch
PatchText B.10.20.38 ExtSW .text files
kcspecdp # vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2200
VGDA 4
PE Size (Mbytes) 4
Total PE 2046
Alloc PE 1504
Free PE 542
Total PVG 0
kcspecdp # vgdisplay
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2200
VGDA 4
PE Size (Mbytes) 4
Total PE 2046
Alloc PE 1504
Free PE 542
Total PVG 0
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 7
Act PV 7
Max PE per PV 2171
VGDA 14
PE Size (Mbytes) 4
Total PE 11749
Alloc PE 7000
Free PE 4749
Total PVG 0
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 7
Act PV 7
Max PE per PV 2171
VGDA 14
PE Size (Mbytes) 4
Total PE 11749
Alloc PE 10000
Free PE 1749
Total PVG 0
kcspecdp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 08:21 AM
05-19-2005 08:21 AM
Re: Problem with some commands
Asked around and can't reboot until later tonight, the system is being used.
What will looking for the boot partition will do? After the last reboot the system booted from the correct disks, /dev/vg00/lvol3.
I'll try those steps early in the morning, just before the users start using Oracle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 08:29 AM
05-19-2005 08:29 AM
Re: Problem with some commands
I remembered seeing some free PE (Physical extents...)
so I would try (to not stress you to sue sam=>disks
(I dont remember ...if its LVm or what..)
Are you with an X emulation?
In that case sam&
look form something disks...
logical volume.. and hightlight /var
in the top menu bar choose action=> extend (I think...)
It will ask you to give new size (but most important I think it will tell you whats left...)
add 200 MB to current size!
Enter
Result?
Success?
Im waiting to know...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 09:10 AM
05-19-2005 09:10 AM
Re: Problem with some commands
A bit depressed?
Cheer up!
When I started in 97 I was at the time an oracle developper and a cobol specialist... after a restructuration I was moved to IT production dept. (they did well the job since they put me down at HP for support....), here I was told to choose between DBA or System Engineer, I opted for system Engineer (I had no knowledge of what was expected from a DBA.. anyway what is a DBA?...)...
The next day I was presented to what I was going to administer (14 HP boxes) and given the root passwd and given the "good luck" of the sysadmin who was leaving...
I can tell you it hell not knowing what was running on the boxes....
And no ITRC forum to ask for HELP...
I had no choice but to learn the hard way...
So I believe you will get out of this gaining some maturity and some knowledge but of course realizing "that more you learn, more there is..."
If you were with me , I would greet you with "bienvenue au club!"
Best regards
Victor going to bed...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 11:27 PM
05-19-2005 11:27 PM
Re: Problem with some commands
After waiting about 1 hr for SAM, Disks..., Volumes..., nothing happens.
I get a message like this:
vxfs: mesg 001: vx_nospace - /dev/vg00/lvol9 file system full (1 block extent)
Then everything on the console or telnet session dies.