# Provision UFS device Provisioning refers to the process of creating and defining LUNs on a new UFS device. A UFS device has one or more logical units. A logical unit is an independent processing entity within the device. Each logical unit has an address within the UFS device called a Logical Unit Number (LUN). The configuration file for provisioning is at `

`bNumberLU` does not include well-known logical units | | `bBootEnable` | Indicates whether the device is enabled for boot:
| | `bDescrAccessEn` | Indicates whether the Device Descriptor can be read after the partial initialization phase of the boot sequence:
| | `BInitPowerMode` | Defines the Power Mode after device initialization or hardware reset:
| | `bHighPriorityLUN` | Defines the high-priority logical unit | | `bSecureRemovalType` | | | `bConfigDescrLock` | | Note - To reprovision the UFS device, set `bConfigDescrLock="0"`. This parameter is part of the provision XML file. - To prevent reprovisioning, set `bConfigDescrLock="1"` after the UFS device configuration and provisioning is finalized. UFS device LUN parameters description | Parameter | Description | | --- | --- | | `LUNum` | Logical Unit Number | | `bLUEnable` | Enables/disables the logical unit:
| | `bBootLunID` | Boot LUN ID:
| | `size_in_kb` | Specifies LUN size in KBs | | `bLUWriteProtect` | Logical Unit Write Protect:
| | `bMemoryType` | Defines logical unit memory type:
| | `bProvisioningType` | Provisioning type
| ## UFS device partition layout The default UFS device provisioning creates eight LUNs (LUN0 to LUN7). - The Linux data and all Linux file system images are stored in LUN0. - Boot well-known LUN (WLUN) 0xB0 alternates between LUN1 and LUN2 to provide a fail-safe backup for the XBL. - The rest of the boot chain is stored in LUN4. - The LUN6 and LUN7 are unused by default. **Default UFS device layout** Last Published: Jun 22, 2026 [Previous Topic Configure SDHCI (eMMC and SD card internal) Linux kernel device tree](https://docs.qualcomm.com/bundle/publicresource/80-70030-6/topics/linux-device-tree.md) [Next Topic Customize storage features](https://docs.qualcomm.com/bundle/publicresource/80-70030-6/topics/customize.md)