Concept Flash Directory: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
m (→‎Increasing Flash Directory Space: don't count copy segment)
Line 63: Line 63:
Default settings for the flash directory segments(in number of 64KB segments)
Default settings for the flash directory segments(in number of 64KB segments)
*'''IPxx10''' 128
*'''IPxx10''' 128
*'''IP6000''' 51
*'''IP6000''' 50
*'''IP800''' 51
*'''IP800''' 50
*'''IP30x''' 51
*'''IP30x''' 50
*'''IPVA''' up to 900
*'''IPVA''' up to 900
===Obsolete V8 parameter /max===
===Obsolete V8 parameter /max===

Revision as of 17:48, 12 February 2013

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 is later on about to be removed or lowered, a loss of data will happen.

Default settings for the flash directory segments(in number of 64KB segments)

  • IPxx10 128
  • IP6000 50
  • IP800 50
  • IP30x 50
  • IPVA up to 900

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.