# What is the best practice to Raw Device?

**URL:** <https://techcommunity.softwareag.com/t/what-is-the-best-practice-to-raw-device/92398>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Linux, Adabas-Utilities-on-Open-Systems\
**Created:** [December 17, 2009, 5:39pm UTC](https://techcommunity.softwareag.com/t/what-is-the-best-practice-to-raw-device/92398 "2009-12-17T17:39:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabian1](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@fabian1](https://techcommunity.softwareag.com/u/fabian1)\
**Post date:** [December 17, 2009, 5:39pm UTC](https://techcommunity.softwareag.com/t/what-is-the-best-practice-to-raw-device/92398/1 "2009-12-17T17:39:45Z")

</div>

Misters:

I have a two question and I think there can help me.

1. What is the best practice to implement Raw Device on ADABAS 3.3.2 or other version?

2. I have a database with raw device of 4GB size ¿Can I do increase the size to 8GB? My storage is hitachi.

Thanks.

---

<div class="post-metadata">

**Author:** ![Axt](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Axt](https://techcommunity.softwareag.com/u/Axt)\
**Post date:** [February 24, 2010, 9:39pm UTC](https://techcommunity.softwareag.com/t/what-is-the-best-practice-to-raw-device/92398/2 "2010-02-24T21:39:04Z")

</div>

What’s your OS?  
What’s your container size and blocksize?  
Of course you can increase the size of raw device, but It depends on your disks configuration.

---

<div class="post-metadata">

**Author:** ![Tony\_Y](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tony_y/32/121_2.png) [@Tony\_Y](https://techcommunity.softwareag.com/u/Tony_Y)\
**Post date:** [March 15, 2010, 3:05pm UTC](https://techcommunity.softwareag.com/t/what-is-the-best-practice-to-raw-device/92398/3 "2010-03-15T15:05:14Z")

</div>

Hi,

General hints for raw devices:

1. Use OS command to create raw device, aware of the block size selection. It always depends on your record size

2. Set the permission to raw device (e.g. owner: sag, read-write)

3. Use adabas utility “ADADEV” to initialize the raw device

4. Determine ASSO,DATA,WORK containers blocksize (every I/O is done on block level)

5. Use adabas utility “ADAFRM” to create database

Do you have a real need to go with raw disk ? File system is now just as fast as raw disk than in the past OS and a lot easier to manage.

Regards,  
Tony

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:57pm UTC](https://techcommunity.softwareag.com/t/what-is-the-best-practice-to-raw-device/92398/4 "2021-04-02T14:57:52Z")

</div>

Closed on April 2, 2021, 2:57pm UTC


