<?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: checking disk before adding it to a VG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288178#M627779</link>
    <description>Hi Abhik,&lt;BR /&gt;&lt;BR /&gt;Ioscan and diskinfo can tell you the disk being sensed by the OS. if you want to check if there are any LVM info, try pvcreate without "-f" option.&lt;BR /&gt;&lt;BR /&gt;This will give you a warning if there are already LVM structures on this disk. If it contains LVM(already belongs to another volume group) then you can do a vgimport and mount the LVs of the imported VG. &lt;BR /&gt;&lt;BR /&gt;This way you can check the data on the disks, if any. Beware, if you are using disk sectioning instead of LVM, pvcreate is not good Idea.In such case, try to mount the disk directly - mount /dev/dsk/c2t3d0 /mount_point.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Mohan.&lt;BR /&gt;</description>
    <pubDate>Fri, 28 May 2004 05:43:59 GMT</pubDate>
    <dc:creator>Mohanasundaram_1</dc:creator>
    <dc:date>2004-05-28T05:43:59Z</dc:date>
    <item>
      <title>checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288170#M627771</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;We have a number of spare disks which we reuse in our lab machines. Unfortunately, the disks aren't always clearly labelled.&lt;BR /&gt;&lt;BR /&gt;Can I check what's already on a disk before I create a new PV/VG on it?&lt;BR /&gt;&lt;BR /&gt;OS is HP-UX 11.00.&lt;BR /&gt;Server is K360 with HASS unit.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abhik.</description>
      <pubDate>Thu, 27 May 2004 01:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288170#M627771</guid>
      <dc:creator>Abhik Sarkar_1</dc:creator>
      <dc:date>2004-05-27T01:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288171#M627772</link>
      <description>hi abhik,&lt;BR /&gt;&lt;BR /&gt;hi u are looking for diskinfo???&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rdsk/c0t5d0 of=/dev/null&lt;BR /&gt;check the records in and records out..&lt;BR /&gt;&lt;BR /&gt;you can also check the hard disk using STM.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;sajeesh</description>
      <pubDate>Thu, 27 May 2004 01:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288171#M627772</guid>
      <dc:creator>sajeesh_3</dc:creator>
      <dc:date>2004-05-27T01:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288172#M627773</link>
      <description>Abhik,&lt;BR /&gt;One way what you can do is install the disk into server.&lt;BR /&gt;&lt;BR /&gt;And do &lt;BR /&gt;&lt;BR /&gt;# vgscan -p -v &lt;BR /&gt;&lt;BR /&gt;See if can see anything in the disk. Before that identify your disk using:&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2004 02:02:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288172#M627773</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-27T02:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288173#M627774</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;u will not be able to check or display the content of the disk. however, u may be able to check info about the disk, i.e.&lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdsk/&lt;DEVICE name="" of="" disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;regards.&lt;/DEVICE&gt;</description>
      <pubDate>Mon, 16 Sep 2024 09:20:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288173#M627774</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2024-09-16T09:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288174#M627775</link>
      <description>sorry abhik,&lt;BR /&gt;&lt;BR /&gt;I misunderstood your question..&lt;BR /&gt;A discussion on the same topic was just going on some times back.....&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=602666" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=602666&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;with regards&lt;BR /&gt;naveej</description>
      <pubDate>Thu, 27 May 2004 02:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288174#M627775</guid>
      <dc:creator>sajeesh_3</dc:creator>
      <dc:date>2004-05-27T02:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288175#M627776</link>
      <description>Bharat and Sajeesh. Thanks. You understood my question correctly and I have enough leads to look around.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Abhik.</description>
      <pubDate>Thu, 27 May 2004 02:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288175#M627776</guid>
      <dc:creator>Abhik Sarkar_1</dc:creator>
      <dc:date>2004-05-27T02:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288176#M627777</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In order to check whether a spare disk is OK, you can do the following:&lt;BR /&gt;&lt;BR /&gt;After the disk connection to the computer run &lt;BR /&gt;ioscan -fnCdisk   You have to see a new entry in the list. Run&lt;BR /&gt;insf -e -C disk in order to build all needed files.&lt;BR /&gt;Now in the output of ioscan -kfnCdisk you see /dev/dsk and dev/rdsk files for the disk.&lt;BR /&gt;&lt;BR /&gt;The command diskinfo /dev/rdsk/cXtYdZ must responce immediately and give valid information.&lt;BR /&gt;dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=32768k&lt;BR /&gt;should not give any i/o error.&lt;BR /&gt;&lt;BR /&gt;In order to be sure 100% you can run&lt;BR /&gt; mediainit &lt;BR /&gt;for this disk.</description>
      <pubDate>Thu, 27 May 2004 02:33:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288176#M627777</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2004-05-27T02:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288177#M627778</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt;Thanks for your answer. The disk is already visible in ioscan. &lt;BR /&gt;&lt;BR /&gt;What I needed to know was that if it was ever part of a VG.&lt;BR /&gt;&lt;BR /&gt;However, your suggestions on making sure that the disk is usable are good and I will use them.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abhik.</description>
      <pubDate>Thu, 27 May 2004 02:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288177#M627778</guid>
      <dc:creator>Abhik Sarkar_1</dc:creator>
      <dc:date>2004-05-27T02:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288178#M627779</link>
      <description>Hi Abhik,&lt;BR /&gt;&lt;BR /&gt;Ioscan and diskinfo can tell you the disk being sensed by the OS. if you want to check if there are any LVM info, try pvcreate without "-f" option.&lt;BR /&gt;&lt;BR /&gt;This will give you a warning if there are already LVM structures on this disk. If it contains LVM(already belongs to another volume group) then you can do a vgimport and mount the LVs of the imported VG. &lt;BR /&gt;&lt;BR /&gt;This way you can check the data on the disks, if any. Beware, if you are using disk sectioning instead of LVM, pvcreate is not good Idea.In such case, try to mount the disk directly - mount /dev/dsk/c2t3d0 /mount_point.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Mohan.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2004 05:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288178#M627779</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2004-05-28T05:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: checking disk before adding it to a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288179#M627780</link>
      <description>Abhik -- the best way to see if a disk has ever been part of a VG is to run a pvdisplay on it.&lt;BR /&gt;&lt;BR /&gt;ie.&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;Compare the output of this to the output of a pvdisplay run against a disk in vg00.&lt;BR /&gt;&lt;BR /&gt;To do that, run:&lt;BR /&gt;# vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;and look to see which physical disks are included in volume group vg00, then run a pvdisplay on them.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Simon&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2004 07:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-disk-before-adding-it-to-a-vg/m-p/3288179#M627780</guid>
      <dc:creator>Simon Galton</dc:creator>
      <dc:date>2004-05-28T07:12:08Z</dc:date>
    </item>
  </channel>
</rss>

