- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hlep in diagnosing a possible disk failure
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
04-23-2003 06:25 AM
04-23-2003 06:25 AM
I replaced a broken tape drive and it will not boot now. It seems the last time the box was shut down it stuck at this same point and I was able to unplug the next to the last drive and plug it back in and it booted fine.
This time plugging and unplugging the drive only causes three beeps to be generated.
I have booted into single user mode but I don't know what to do next.
If I interrupt the boot process and have it list possible bootable sources it shows all the disk drives, the tape drive, and the cdrom. The drive is at least visable there but does not seem to respond correctly when it is time to mount the filesystems loaded on it.
What can I do to determine if the drive really has failed or if there is something else wrong?
All the files in /etc/lvmconf have not been modified in at least 6 months. The box reboots every Sunday and has been doing this fine. It just does not like to come backup after the power has been stopped.
Help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 06:30 AM
04-23-2003 06:30 AM
Re: hlep in diagnosing a possible disk failure
Try dd'ing the questionable drive - either to a blank disk or to tape - if you get a failure - then you might have a bad disk....
If you have a contract with HP - I would place a service call...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 06:41 AM
04-23-2003 06:41 AM
Re: hlep in diagnosing a possible disk failure
Two points
1. Power down unplug the tape drive and reboot if it sticks again it is not the tape drive at fault. Have a look at dmesg and syslog the offending device should be logged in there.
2. Why do you reboot once a week? - this is a unix server and normally reboots are only carried out during patching or software installs.
Search the forum on how ofter servers are rebooted and you will find that "Not Often" is the answer. Unix is and never will be Windoze (reboot twice a day).
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 06:43 AM
04-23-2003 06:43 AM
Solution# ioscan -fnC disk
.. take note of all the other non-vg00 disks (ie match them with what's in /etc/lvmtab). Check if they respond to diskinfo.
# /etc/diskinfo /dev/rdsk/cXtXdX
If they do the next thing to do is manually activating all your othe VGs.
# vgchange -a y vg01
# vgchange -a y vg02
Post any error you see. If you got a disk that does not respond to diskinfo you can run further diagnostic (ie exerciser) on it using "cstm".
# cstm
cstm> map
cstm> sel dev
cstm> exc
cstm> map
==> Check with the map command once in a while to make sure the exerciser completes evenually.
cstm> eal
cstm> efl
cstm> einf
Update this thread on what are your findings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 06:44 AM
04-23-2003 06:44 AM
Re: hlep in diagnosing a possible disk failure
Also how can I try and mount some of the other file systems when in single user mode?
I tried mount /usr or mount /oracle and I get a message about the volume manager device file not existing. I must need to start something to get the LVM stuff running so I can mount the partitions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:00 AM
04-23-2003 07:00 AM
Re: hlep in diagnosing a possible disk failure
How do I view the /etc/lvmtab file? When I try to cat it to the screen it overwrites part of itself. I don't get to see the part that relates to vg02.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:02 AM
04-23-2003 07:02 AM
Re: hlep in diagnosing a possible disk failure
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:07 AM
04-23-2003 07:07 AM
Re: hlep in diagnosing a possible disk failure
# dd if=/dev/dsk/cXtXdX of=/dev/null bs=32k
Are you sure you're in single user mode .. or in LVM maintenance mode ? Either way activate your vg00 first ..
# vgchange -a y /dev/vg00
and then run ..
# /sbin/mount -a
==> That will attempt to mount all you entries in /etc/fstab, you will see some error about not being able to mount non-vg00 FS, ignore those error for now.
To look at /etc/lvmtab, you would run ..
# strings /etc/lvmtab
since it's not a regular file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:14 AM
04-23-2003 07:14 AM
Re: hlep in diagnosing a possible disk failure
To use the dd command (man dd) let's say the suspect disk is c0t1d0 then you would:
dd if=/dev/dsk/c0t1d0 of=/dev/null count=2000
you can increase the count number, that is how many blocks of data it reads and just dumps the data to /dev/null which is 'nowhere'. Be carefull of the "if=" and "of=" as they are input and output respectively. You don't want to write to the disk, just read from it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:21 AM
04-23-2003 07:21 AM
Re: hlep in diagnosing a possible disk failure
I can get everything mounted except the file systems on vg02.
The drive I suspected was bad just hangs when I run diskinfo command.
I was not able to break out. What breaks out of a command when in single user mode? I tried ctrl-c,x,d,backspace, etc...
When I get the box back in single user mode I will try the cstm command and see what it says.
It looks like I need to get a new disk.
What will be the steps to get the box to boot without trying to mount vg02? That vg is the only one effected by the bad disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:37 AM
04-23-2003 07:37 AM
Re: hlep in diagnosing a possible disk failure
How do I change the boot process so that vg01 no longer is activated at boot time? It is apparently hanging on the vgchange -a y vg01 command.
Once I get the new drive I can recreate the vg01 and restore the effected file systems from backup, hopefully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:45 AM
04-23-2003 07:45 AM
Re: hlep in diagnosing a possible disk failure
# /sbin/vgexport /dev/vg01
That should delete the entry from /etc/lvmtab file and all it's device files. I assume you know how to create a new vg01 later on when the new disk is installed and everything is online ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:47 AM
04-23-2003 07:47 AM
Re: hlep in diagnosing a possible disk failure
You probably should also comment out the entries for vg01 in your /etc/fstab file.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 08:13 AM
04-23-2003 08:13 AM
Re: hlep in diagnosing a possible disk failure
Thanks everyone.
Now I just need to get a new disk and do some restoring.