The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
about fsck farhan_t49 UNIX for Dummies Questions & Answers 1 06-11-2009 06:58 AM
fsck -o melanie_pfefer SUN Solaris 2 01-06-2009 08:10 PM
fsck - what should be done? duke0001 UNIX for Dummies Questions & Answers 3 11-22-2005 09:10 PM
fsck run_time_error SUN Solaris 5 09-14-2005 07:16 AM
OS X / fsck / apps dont work no control panel maxwell Filesystems, Disks and Memory 0 08-14-2002 08:03 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
Morhoo Morhoo is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 3
Exclamation fsck doesn't work - not even run?

Hi,

please consider, I'm pretty new to HP-UX, thanks.

Our server (rp7420 with HP-UX 11.31) has crashed due to disk write error (not boot partition). So I replaced damaged device with the new one of the same size and performed dd copy 1:1 to restore data - vxfs partition "/dev/vg01/lvol1" mounted as "/data" and some raw devs. After reboot system wrote this error: "vxfs mount: V-3-21268: /dev/vg01/lvol1 is corrupted. needs checking". So I wanted to run fsck command to fix filesystem, logged as root, but to my surprise nothing happened. No error, no output, no result. Just like if it wouldn't run. I'm sure I was able to run fsck many times before and I tried many variants of parameters, no deal. Any suggestions how to fix FS without using fsck? Or better, how to repair fsck to run properly? Thanks for every advice.

Ondrej Ilek.


Quote:
root@rp7420:/usr/sbin> mount -a
vxfs mount: V-3-21268: /dev/vg01/lvol1 is corrupted. needs checking
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /opt
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol4 is already mounted on /tmp
mount: /dev/vg00/lvol1 is already mounted on /stand
root@rp7420:/usr/sbin> fsck -m /dev/vg01/lvol1
root@rp7420:/usr/sbin>
  #2 (permalink)  
Old 2 Weeks Ago
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
Suggest you refer this to your HP support, or failing that post on the HP ITRC board. Replacing a vxfs disc has to be done the right way.
  #3 (permalink)  
Old 2 Weeks Ago
Morhoo Morhoo is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 3
Specification: Disc was replaced directly by HP technician. Unfortunately that server is not further under any support licence from HP. I just wonder why fsck is failing to run now and has no response.

Thanks
  #4 (permalink)  
Old 2 Weeks Ago
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
What I dont get is what are you trying to copy with dd...
dd in LVM only works if you are copying an entire disk (and so keep the LVM structure integrity...) a dd of a logical volume that boots to a new disk just like that makes no sence...
Where Im puzzled is more how can you boot without lvol1?
were your root disks (in vg00) in mirror?

The (I hope) faulty disk was changed OK, what was done after? ( will greatly help to understand...)
  #5 (permalink)  
Old 2 Weeks Ago
Morhoo Morhoo is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 3
Problem solved: Replacement of executable "/sbin/fs_wrapper" was enough to make fsck work. Data on corrupted filesystem are now fine and fully accessible.

Thanks.

---------- Post updated at 06:48 AM ---------- Previous update was at 06:43 AM ----------

Quote:
Originally Posted by vbe View Post
What I dont get is what are you trying to copy with dd...
dd in LVM only works if you are copying an entire disk (and so keep the LVM structure integrity...) a dd of a logical volume that boots to a new disk just like that makes no sence...
Where Im puzzled is more how can you boot without lvol1?
were your root disks (in vg00) in mirror?

The (I hope) faulty disk was changed OK, what was done after? ( will greatly help to understand...)
Damaged lvol1 was on vg01, it wasnt bootable partition. I used dd for clone one /dev/dsk to another. Anyway, problem was in corrupted "/sbin/fs_wrapper" file (its still a bit mystery to my, how that could happen), but now is everything ok.

Thanks.
Sponsored Links
Reply

Bookmarks

Tags
filesystem, fix, fsck, hp-ux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0