# Storage **Namespace** : alphayax\freebox\api\v3\services\Storage # Overview - [Disk](Storage.md#Disk) - [Partition](Storage.md#Partition) ## Disk **Class** : alphayax\freebox\api\v3\services\Storage\Disk ### Public methods | Method | Description | |---|---| | `getAll` | Get the list of disks | | `getFromId` | Get a given disk info | | `update` | Update a disk state | | `format` | Format the disk with the given id There will be one partition using all the available space on disk. All previous data will be lost. | ## Partition **Class** : alphayax\freebox\api\v3\services\Storage\Partition ### Public methods | Method | Description | |---|---| | `getAll` | Get the list of partitions | | `getFromId` | Get a given partition info | | `check` | Checks the partition with the given id *NOTE* once started you can monitor the fsck process getting the partition information |