Concept Flash Directory

From innovaphone wiki
Revision as of 16:20, 12 February 2013 by Inno-mst (talk | contribs) (New page: The flash directory is a software module on top of the flash management module. It serves firmware-internally as a database offering an LDAP-like API. ==Applies To== This information appl...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The flash directory is a software module on top of the flash management module. It serves firmware-internally as a database offering an LDAP-like API.

Applies To

This information applies to

  • innovaphone PBXs, V9


More Information

+-------+ +-------------+ | | | | | PBX | | LDAP Server | +-------+ +-------------+ | | | | | | | +-----------------+ | +---| |----+

   | Flash Directory |
   +-----------------+
           |
           |

|

   +---------------+
   |               |
   | Flash Manager |
   +---------------+

Above: Illustration of the flash directory residing in between its applications and the flash manager.

Investigating Flash Directory Space

The current assignment of the available space for the flash directory can be investigated by issuing the following command towards the flash manager. mod cmd FLASHMAN0 info

The output may look as follows bottom 0xfe020000 base 0xfe020000 top 0xfffc0000 segsize 0x20000 segments 253 LDAP - used 6944k avail 87k owned 7040k (max 9728k) VARS - used 10k avail 90k owned 128k (max 256k)

 ...

Within the above excerpt the line beginning with LDAP shows the flash directory's utilization of flash space.

  • used 6944k tells how much payload is effectively in use
  • avail 87k tells how much space is available within the current 64KB segment. I.e. this value does not tell how much overall space is remaining.
  • owned 7040k tells how much space is occupied by the payload plus space that wasn't freed, yet
  • max 9728k tells how much space would be available as maximum

Increasing Flash Directory Space

Warning: The procedure described here shall always be applied after consulting the innovaphone support.

If for whatever reason the available space for the flash directory doesn't suffice the following tweak may help: config change FLASHDIR0 /seg <number-of-64KB-segments> Where <number-of-64KB-segments> is a number, denoting the available space in multiples of 64KB. Note: If the /seg parameter was once specified and about to be removed or lowered later on, a loss of data will happen

Obsolete V8 parameter /max

Within version 8 an additional parameter /max allowed to specify the maximum amount of object entries within the flash directory. E.g. as follows config change FLASHDIR0 /seg 80 /max 14000 This parameter /max has been deprecated from on version 9, where's no such limit in a practical sense.

IPVA Aspects

This procedure shouldn't be applied into an IPVA. The IPVA increases the /seg parameter automatically depending on the available RAM.