<?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: About Raw Device in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076183#M631027</link>
    <description>To Steven:&lt;BR /&gt;Great! I really did none restore for this backup, so I assume it work OK at that time. &lt;BR /&gt;Now Sybase "game over" in our company! :p&lt;BR /&gt;&lt;BR /&gt;BTW, would anybody succefully create a file system on a disk which belongs to none VG? For example:&lt;BR /&gt;# pvcreate -f /dev/rdsk/c3t5d0&lt;BR /&gt;# newfs -F vxfs /dev/rdsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;-ux</description>
    <pubDate>Tue, 23 Sep 2003 01:09:02 GMT</pubDate>
    <dc:creator>Fragon</dc:creator>
    <dc:date>2003-09-23T01:09:02Z</dc:date>
    <item>
      <title>About Raw Device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076178#M631022</link>
      <description>I remember I can use a whole disk as a raw device because I always use this command to backup my Sybase DB two years ago:&lt;BR /&gt;# dd if=/dev/dsk/c3t5d0 of=/dev/rmt/0m bs=10k&lt;BR /&gt;But till now I didn't use raw device at all.&lt;BR /&gt;Now I have a question that if a whole disk is to be used as a raw device, should it be added to a VG first? Or just a "pvcreate" is enough?&lt;BR /&gt;Is LV necessary for raw device?&lt;BR /&gt;&lt;BR /&gt;Thank you very much!</description>
      <pubDate>Mon, 22 Sep 2003 20:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076178#M631022</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2003-09-22T20:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: About Raw Device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076179#M631023</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Checkout this links&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xea0931ec5e34d711abdc0090277a778c%2C00.html&amp;amp;admit=716493758+1064286041439+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xea0931ec5e34d711abdc0090277a778c%2C00.html&amp;amp;admit=716493758+1064286041439+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xd202aa01156e72438295dd123e575f28%2C00.html&amp;amp;admit=716493758+1064286063184+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xd202aa01156e72438295dd123e575f28%2C00.html&amp;amp;admit=716493758+1064286063184+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x8276ef70e827d711abdc0090277a778c%2C00.html&amp;amp;admit=716493758+1064286087892+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x8276ef70e827d711abdc0090277a778c%2C00.html&amp;amp;admit=716493758+1064286087892+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Sri</description>
      <pubDate>Mon, 22 Sep 2003 22:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076179#M631023</guid>
      <dc:creator>Sritharan</dc:creator>
      <dc:date>2003-09-22T22:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: About Raw Device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076180#M631024</link>
      <description>Hi,&lt;BR /&gt;See when you want to use the whole disk as a RAW device, you dont need to add the disk to any VG or do lvcreate. I use the whole disk as a DBspace for one Informix server and it works fine.&lt;BR /&gt;&lt;BR /&gt;Now the only reason why we need to do add it to a VG and do lvcreate is to use part of that disk, so if you want to use say ony 2GB of 4GB disk then you create LV of 2GB and use it RAW (no need to do newfs etc..)&lt;BR /&gt;But you could also create a single LV on the whole disk to use the entire disk..then the question comes why would one do so?&lt;BR /&gt;&lt;BR /&gt;The reason is, by adding teh disk to a VG you keep track of disks a system is using by looking at lvmtab, thats it.&lt;BR /&gt;&lt;BR /&gt;I hope this explains..&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Mon, 22 Sep 2003 22:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076180#M631024</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-09-22T22:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: About Raw Device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076181#M631025</link>
      <description>Kind of wondering:&lt;BR /&gt;&lt;BR /&gt;Does Sybase support that backup methodology?  What I mean is if you have trouble with the database after using this methodology to restore it, will they help you get the database working?&lt;BR /&gt;&lt;BR /&gt;Does it work when the database is open(hot) or just cold(shutdown)?&lt;BR /&gt;&lt;BR /&gt;In general database makers provide supported methodology for backups and restores. Stray at your peril.&lt;BR /&gt;&lt;BR /&gt;To you question: All you need to do is pvcreate, with whole disk methodology.  The Database utilities control how the space is chopped up into blocks.&lt;BR /&gt;&lt;BR /&gt;Interested in Pete Randall's take on this since I think he is in an Informix shop.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 22 Sep 2003 23:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076181#M631025</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-22T23:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: About Raw Device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076182#M631026</link>
      <description>To Sritharan, the link you offered give almost no use, but I still thank you very much!&lt;BR /&gt;To Rajeev, of course you should get 10 points! You answer is just what I want and I also agree to your idea. But I want to learn more about other guru's advice, I will assign the point later! Thank you very much.&lt;BR /&gt;&lt;BR /&gt;-ux</description>
      <pubDate>Tue, 23 Sep 2003 00:59:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076182#M631026</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2003-09-23T00:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: About Raw Device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076183#M631027</link>
      <description>To Steven:&lt;BR /&gt;Great! I really did none restore for this backup, so I assume it work OK at that time. &lt;BR /&gt;Now Sybase "game over" in our company! :p&lt;BR /&gt;&lt;BR /&gt;BTW, would anybody succefully create a file system on a disk which belongs to none VG? For example:&lt;BR /&gt;# pvcreate -f /dev/rdsk/c3t5d0&lt;BR /&gt;# newfs -F vxfs /dev/rdsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;-ux</description>
      <pubDate>Tue, 23 Sep 2003 01:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076183#M631027</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2003-09-23T01:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: About Raw Device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076184#M631028</link>
      <description>You should use the raw device for direct database storage.  This is because it is the only way the database can guarantee that the data has been sent to the device and isn't stuck in UNIX buffers.&lt;BR /&gt;&lt;BR /&gt;You don't have to pvcreate a disk to use it as a raw device.  pvcreate is only required to add a disk to a volume group.&lt;BR /&gt;&lt;BR /&gt;But you can still use it to create a filesystem on - this is what we all had to do before logical volume managers like LVM.&lt;BR /&gt;&lt;BR /&gt;See this:&lt;BR /&gt;&lt;BR /&gt;[root]d370:/# newfs /dev/rdsk/c0t14d0&lt;BR /&gt;newfs: /etc/default/fs is used for determining the file system type&lt;BR /&gt;    version 4 layout&lt;BR /&gt;    4194157 sectors, 4194157 blocks of size 1024, log size 1024 blocks&lt;BR /&gt;    unlimited inodes, largefiles not supported&lt;BR /&gt;    4194157 data blocks, 4192013 free data blocks&lt;BR /&gt;    128 allocation units of 32768 blocks, 32768 data blocks&lt;BR /&gt;    last allocation unit has 32621 data blocks&lt;BR /&gt;[root]d370:/#&lt;BR /&gt;[root]d370:/# mkdir /rawdisk&lt;BR /&gt;[root]d370:/# mount /dev/dsk/c0t14d0 /rawdisk&lt;BR /&gt;[root]d370:/# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     204800   78696  125152   39% /&lt;BR /&gt;/dev/vg00/lvol1     295024   38816  226704   15% /stand&lt;BR /&gt;/dev/vg00/lvol8    1048576  321480  722000   31% /var&lt;BR /&gt;/dev/vg00/lvol6    1638400 1068120  565840   65% /usr&lt;BR /&gt;/dev/vg00/lvol5     409600    9088  397448    2% /tmp&lt;BR /&gt;/dev/vg01/lvt      10240000 2601508 7161150   27% /t&lt;BR /&gt;/dev/vg00/lvol4    2891776 1602376 1279368   56% /opt&lt;BR /&gt;/dev/vg00/lvol7     409600   45368  361448   11% /home&lt;BR /&gt;/dev/dsk/c0t14d0   4194157    2128 3930035    0% /rawdisk&lt;BR /&gt;[root]d370:/# mount -p&lt;BR /&gt;/dev/vg00/lvol3   /         vxfs  log        0 1&lt;BR /&gt;/dev/vg00/lvol1   /stand    hfs   defaults   0 0&lt;BR /&gt;/dev/vg00/lvol8   /var      vxfs  delaylog   0 0&lt;BR /&gt;/dev/vg00/lvol6   /usr      vxfs  delaylog   0 0&lt;BR /&gt;/dev/vg00/lvol5   /tmp      vxfs  delaylog   0 0&lt;BR /&gt;/dev/vg01/lvt     /t        vxfs  delaylog   0 0&lt;BR /&gt;/dev/vg00/lvol4   /opt      vxfs  delaylog   0 0&lt;BR /&gt;/dev/vg00/lvol7   /home     vxfs  delaylog   0 0&lt;BR /&gt;/dev/dsk/c0t14d0  /rawdisk  vxfs  log        0 0&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Sep 2003 09:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-raw-device/m-p/3076184#M631028</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2003-09-23T09:17:57Z</dc:date>
    </item>
  </channel>
</rss>

