The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix Box crash sivam SUN Solaris 2 08-11-2005 02:43 PM
HP-UX system crash help please!!! efrenba HP-UX 1 05-19-2005 02:11 PM
System crash and Disk erasure !!! DGoubine Filesystems, Disks and Memory 3 02-02-2005 03:41 AM
Lost one cpu should the box crash kie UNIX for Advanced & Expert Users 2 11-02-2002 06:04 PM
Disk Crash Kgatliffe UNIX for Dummies Questions & Answers 1 11-21-2001 02:08 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-30-2007
Registered User
 

Join Date: Aug 2007
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
HP-UX Disk crash?

Hi, First post. I am not to experienced in the Unix or HP-UX world but I'm learning.
We have some problem with a HP rx4640 server. During boot it states the following:
Checking for LVM volume groups and Activating (if any exist)
Volume group "/dev/vg00" has been successfully changed.
vgchange: Warning: Couldn't attach to the volume group physical name "/dev/dsk/c5t6d0"
Device busy
Activated volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c5t6d0"
The specified path does not correspond to physical volume attached to this volume group
vgdisplay: warning: couldn't query all of the physical voldeumes
Checking vxfs file systems
vxfs fsck /dev/vg01/lvol4/fsck read failure bno = 360, off = 0, len = 32768
vxfs fsck /dev/vg01/lvol5/fsck read failure bno = 360, off= 0, len ) 32768
couldn't fix vxfs filesystems, dropping into a shell ...
(bcheckrc)#Resynchronized volume group /dev/vg01

I tried a full fsck (fsck -F vxfs -o nolog, full /dev/dsk/c5t6d0) and just got that it failed because the disk is busy.

Any ideas how I shall proceed?

/Hoff
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-30-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,313
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
You cannot run fsck on a disk! You might have a disk failure here. Check on the server if there is any disk activity on that particular disk. Also check for any warning lights on the server itself.

Last edited by blowtorch; 08-30-2007 at 01:19 AM.
Reply With Quote
  #3 (permalink)  
Old 08-30-2007
Registered User
 

Join Date: Aug 2007
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by blowtorch View Post
You cannot run fsck on a disk! You might have a disk failure here. Check on the server if there is any disk activity on that particular disk. Also check for any warning lights on the server itself.
Hm ok. The disk belongs to an external JBOD cabinet and all disks in that show no sign of error. All LEDs are green. The server machines LEDs are all green but the disk LED is off, not showing any disk activity.

Can I only run fsck on an volume group or what do you mean?
Reply With Quote
  #4 (permalink)  
Old 08-30-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,253
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
hoff, the physical volume /dev/dsk/c5t6d0 was added to volume group vg01. Possibly other disks might have been added to vg01 as well. Then vg01 is carved up into logical volumes such as /dev/vg01/lvol4. And then file systems were created on the logical volumes. It is possible to ignore LVM and install a file system directly on a physical disk, but few people would do that and the OS installation procedure would make it rather hard to do. So, yes, you need to fsck /dev/vg01/lvol4 and lvol5.
Reply With Quote
  #5 (permalink)  
Old 08-31-2007
Registered User
 

Join Date: Aug 2007
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by Perderabo View Post
hoff, the physical volume /dev/dsk/c5t6d0 was added to volume group vg01. Possibly other disks might have been added to vg01 as well. Then vg01 is carved up into logical volumes such as /dev/vg01/lvol4. And then file systems were created on the logical volumes. It is possible to ignore LVM and install a file system directly on a physical disk, but few people would do that and the OS installation procedure would make it rather hard to do. So, yes, you need to fsck /dev/vg01/lvol4 and lvol5.
Hi, thx for all help. I think I got a hang of it now and found out what disk that is malfunctioning.
I did an diskinfo on the specified disk /dev/rdsk/c5t6d0 and it shows size: 0 Kbytes, which seems quite odd. All other disks seems fine and gives the correct size.
Reply With Quote
  #6 (permalink)  
Old 08-31-2007
Registered User
 

Join Date: Aug 2007
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
HI again, Really could use some more help.
Now then I have found out which disk that is malfunctioning. Can I somehow point out what disk it is?.
In the JBOD cabinet all disks are show green lights, so it seems like everything is OK, even if it isn't.
Is there any command to send out a signal to a specific drive (i.e. /dev/rdsk/c5t6d0) to start flashing yellow or shutdown?

Maybe a stupid question but I really can't see any other way to pick out the right disk from the cabinet

/Hoff
Reply With Quote
  #7 (permalink)  
Old 08-31-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,253
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
This command:
dd if=/dev/rdsk/c5t6d0 bs=4096 of=/dev/null
tries to read the entire disk and copy it to /dev/null. It may do nothing for the broken disk. But if it works, it usually causes some activity indication such as the green light flashing. You should draw a little picture of your JBOD cabinet and run the command for each disk to map them out. If you ID all of the good disks, the one that is left must be the bad disk. Once you ID a disk, use your interrupt character, usually cntl-c to kill the dd.
Reply With Quote
  #8 (permalink)  
Old 09-07-2007
Registered User
 

Join Date: Aug 2007
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by Perderabo View Post
This command:
dd if=/dev/rdsk/c5t6d0 bs=4096 of=/dev/null
tries to read the entire disk and copy it to /dev/null. It may do nothing for the broken disk. But if it works, it usually causes some activity indication such as the green light flashing. You should draw a little picture of your JBOD cabinet and run the command for each disk to map them out. If you ID all of the good disks, the one that is left must be the bad disk. Once you ID a disk, use your interrupt character, usually cntl-c to kill the dd.
Thx for your help. This probably was the best solution.

Regards,
Christian
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix curses.h cut command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive gzip password hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 02:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101