<?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 CHMOD - Lvol in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539541#M222971</link>
    <description>Hello there!&lt;BR /&gt;I'm using HP-UX 11i.&lt;BR /&gt;&lt;BR /&gt;How to set the "b" in the beggining of a filesystem information and what does it means?&lt;BR /&gt;&lt;BR /&gt;br--r-----   1 root       sys         64 0x010001 Sep 25  2004 lvol1&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga</description>
    <pubDate>Fri, 06 May 2005 14:24:38 GMT</pubDate>
    <dc:creator>Rafael Mendonça Braga</dc:creator>
    <dc:date>2005-05-06T14:24:38Z</dc:date>
    <item>
      <title>CHMOD - Lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539541#M222971</link>
      <description>Hello there!&lt;BR /&gt;I'm using HP-UX 11i.&lt;BR /&gt;&lt;BR /&gt;How to set the "b" in the beggining of a filesystem information and what does it means?&lt;BR /&gt;&lt;BR /&gt;br--r-----   1 root       sys         64 0x010001 Sep 25  2004 lvol1&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga</description>
      <pubDate>Fri, 06 May 2005 14:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539541#M222971</guid>
      <dc:creator>Rafael Mendonça Braga</dc:creator>
      <dc:date>2005-05-06T14:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: CHMOD - Lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539542#M222972</link>
      <description>It stands for block-type, a device file.&lt;BR /&gt;mknod command is used to create device file.&lt;BR /&gt;&lt;BR /&gt;What exactly you want to do? &lt;BR /&gt;&lt;BR /&gt;-USA</description>
      <pubDate>Fri, 06 May 2005 14:32:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539542#M222972</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2005-05-06T14:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: CHMOD - Lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539543#M222973</link>
      <description>Hello!!!&lt;BR /&gt;&lt;BR /&gt;The lvol was created without the "b" in the beggining of the filesystem information, and someone told me that without that letter it won't work correctly... I would like to know what that "b" means, and how can I set it!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga</description>
      <pubDate>Fri, 06 May 2005 14:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539543#M222973</guid>
      <dc:creator>Rafael Mendonça Braga</dc:creator>
      <dc:date>2005-05-06T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: CHMOD - Lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539544#M222974</link>
      <description>Normally these device nodes are not created manually but are done as part of an lvcreate or vgimport command. Be very careful and know what you are doing, if creating these on your own. My approach would be to vgexport and do a vgimport to rebuild these device nodes. If you must do this then find the 'group' device node under /dev/vg00 and note the first two hex digits the minor device number.&lt;BR /&gt;&lt;BR /&gt;e.g. 64 0x020000 group&lt;BR /&gt;&lt;BR /&gt;lvol1 will use those same first two digits and 0001 as the last 4 hex digits; lvol2 will use 0002, and so on.&lt;BR /&gt;&lt;BR /&gt;To create /dev/vg02/lvol1 assuming the "group" minor device number is 0x020000,&lt;BR /&gt;rm /dev/vg02/lvol1 # this assumes lvol1 is a regular file (missing the 'b' or 'c').&lt;BR /&gt;mknod /dev/vg02/lvol2 b 64 0x020001 # block device&lt;BR /&gt;mknod /dev/vg02/rlvol2 b 64 0x020001 # character device&lt;BR /&gt;</description>
      <pubDate>Fri, 06 May 2005 14:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539544#M222974</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-05-06T14:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: CHMOD - Lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539545#M222975</link>
      <description>You cannot set the bit at the beginning of the permission string with chmod.  The bit at the beginning of the permissions indicates what the item in question is.&lt;BR /&gt;&lt;BR /&gt;d = Directory&lt;BR /&gt;b = Block device&lt;BR /&gt;c = Character device&lt;BR /&gt;l = Link&lt;BR /&gt;p = Pipe&lt;BR /&gt;- = File&lt;BR /&gt;&lt;BR /&gt;There are others as well.&lt;BR /&gt;&lt;BR /&gt;That bit is determined by how the item is created. You would have to create the 'b' or 'c' with mknod as stated above.&lt;BR /&gt;&lt;BR /&gt;Also pay attention to what Clay talked about.  The /dev/vg*/lvol* and /dev/vg*/rlvol* devices are normally created when a logical volume is created.  Those are not files that you would normally mess with.</description>
      <pubDate>Fri, 06 May 2005 14:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539545#M222975</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-05-06T14:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: CHMOD - Lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539546#M222976</link>
      <description>Logical volumes are created with a pair of device files, one is called the character device and the other is the block device. The block device file will use the kernel's blocking or caching driver. The character device file is used by raw (direct I/O) tasks such as newfs. The raw or character device will  have the same name as the lvol but with the letter 'r' in front as in lvol1 and rlvol1.&lt;BR /&gt; &lt;BR /&gt;When you use SAM or lvcreate, both device files are created automatically. Someone has been playing around with the device files, something that should not be done without a lot of training. Rather than guessing how to fix all the problems, you should use lvremove (or SAM) to get rid of the problem lvol and recreate it again. Using the proper tools will always create the correct device file pairs.</description>
      <pubDate>Fri, 06 May 2005 21:24:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chmod-lvol/m-p/3539546#M222976</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-06T21:24:58Z</dc:date>
    </item>
  </channel>
</rss>

