<?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: command for HDD resize in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764112#M260022</link>
    <description>Hello Rudensky,&lt;BR /&gt;Why you are asking that i don't understand. but as i know there is no command to resize the HD. Because when you add a new HD to the system you can only create it with its full size. You can resize lvs or vgs. but it is not possible to change the size of HD.</description>
    <pubDate>Mon, 03 Apr 2006 09:21:40 GMT</pubDate>
    <dc:creator>Onur Karakan</dc:creator>
    <dc:date>2006-04-03T09:21:40Z</dc:date>
    <item>
      <title>command for HDD resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764108#M260018</link>
      <description>Good day. &lt;BR /&gt;What command uses in HP-UX OS to resize the HDD (like fdisk /dev/hda in linux OS)&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Apr 2006 02:10:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764108#M260018</guid>
      <dc:creator>Rudensky Igor</dc:creator>
      <dc:date>2006-04-03T02:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: command for HDD resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764109#M260019</link>
      <description># diskinfo /dev/rdsk/c2t1d0&lt;BR /&gt;SCSI describe of /dev/rdsk/c2t1d0:&lt;BR /&gt;             vendor: HP 73.4G&lt;BR /&gt;         product id: MAS3735NC       &lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 71687369 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Apr 2006 02:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764109#M260019</guid>
      <dc:creator>Antonio Cardoso_1</dc:creator>
      <dc:date>2006-04-03T02:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: command for HDD resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764110#M260020</link>
      <description>diskinfo shows you the size of the disk.&lt;BR /&gt;If you want to resize you can do it from System Administrator Manager (sam). Launch SAM as root with sam command.</description>
      <pubDate>Mon, 03 Apr 2006 02:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764110#M260020</guid>
      <dc:creator>Janne_5</dc:creator>
      <dc:date>2006-04-03T02:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: command for HDD resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764111#M260021</link>
      <description>This command (I look your description) show information about HDD, but I want to resize HDD</description>
      <pubDate>Mon, 03 Apr 2006 02:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764111#M260021</guid>
      <dc:creator>Rudensky Igor</dc:creator>
      <dc:date>2006-04-03T02:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: command for HDD resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764112#M260022</link>
      <description>Hello Rudensky,&lt;BR /&gt;Why you are asking that i don't understand. but as i know there is no command to resize the HD. Because when you add a new HD to the system you can only create it with its full size. You can resize lvs or vgs. but it is not possible to change the size of HD.</description>
      <pubDate>Mon, 03 Apr 2006 09:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764112#M260022</guid>
      <dc:creator>Onur Karakan</dc:creator>
      <dc:date>2006-04-03T09:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: command for HDD resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764113#M260023</link>
      <description>Disk you cannot resized, &lt;BR /&gt;&lt;BR /&gt;mediainit / diskinfo / fsadm / lvextend / mkfs/ newfs you use with HPUX for FS/ hard disk operations.. &lt;BR /&gt;&lt;BR /&gt;Check man pages for details&lt;BR /&gt;Prashant</description>
      <pubDate>Mon, 03 Apr 2006 09:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764113#M260023</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-04-03T09:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: command for HDD resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764114#M260024</link>
      <description>Hi Igor,&lt;BR /&gt;&lt;BR /&gt;As you should have already seen on LVM, you have some Volume Group (as vg00 for exemple). This Volume Groupe gather many disks called Physical Volume (PV), inside this VG you can cut out Logical Volumes (LV) which will be your futur FileSystems.The unit for LV is the PE (Physical Extend). It's these LV than you can mount on directories after creating the FS structure. You can now find LVM on linux (RedHat, Centos)&lt;BR /&gt;&lt;BR /&gt;To create a Volume Groupe :&lt;BR /&gt;(1) pvcreate /dev/rdsk/cxtxdx (see manpage for option)&lt;BR /&gt;(2) mkdir /dev/&lt;VGNAME&gt;&lt;BR /&gt;(3) mknod /dev/&lt;VGNAME&gt;/group c 64 0x??0000&lt;BR /&gt;?? is the minor number. It's an hexa number on two digit. &lt;BR /&gt;(4) vgcreate /dev/&lt;VGNAME&gt; /dev/dsk/cxtxdx&lt;BR /&gt;You can add several disk in the vgcreate or add them after see (5):&lt;BR /&gt;(5) vgextend /dev/&lt;VGNAME&gt; /dev/dsk/cxtxdx /dev/dsk/cxtxdy&lt;BR /&gt;You can add severals disks too.&lt;BR /&gt;&lt;BR /&gt;Once you have added all the disk to your VG you can now cut out slices (LV) and format them in vxfs format.&lt;BR /&gt;(6) lvcreate -l SIZE /dev/&lt;VGNAME&gt;&lt;BR /&gt;with SIZE in PE Number (Ex: 4Go -&amp;gt; 1024x4Mo so -l 1024)&lt;BR /&gt;lvcreate -L SIZE /dev/&lt;VGNAME&gt; with SIZE IN Mo (see manpage).&lt;BR /&gt;(7) newfs -F vxfs -o largefiles -b 8192 /dev/&lt;VGNAME&gt;/&lt;LVOLNAME&gt;&lt;BR /&gt;-o largefiles : no comments&lt;BR /&gt;-b 8192 is the size of the bloc of the file system, for oracle FS by exemple.&lt;BR /&gt;(8) mount /dev/&lt;VGNAME&gt;/&lt;LVOLNAME&gt; /&lt;MOUNTPOINT&gt; (With option if you need; see manpage)&lt;BR /&gt;&lt;BR /&gt;So after If you have to "resize" what you call your "disk" I hope it's the LVol otherwise there's noway to resize a disk. According to me, (by making the analogy) what you do with fdisk /dev/hda is to write the partition table a cutting which can be view as the equivalent of the lvols definition and sizes.&lt;BR /&gt;&lt;BR /&gt;So to resize a lvol two possibilities :&lt;BR /&gt;&lt;BR /&gt;(1) You have OnlineJfs and then you can do &lt;BR /&gt;  (a)-- make a : lvextend -L &lt;TOTALSIZEINMB&gt; of the concerned Lvol (see manpage for options)&lt;BR /&gt;  (b)-- make a : fsadm -F vxfs -b &lt;TOTALSIZEINMB&gt;m /&lt;MOUNT-POINT&gt;&lt;BR /&gt;&lt;BR /&gt;(2) You don't have OnlineJfs :&lt;BR /&gt;  (a) Umount the FS&lt;BR /&gt;  (b)Same as 1a above.&lt;BR /&gt;  (c) extendfs -F vxfs  /dev/&lt;VGNAME&gt;/r&lt;LVOLNAME&gt;&lt;BR /&gt;  (d) mount /dev/&lt;VGNAME&gt;/&lt;LVOLNAME&gt; /&lt;MOUNT-POINT&gt;&lt;BR /&gt;&lt;BR /&gt;I hope I have forget nothing and I didn't make errors. :-)&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Kenavo&lt;BR /&gt;Pat&lt;/MOUNT-POINT&gt;&lt;/LVOLNAME&gt;&lt;/VGNAME&gt;&lt;/LVOLNAME&gt;&lt;/VGNAME&gt;&lt;/MOUNT-POINT&gt;&lt;/TOTALSIZEINMB&gt;&lt;/TOTALSIZEINMB&gt;&lt;/MOUNTPOINT&gt;&lt;/LVOLNAME&gt;&lt;/VGNAME&gt;&lt;/LVOLNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Mon, 03 Apr 2006 11:07:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-hdd-resize/m-p/3764114#M260024</guid>
      <dc:creator>Patrice Le Guyader</dc:creator>
      <dc:date>2006-04-03T11:07:42Z</dc:date>
    </item>
  </channel>
</rss>

