![]() |
|
|
|
|
|||||||
| Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
Can I only run fsck on an volume group or what do you mean? |
|
||||
|
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.
|
|
|||
|
Quote:
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. |
|
|||
|
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 |
|
||||
|
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. |
|
|||
|
Quote:
Regards, Christian |
|||
| Google UNIX.COM |
| 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 |