- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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-18-2005 05:38 AM
05-18-2005 05:38 AM
Re: Problem with some commands
look at /var/adm/syslog/syslog.log
To see whats going on
And I suppose you have some files /var/adm/crash
If you are using X emulation, try to run xstm&
if you have the online diags installed
(else there is the non graphic tool stm)
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 05:58 AM
05-18-2005 05:58 AM
Re: Problem with some commands
I indeed have a bad drive, will call service to report it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 06:01 AM
05-18-2005 06:01 AM
Re: Problem with some commands
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 06:02 AM
05-18-2005 06:02 AM
Re: Problem with some commands
disk 1 8/4.8.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 06:08 AM
05-18-2005 06:08 AM
Re: Problem with some commands
diskinfo /dev/rdsk/c0t8d0
You can also use dd:
dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=64k
If it fails - disk is indeed bad...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 06:37 AM
05-18-2005 06:37 AM
Re: Problem with some commands
SCSI describe of /dev/rdsk/c0t8d0:
vendor: SEAGATE
product id: ST34573WC
type: direct access
size: 4194157 Kbytes
bytes per sector: 512
kcspecdp #
kcspecdp # dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=64k
65533+1 records in
65533+1 records out
Is the disk bad or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 09:33 AM
05-18-2005 09:33 AM
Re: Problem with some commands
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 09:39 AM
05-18-2005 09:39 AM
Re: Problem with some commands
output say?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 11:47 PM
05-18-2005 11:47 PM
Re: Problem with some commands
pvdisplay: Physical volume "/dev/rdsk/c0t8d0" is not a block special file.
Usage: pvdisplay
[-v]
[-b BlockList]
PhysicalVolumePath...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 11:58 PM
05-18-2005 11:58 PM
Re: Problem with some commands
# pvdisplay -v /dev/dsk/c0t8d0
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 12:19 AM
05-19-2005 12:19 AM
Re: Problem with some commands
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t8d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg00".
pvdisplay: Cannot display physical volume "/dev/dsk/c0t8d0".
kcspecdp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 02:29 AM
05-19-2005 02:29 AM
Re: Problem with some commands
Can you give us the output of :
strings /etc/lvmtab
We are trying to see where was /dev/dsk/c0t8d0
(should be vg00)
Now did you do an ioscan (with no argutment to force a new hardware scan... like that if the disk is there but dead it will say so...)
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 02:30 AM
05-19-2005 02:30 AM
Re: Problem with some commands
Could you post a
# lvdisplay -v -k /dev/vg00/lvol1
Ps.
If you have a support contract try to open next doc.
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066581312
Europe
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066581312
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 02:37 AM
05-19-2005 02:37 AM
Re: Problem with some commands
before you use Robert-jan's suggestion, is it a MC/Serviceguard cluster node?
if it is : vgscan command will not recreate a correct /etc/lvmtab completely.
if it is not a clusternode ... go right ahead with Robert-jan's suggestion..
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 03:32 AM
05-19-2005 03:32 AM
Re: Problem with some commands
A tech will be here after lunch to replace the deffective disk.
My /var is full, what can I remove from there to make space?
kcspecdp # ll
total 18
drwxr-xr-x 3 bin bin 96 Jan 17 12:26 X11
drwxr-xr-x 13 adm adm 1024 May 16 16:34 adm
drwxr-xr-x 4 root sys 1024 May 6 09:15 dt
drwxr-xr-x 2 root root 96 Jan 17 12:01 lost+found
drwxrwxr-x 2 bin mail 96 May 18 12:44 mail
lrwxr-xr-x 1 root sys 8 Jan 17 12:09 ncs -> /etc/ncs
drwxrwxrwx 2 bin bin 96 Jan 17 12:14 news
dr-xr-xr-x 10 bin bin 1024 Jan 18 15:41 opt
drwxrwxrwx 2 bin bin 96 Jan 17 12:14 ppl
drwxrwxrwx 2 bin bin 96 Jan 17 12:15 preserve
lrwxr-xr-x 1 root sys 8 Mar 2 13:46 rap -> /nsr/rap
drwxrwxrwx 2 bin bin 96 Jan 17 12:14 rbootd
dr-xr-xr-x 2 bin bin 96 May 16 16:34 run
dr-xr-xr-x 8 bin bin 1024 May 18 12:19 sam
dr-xr-xr-x 12 bin bin 1024 Apr 8 15:49 spool
drwxr-xr-x 4 root sys 96 Jan 17 12:14 statmon
drwxrwxrwx 5 root other 96 Jan 18 15:50 stm
drwxrwxrwx 3 bin bin 2048 May 19 11:34 tmp
drwxr-xr-x 2 root root 1024 May 16 15:23 tombstones
dr-xr-xr-x 6 bin bin 96 Jan 17 12:15 uucp
drwxr-xr-x 3 root sys 1024 May 16 16:10 yp
kcspecdp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 03:58 AM
05-19-2005 03:58 AM
Re: Problem with some commands
Go in var and look for where you are using big amount of space:
cd /var
du -sk |more
Then tell us what you see
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:01 AM
05-19-2005 04:01 AM
Re: Problem with some commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:27 AM
05-19-2005 04:27 AM
Re: Problem with some commands
kcspecdp # du -sk *
0 X11
481882 adm
4 dt
0 lost+found
1 mail
0 ncs
0 news
5678 opt
0 ppl
0 preserve
0 rap
0 rbootd
2 run
458 sam
173 spool
2 statmon
29066 stm
181 tmp
116 tombstones
0 uucp
39 yp
kcspecdp #
Didn't used the |more because more still doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:38 AM
05-19-2005 04:38 AM
Re: Problem with some commands
Well in /var/adm do the same, if crash is enormous then we shal be able to do some cleaning
the same goes for /var/adm/syslog
Courage!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:43 AM
05-19-2005 04:43 AM
Re: Problem with some commands
kcspecdp # pwd
/var/adm
kcspecdp # du -sk *
1 OLDsulog
0 acct
0 automount.log
3 btmp
1 conslog.opts
0 crash
7 cron
0 diag
0 eisa
1 fbackupfiles
2 inetd.sec
2 lp
3 nettl.LOG00
1 new._ACL
1 new._OWNER
1 new._PROD_DFLT_ACL
1 new._SOC_DFLT_ACL
1 new.secrets
12 ps_data
5 ptydaemonlog
0 rc.log
\1 rpc.lockd.log
1 rpc.statd.log
1 sbtab
0 shutdownlog
0 sm.bin
5 snmpd.log
0 streams
1 sulog
481437 sw
322 syslog
7 vtdaemonlog
64 wtmp
0 xferlog
kcspecdp # cd syslog
kcspecdp # du -sk *
11 OLDsyslog.log
244 mail.log
67 syslog.log
kcspecdp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:50 AM
05-19-2005 04:50 AM
Re: Problem with some commands
but /var/stm/logs I suppose there are logfiles we can remove (we know thesystem is ill...)
Smile!
You are on an accelerated unix admin course!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:50 AM
05-19-2005 04:50 AM
Re: Problem with some commands
kcspecdp # strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t4d0
/dev/dsk/c0t8d0
/dev/vg01
/dev/dsk/c0t14d0
/dev/dsk/c0t15d0
/dev/dsk/c0t13d0
/dev/dsk/c5t15d0
/dev/dsk/c5t14d0
/dev/dsk/c5t13d0
/dev/dsk/c0t12d0
/dev/vg02
/dev/dsk/c1t14d0
/dev/dsk/c1t15d0
/dev/dsk/c1t13d0
/dev/dsk/c2t14d0
/dev/dsk/c2t15d0
/dev/dsk/c2t13d0
/dev/dsk/c1t12d0
kcspecdp #
ioscan
kcspecdp # ioscan
H/W Path Class Description
==============================================
bc
8 bc I/O Adapter
8/0 bc Bus Converter
8/0/0 tty MUX
8/4 ext_bus GSC add-on Fast/Wide SCSI Interface
8/4.4 target
8/4.4.0 disk SEAGATE ST34573WC
8/4.7 target
8/4.7.0 ctl Initiator
8/4.8 target
8/4.8.0 disk SEAGATE ST34573WC
8/4.12 target
8/4.12.0 disk SEAGATE ST34572WC
8/4.13 target
8/4.13.0 disk SEAGATE ST34573WC
8/4.14 target
8/4.14.0 disk SEAGATE ST39173WC
8/4.15 target
8/4.15.0 disk SEAGATE ST39173WC
8/8 ext_bus GSC add-on Fast/Wide SCSI Interface
8/8.7 target
8/8.7.0 ctl Initiator
8/8.12 target
8/8.12.0 disk SEAGATE ST34573WC
8/8.13 target
8/8.13.0 disk SEAGATE ST34573WC
8/8.14 target
8/8.14.0 disk SEAGATE ST39173WC
8/8.15 target
8/8.15.0 disk SEAGATE ST39173WC
8/12 ext_bus GSC add-on Fast/Wide SCSI Interface
8/12.7 target
8/12.7.0 ctl Initiator
8/12.12 target
8/12.12.0 disk SEAGATE ST34573WC
8/12.13 target
8/12.13.0 disk SEAGATE ST34572WC
8/12.14 target
8/12.14.0 disk SEAGATE ST39173WC
8/12.15 target
8/12.15.0 disk SEAGATE ST39173WC
8/16 ba Core I/O Adapter
8/16/0 ext_bus Built-in Parallel Interface
8/16/5 ext_bus Built-in SCSI
8/16/5.2 target
8/16/5.2.0 disk TOSHIBA CD-ROM XM-5701TA
8/16/5.7 target
8/16/5.7.0 ctl Initiator
8/16/6 lan Built-in LAN
8/16/7 ps2 Built-in Keyboard/Mouse
8/20 ba Core I/O Adapter
8/20/2 tty Built-in RS-232C
8/20/5 ba EISA Bus Adapter
8/20/5/1 lan EISA card INP0500
10 bc I/O Adapter
10/12 ext_bus GSC add-on Fast/Wide SCSI Interface
10/12.7 target
10/12.7.0 ctl Initiator
10/12.12 target
10/12.12.0 disk SEAGATE ST34371N
10/12.13 target
10/12.13.0 disk SEAGATE ST34371W
10/12.14 target
10/12.14.0 disk SEAGATE ST39173WC
10/12.15 target
10/12.15.0 disk SEAGATE ST39173WC
32 processor Processor
49 memory Memory
kcspecdp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:55 AM
05-19-2005 04:55 AM
Re: Problem with some commands
So the missing/bad disk is /dev/dsk/c0t8d0...
And now try again
iocsan -funC disk and see the output...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:57 AM
05-19-2005 04:57 AM
Re: Problem with some commands
Do you think I can just rm the logs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 04:59 AM
05-19-2005 04:59 AM
Re: Problem with some commands
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/4.4.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 1 8/4.8.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
disk 17 8/4.12.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c0t12d0 /dev/rdsk/c0t12d0
disk 2 8/4.13.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t13d0 /dev/rdsk/c0t13d0
disk 3 8/4.14.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c0t14d0 /dev/rdsk/c0t14d0
disk 4 8/4.15.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c0t15d0 /dev/rdsk/c0t15d0
disk 18 8/8.12.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c1t12d0 /dev/rdsk/c1t12d0
disk 5 8/8.13.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c1t13d0 /dev/rdsk/c1t13d0
disk 6 8/8.14.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c1t14d0 /dev/rdsk/c1t14d0
disk 7 8/8.15.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 8 8/12.12.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c2t12d0 /dev/rdsk/c2t12d0
disk 9 8/12.13.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c2t13d0 /dev/rdsk/c2t13d0
disk 10 8/12.14.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c2t14d0 /dev/rdsk/c2t14d0
disk 11 8/12.15.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c2t15d0 /dev/rdsk/c2t15d0
disk 12 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701T
A
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 13 10/12.12.0 sdisk CLAIMED DEVICE SEAGATE ST34371N
/dev/dsk/c5t12d0 /dev/rdsk/c5t12d0
disk 14 10/12.13.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c5t13d0 /dev/rdsk/c5t13d0
disk 15 10/12.14.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c5t14d0 /dev/rdsk/c5t14d0
disk 16 10/12.15.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c5t15d0 /dev/rdsk/c5t15d0
kcspecdp #