<?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: initialize the disk drive in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771909#M74922</link>
    <description>First of all run .. (example c2t2d0)..&lt;BR /&gt;# /etc/diskinfo /dev/rdsk/c2t2d0&lt;BR /&gt;and if it shows the correct info especially the "size" as you expect it, then you're all set. Just use "pvcreate" to initialize the disk as a physical volume to be used in a volume group. For example ..&lt;BR /&gt;# pvcreate /dev/rdsk/c2t2d0&lt;BR /&gt;then continue with the rest of the steps ..&lt;BR /&gt;If you use SAM to create/extend a VG you don't even have to run "pvcreate".</description>
    <pubDate>Wed, 24 Jul 2002 17:48:24 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-07-24T17:48:24Z</dc:date>
    <item>
      <title>initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771905#M74918</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to install a new disk drive. My workstation is HP-UX&lt;BR /&gt;B.10.20.&lt;BR /&gt;&lt;BR /&gt;Would someone please tell me how to initialize the disk drive?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;zhiyong</description>
      <pubDate>Wed, 24 Jul 2002 17:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771905#M74918</guid>
      <dc:creator>szhiyong</dc:creator>
      <dc:date>2002-07-24T17:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771906#M74919</link>
      <description>1. shut down the server&lt;BR /&gt;2. Plug in the new disk.  If this is an external disk, you do not have to power down the disk array.&lt;BR /&gt;3. Power back up the server&lt;BR /&gt;4. Check new device file for the new disk:&lt;BR /&gt;#ioscan -funC disk&lt;BR /&gt;5. If not shown, try:&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Wed, 24 Jul 2002 17:44:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771906#M74919</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-24T17:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771907#M74920</link>
      <description>Then run pvcreate to make the LVM metadata on the disk...if using LVM.</description>
      <pubDate>Wed, 24 Jul 2002 17:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771907#M74920</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2002-07-24T17:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771908#M74921</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Once you have plugged / connected the disk to your system scsi channel (Make sure the scsi id of this disk is unique on that bus), if you have rebooted the system, the device files would have been generated automatically. Do a "ioscan -fnC disk" to see if the disk is sensed and the device file is seen. If the device file has not been generated, you can do so by running the command "insf -e" from the root prompt.&lt;BR /&gt;&lt;BR /&gt;say the device file is /dev/dsk/cxdytz. First do a pvcreate on the disk,&lt;BR /&gt;&lt;BR /&gt;pvcreate -f /dev/rdsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;Now create a vg using vgcreate or extend and existing vg to this disk using vgextend.&lt;BR /&gt;&lt;BR /&gt;Refer to the hp manual "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" for more help.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jul 2002 17:48:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771908#M74921</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-07-24T17:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771909#M74922</link>
      <description>First of all run .. (example c2t2d0)..&lt;BR /&gt;# /etc/diskinfo /dev/rdsk/c2t2d0&lt;BR /&gt;and if it shows the correct info especially the "size" as you expect it, then you're all set. Just use "pvcreate" to initialize the disk as a physical volume to be used in a volume group. For example ..&lt;BR /&gt;# pvcreate /dev/rdsk/c2t2d0&lt;BR /&gt;then continue with the rest of the steps ..&lt;BR /&gt;If you use SAM to create/extend a VG you don't even have to run "pvcreate".</description>
      <pubDate>Wed, 24 Jul 2002 17:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771909#M74922</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-07-24T17:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771910#M74923</link>
      <description>You will need to decide if you will create a new volume group or add this disk to an existing group. To start do an ioscan to get the disk info and make sure  it is detected, then:&lt;BR /&gt;  &lt;BR /&gt;   pvcreate -f /dev/rdsk/cxtydz&lt;BR /&gt;where x y and z are your particulars.&lt;BR /&gt;&lt;BR /&gt;    To put the disk in its own volume group, say vg01, you would use like:&lt;BR /&gt;     mkdir /dev/vg01&lt;BR /&gt;     mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;     vgcreate -e 20000 /dev/vg01 /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;With the volume group created, you will need to create a logical volume:&lt;BR /&gt;     lvcreate -L MM -n u01 /dev/vg01&lt;BR /&gt;where MM is how many megs, u01 will be the name of the logical vol.&lt;BR /&gt;&lt;BR /&gt;then create the file system:&lt;BR /&gt;      newfs -F vxfs /dev/vg01/ru01&lt;BR /&gt;&lt;BR /&gt;the filesystem can then be mounted:&lt;BR /&gt;       mount /dev/vg01/u01 /u01&lt;BR /&gt;&lt;BR /&gt;You would then also add a line in your /etc/fstab file to mount the filesystem on bootup.&lt;BR /&gt;You should read then man pages for pvcreate, vgcreate, lvcreate and newfs.</description>
      <pubDate>Wed, 24 Jul 2002 17:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771910#M74923</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2002-07-24T17:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771911#M74924</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Pls take a look this doc: &lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90053/B2355-90053_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90053/00/00/25-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90053/00/00/25-toc.html&amp;amp;searchterms=a%7cnew%7cdisk%7cConfiguring&amp;amp;queryid=20020724-115452" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90053/B2355-90053_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90053/00/00/25-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90053/00/00/25-toc.html&amp;amp;searchterms=a%7cnew%7cdisk%7cConfiguring&amp;amp;queryid=20020724-115452&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,</description>
      <pubDate>Wed, 24 Jul 2002 17:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771911#M74924</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2002-07-24T17:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771912#M74925</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for fast reply!!&lt;BR /&gt;&lt;BR /&gt;I check the "diskinfo /dev/rdsk/c1t4d0", but the size is 0 byte.&lt;BR /&gt;&lt;BR /&gt;Even after I use pvcreate, I use "diskinfo /dev/rdsk/c1t4d0", the size is also o bytes.&lt;BR /&gt;&lt;BR /&gt;Would someone tell me how to solve this problem?&lt;BR /&gt;&lt;BR /&gt;zhiyong</description>
      <pubDate>Wed, 24 Jul 2002 18:00:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771912#M74925</guid>
      <dc:creator>szhiyong</dc:creator>
      <dc:date>2002-07-24T18:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771913#M74926</link>
      <description>You have to use diskinfo like this:&lt;BR /&gt;    diskinfo /dev/rdsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;hope that helps.</description>
      <pubDate>Wed, 24 Jul 2002 18:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771913#M74926</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2002-07-24T18:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771914#M74927</link>
      <description>ignore my last message. Diskinfo may not give all information for non-HP devices. What type of disk is it? What does the command: ioscan -fnC disk show?</description>
      <pubDate>Wed, 24 Jul 2002 18:20:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771914#M74927</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2002-07-24T18:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771915#M74928</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for reply.&lt;BR /&gt;&lt;BR /&gt;I fixed the problem by the sam. There is initialize the disk option in the sam. It is sdisk driver. But I do not how to use command to do this.&lt;BR /&gt;&lt;BR /&gt;Is pvcreate used to initialize the disk drive.&lt;BR /&gt;&lt;BR /&gt;zhiyong</description>
      <pubDate>Wed, 24 Jul 2002 23:14:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771915#M74928</guid>
      <dc:creator>szhiyong</dc:creator>
      <dc:date>2002-07-24T23:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771916#M74929</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes it is:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/pvcreate /dev/rdsk/c1t4d0&lt;BR /&gt;or to force it&lt;BR /&gt;# /usr/sbin/pvcreate -f /dev/rdsk/c1t4d0&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 24 Jul 2002 23:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771916#M74929</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-07-24T23:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771917#M74930</link>
      <description>Hi,All,&lt;BR /&gt;&lt;BR /&gt;Thanks for reply.&lt;BR /&gt;&lt;BR /&gt;I totally understand.&lt;BR /&gt;&lt;BR /&gt;zhiyong</description>
      <pubDate>Wed, 24 Jul 2002 23:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771917#M74930</guid>
      <dc:creator>szhiyong</dc:creator>
      <dc:date>2002-07-24T23:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771918#M74931</link>
      <description>For a new disk, you can make a full test first:&lt;BR /&gt;#mediainit /dev/rdsk/c1t4d0&lt;BR /&gt;(mediainit initializes mass storage media by formatting the media, writing and reading test patterns to verify media integrity,then sparing any defective blocks found.)&lt;BR /&gt;If success, you can then make LVM. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Live as you wish-&lt;BR /&gt;Gerald Zhou</description>
      <pubDate>Thu, 25 Jul 2002 00:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771918#M74931</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2002-07-25T00:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771919#M74932</link>
      <description>Hi,Gerald,&lt;BR /&gt;&lt;BR /&gt;Thanks for help.I really appreciate it.&lt;BR /&gt;&lt;BR /&gt;This command is realy help me to solve my problem.&lt;BR /&gt;&lt;BR /&gt;zhiyong</description>
      <pubDate>Thu, 25 Jul 2002 00:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771919#M74932</guid>
      <dc:creator>szhiyong</dc:creator>
      <dc:date>2002-07-25T00:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: initialize the disk drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771920#M74933</link>
      <description>Just out of interest:&lt;BR /&gt;&lt;BR /&gt;*Exactly* which type of disk drive was it (i.e. manufacturer/supplier, product number, etc.) and was it indeed a "new" disk or was it a disk which came from another system (If so, please some details about that system.)?&lt;BR /&gt;&lt;BR /&gt;Also, is this a 'professional'/production/etc. system, or just some 'play' system?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 25 Jul 2002 12:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/initialize-the-disk-drive/m-p/2771920#M74933</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-07-25T12:24:06Z</dc:date>
    </item>
  </channel>
</rss>

