<?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: touch  on /dev/vg00/lvol9 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842736#M273610</link>
    <description>hmm, I dont think that using touch on an exisiting file would make those changes, this appears to be a case of the file was not actually there when the touch command was run!&lt;BR /&gt;&lt;BR /&gt;To recreate the file:&lt;BR /&gt;rm /dev/vg00/lvol9&lt;BR /&gt;mknod /dev/vg00/lvol9 b 64 0x000009&lt;BR /&gt;&lt;BR /&gt;(Make sure it is 5 0's followed by a 9)&lt;BR /&gt;then just make sure th eperms and ownership are ok.</description>
    <pubDate>Mon, 14 Aug 2006 04:58:23 GMT</pubDate>
    <dc:creator>melvyn burnard</dc:creator>
    <dc:date>2006-08-14T04:58:23Z</dc:date>
    <item>
      <title>touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842733#M273607</link>
      <description>A customer ran the command&lt;BR /&gt;touch /dev/vg00/lvol9&lt;BR /&gt;Now instead of:&lt;BR /&gt;brw-r-----   1 root       sys         64 0x000009 Jun 17 08:36 /dev/vg00/lvol9&lt;BR /&gt;&lt;BR /&gt;We have:&lt;BR /&gt;-rw-rw-r--   1 root       sys              0 Aug 14 09:26 /dev/vg00/lvol9&lt;BR /&gt;&lt;BR /&gt;Obviously the contents of the file are AWOL.&lt;BR /&gt;Anyone suggest a way to recover the file ... only option I can think of is to recreate the lvol and then restore from a backup?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Simon</description>
      <pubDate>Mon, 14 Aug 2006 04:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842733#M273607</guid>
      <dc:creator>Simon Bradish</dc:creator>
      <dc:date>2006-08-14T04:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842734#M273608</link>
      <description>Simon,&lt;BR /&gt;are you sure that is all that happened?&lt;BR /&gt;1. The file is still owned by root. So the user who did this had root access ?&lt;BR /&gt;2. I have just tried to recreate the problem and the touch command does not change the file format, only the date, as the file already exists.&lt;BR /&gt;&lt;BR /&gt;So did the user delete the file first and then try to cover up with touch?</description>
      <pubDate>Mon, 14 Aug 2006 04:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842734#M273608</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-08-14T04:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842735#M273609</link>
      <description>It is quite possible that they did so, the customer (user) does indeed have root access as they own the machine and they have a history of messing about (... so to speak).&lt;BR /&gt;&lt;BR /&gt;A colleague has suggested running mknod with the correct arguments but is at a loss as to the correct arguments. Our HP/UX guru is on honeymoon, so uncontactable!</description>
      <pubDate>Mon, 14 Aug 2006 04:57:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842735#M273609</guid>
      <dc:creator>Simon Bradish</dc:creator>
      <dc:date>2006-08-14T04:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842736#M273610</link>
      <description>hmm, I dont think that using touch on an exisiting file would make those changes, this appears to be a case of the file was not actually there when the touch command was run!&lt;BR /&gt;&lt;BR /&gt;To recreate the file:&lt;BR /&gt;rm /dev/vg00/lvol9&lt;BR /&gt;mknod /dev/vg00/lvol9 b 64 0x000009&lt;BR /&gt;&lt;BR /&gt;(Make sure it is 5 0's followed by a 9)&lt;BR /&gt;then just make sure th eperms and ownership are ok.</description>
      <pubDate>Mon, 14 Aug 2006 04:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842736#M273610</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2006-08-14T04:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842737#M273611</link>
      <description>make that &lt;BR /&gt;&lt;BR /&gt;mknod /dev/vg09/group c 64 0x090000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 14 Aug 2006 05:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842737#M273611</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-08-14T05:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842738#M273612</link>
      <description>Uh, Pete?&lt;BR /&gt;It is not the group file that has been whacked, but the lvol9 device file</description>
      <pubDate>Mon, 14 Aug 2006 05:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842738#M273612</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2006-08-14T05:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842739#M273613</link>
      <description>touch will update the time stamp only for a existing file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To recreate the file:&lt;BR /&gt;delete the file&lt;BR /&gt;rm /dev/vg00/lvol9&lt;BR /&gt;&lt;BR /&gt;create the block file&lt;BR /&gt;&lt;BR /&gt;mknod /dev/vg00/lvol9 b 64 0x000009</description>
      <pubDate>Mon, 14 Aug 2006 06:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842739#M273613</guid>
      <dc:creator>Tvs</dc:creator>
      <dc:date>2006-08-14T06:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842740#M273614</link>
      <description>Yeah, sorry Melvyn - lack of coffee.&lt;BR /&gt;&lt;BR /&gt;;^)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 14 Aug 2006 07:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842740#M273614</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-08-14T07:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842741#M273615</link>
      <description>Hi Simon,&lt;BR /&gt;&lt;BR /&gt;melvyn burnard is goog solution.&lt;BR /&gt;&lt;BR /&gt;Verify also /dev/vg00/rlvol9&lt;BR /&gt;&lt;BR /&gt;Sample output "touch":&lt;BR /&gt;&lt;BR /&gt;No "root" user,&lt;BR /&gt;&lt;BR /&gt;$ touch /dev/vgxxxx/lvxxxx&lt;BR /&gt;touch: cannot change times on /dev/vgxxxx/lvxxxx&lt;BR /&gt;&lt;BR /&gt;With "root" user,&lt;BR /&gt;#ll /dev/vgxxxx/lvxxxx&lt;BR /&gt;brw-r-----   1 root  sys 64 0x190001 Aug 23  2004 /dev/vgxxxx/lvxxxx&lt;BR /&gt;#touch /dev/vgxxxx/lvxxxx&lt;BR /&gt;#ll /dev/vgxxxx/lvxxxx&lt;BR /&gt;brw-r-----   1 root  sys 64 0x190001 Aug 14 14:16 /dev/vgxxxx/lvxxxx&lt;BR /&gt;&lt;BR /&gt;#chmod 644 /dev/vgxxxx/lvxxxx&lt;BR /&gt;#ll /dev/vgxxxx/lvxxxx&lt;BR /&gt;brw-r--r--   1 root  sys 64 0x190001 Aug 14 14:16 /dev/vgxxxx/lvxxxx&lt;BR /&gt;&lt;BR /&gt;#chmod 640 /dev/vgxxxx/lvxxxx&lt;BR /&gt;#ll /dev/vgxxxx/lvxxxx&lt;BR /&gt;brw-r-----   1 root sys  64 0x190001 Aug 14 14:16 /dev/vgxxxx/lvxxxx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;&lt;BR /&gt;ran</description>
      <pubDate>Mon, 14 Aug 2006 07:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842741#M273615</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2006-08-14T07:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: touch  on /dev/vg00/lvol9</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842742#M273616</link>
      <description>You will need to do a sanity check on all the device files in your volume groups and at the same time, print out a copy of root's .sh_history file. There may be a LOT more damage than this one device file. I would not reboot at this point as the system may not come back depending on what else is broken.&lt;BR /&gt; &lt;BR /&gt;Once you fix the missing lvol9, run the vgdisplay command. It should not report any errors. Also try mount -a which should report that all mountpoints are already mounted. Then look over all the commands in .sh_history for anything that changes the system (touch rm mv chmod chown vi, etc)</description>
      <pubDate>Mon, 14 Aug 2006 07:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/touch-on-dev-vg00-lvol9/m-p/3842742#M273616</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-14T07:47:37Z</dc:date>
    </item>
  </channel>
</rss>

