<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: fsck doesn't work - not even run? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526992#M556345</link>
    <description>&amp;gt;I would like to thanks you all for your time and suggestions.&lt;BR /&gt;&lt;BR /&gt;If you are happy with the answers you were given, please read the follow on how to assign points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
    <pubDate>Wed, 04 Nov 2009 11:55:42 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-11-04T11:55:42Z</dc:date>
    <item>
      <title>fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526980#M556333</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;please consider, I'm pretty new to HP-UX, thanks.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Add: 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.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 03 Nov 2009 20:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526980#M556333</guid>
      <dc:creator>Morhoo</dc:creator>
      <dc:date>2009-11-03T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526981#M556334</link>
      <description>when you say "does nothing", what do you get?&lt;BR /&gt;Just a prompt back?&lt;BR /&gt;If so, sounds like you have an empty executable file.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Nov 2009 20:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526981#M556334</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2009-11-03T20:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526982#M556335</link>
      <description>From where did you restore the data? Sure it isn't corrupted too?</description>
      <pubDate>Tue, 03 Nov 2009 22:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526982#M556335</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-11-03T22:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526983#M556336</link>
      <description>This is example of output:&lt;BR /&gt;&lt;BR /&gt;root@rp7420:/usr/sbin&amp;gt; mount -a&lt;BR /&gt;vxfs mount: V-3-21268: /dev/vg01/lvol1 is corrupted. needs checking&lt;BR /&gt;mount: /dev/vg00/lvol8 is already mounted on /var&lt;BR /&gt;mount: /dev/vg00/lvol7 is already mounted on /usr&lt;BR /&gt;mount: /dev/vg00/lvol6 is already mounted on /opt&lt;BR /&gt;mount: /dev/vg00/lvol5 is already mounted on /home&lt;BR /&gt;mount: /dev/vg00/lvol4 is already mounted on /tmp&lt;BR /&gt;mount: /dev/vg00/lvol1 is already mounted on /stand&lt;BR /&gt;root@rp7420:/usr/sbin&amp;gt; fsck -m /dev/vg01/lvol1&lt;BR /&gt;root@rp7420:/usr/sbin&amp;gt;&lt;BR /&gt;&lt;BR /&gt;fsck seems to do noting.</description>
      <pubDate>Tue, 03 Nov 2009 23:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526983#M556336</guid>
      <dc:creator>Morhoo</dc:creator>
      <dc:date>2009-11-03T23:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526984#M556337</link>
      <description>Source of restore was damaged disc itself. Data may be truly corrupted, but why fsck behaves like that? Could it be damaged too?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 03 Nov 2009 23:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526984#M556337</guid>
      <dc:creator>Morhoo</dc:creator>
      <dc:date>2009-11-03T23:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526985#M556338</link>
      <description>&amp;gt;Could it be damaged too?&lt;BR /&gt;&lt;BR /&gt;Which disk was damaged?&lt;BR /&gt;What does "ls -l /sbin/fs_wrapper" show?&lt;BR /&gt;&lt;BR /&gt;This seems to look at /sbin/lib/mfsconfig.d and /usr/lbin/fs/*.</description>
      <pubDate>Wed, 04 Nov 2009 00:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526985#M556338</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-11-04T00:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526986#M556339</link>
      <description>Since the data seems to be corrupted, you may want to run newfs on one of the vg01 lvols (or create a new small lvol), then run fsck on the (empty) filesystem. If fsck works OK, the dd copy may not have worked correctly or may have copied bad data. Was the source disk for dd part of a mirrored pair? You may have to restore from your backup tapes.</description>
      <pubDate>Wed, 04 Nov 2009 00:34:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526986#M556339</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-11-04T00:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526987#M556340</link>
      <description>root@rp7420:/&amp;gt; ls -l /sbin/fs_wrapper&lt;BR /&gt;-r-xr-xr-x   1 bin        bin              0 Nov 3 18:23  /sbin/fs_wrapper&lt;BR /&gt;&lt;BR /&gt;(zero size??)&lt;BR /&gt;&lt;BR /&gt;root@rp7420:/&amp;gt;ls -l /sbin/lib/mfsconfig.d&lt;BR /&gt;total 64&lt;BR /&gt;-r--r--r--   1 bin        bin            695 Jan 12  2007 cachefs&lt;BR /&gt;-r--r--r--   1 bin        bin            984 Feb 15  2007 hfs&lt;BR /&gt;-rw-r--r--   1 root       sys              0 Nov  4 02:51 ls&lt;BR /&gt;-r--r--r--   1 bin        bin            924 Jan 12  2007 vxfs&lt;BR /&gt;-r--r--r--   1 bin        bin           3448 Jun 26  2007 vxfs5.0&lt;BR /&gt;&lt;BR /&gt;root@rp7420:/&amp;gt;ls -l /usr/lbin/fs&lt;BR /&gt;total 32&lt;BR /&gt;dr-xr-xr-x   2 bin        bin           8192 Dec  5  2007 hfs&lt;BR /&gt;dr-xr-xr-x   2 bin        bin           8192 Dec  5  2007 vxfs&lt;BR /&gt;dr-xr-xr-x   2 bin        bin             96 Dec  5  2007 vxfs5.0&lt;BR /&gt;&lt;BR /&gt;Bad disk was standalone and was not mirrored. I can use backup tape, but i can't create new filesystem as long as fsck doesn't work at all. :-(&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Nov 2009 02:21:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526987#M556340</guid>
      <dc:creator>Morhoo</dc:creator>
      <dc:date>2009-11-04T02:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526988#M556341</link>
      <description>I would start over - remove LVOL and VG, pvcreate the disks, create the VG and LVOL again, then the file system. Restore your data now.</description>
      <pubDate>Wed, 04 Nov 2009 05:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526988#M556341</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-11-04T05:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526989#M556342</link>
      <description>&amp;gt;-r-xr-xr-x 1 bin bin 0 Nov 3 18:23 /sbin/fs_wrapper&lt;BR /&gt;&amp;gt;(zero size??)&lt;BR /&gt;&lt;BR /&gt;Yes, that's enough to explain why nothing happens.  Do you have another machine where you can try extracting fs_wrapper?&lt;BR /&gt;&lt;BR /&gt;Was it the root disk that went bad?</description>
      <pubDate>Wed, 04 Nov 2009 07:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526989#M556342</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-11-04T07:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526990#M556343</link>
      <description>&amp;gt;-r-xr-xr-x 1 bin bin 0 Nov 3 18:23 /sbin/fs_wrapper&lt;BR /&gt;&amp;gt;(zero size??)&lt;BR /&gt;&lt;BR /&gt;This is what I was referring to.&lt;BR /&gt;It exists, and is executable, but is zero in size so "does nothing"&lt;BR /&gt;Somehow you have managed to corrupt system files.&lt;BR /&gt;Try to recover or install one from another server, or from your media.</description>
      <pubDate>Wed, 04 Nov 2009 08:42:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526990#M556343</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2009-11-04T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526991#M556344</link>
      <description>OK, problem is successfully solved!&lt;BR /&gt;&lt;BR /&gt;HP Czech Support sent me new fs_wrapper executable and it works! Corrupted filesystem has been recovered using fsck and all data are fine and accessible. How fs_wrapper got damaged is still a bit misery to me, but replacement of file was fortunately enaugh to make it work.&lt;BR /&gt;&lt;BR /&gt;I would like to thanks you all for your time and suggestions. I really appreciate it!&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Ondrej Ilek.</description>
      <pubDate>Wed, 04 Nov 2009 11:40:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526991#M556344</guid>
      <dc:creator>Morhoo</dc:creator>
      <dc:date>2009-11-04T11:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526992#M556345</link>
      <description>&amp;gt;I would like to thanks you all for your time and suggestions.&lt;BR /&gt;&lt;BR /&gt;If you are happy with the answers you were given, please read the follow on how to assign points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Wed, 04 Nov 2009 11:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526992#M556345</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-11-04T11:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: fsck doesn't work - not even run?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526993#M556346</link>
      <description>OK, its minimum i can do to express my gratitude. :-)</description>
      <pubDate>Wed, 04 Nov 2009 12:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fsck-doesn-t-work-not-even-run/m-p/4526993#M556346</guid>
      <dc:creator>Morhoo</dc:creator>
      <dc:date>2009-11-04T12:50:20Z</dc:date>
    </item>
  </channel>
</rss>

