Skip to content

Commit 427aa99

Browse files
committed
Document LargeBlockSR creation
Signed-off-by: Damien Thenot <[email protected]>
1 parent 01046c2 commit 427aa99

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/storage/storage.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,21 @@ For the full discussion about Ceph in XCP-ng, see this forum thread: [https://xc
569569
* Do not use admin keyring for production, but make a separate key with only necessary privileges [https://docs.ceph.com/en/latest/rados/operations/user-management/](https://docs.ceph.com/en/latest/rados/operations/user-management/)
570570
:::
571571

572+
### LargeBlock SR
573+
574+
:::warning
575+
Largeblock SR is a workaround for 4KiB disks not working on VDI creation with normal SR types.
576+
:::
577+
578+
To create a LargeBlock SR, the same parameters needed for a EXT SR are needed with the SR type changed to `largeblock`.
579+
580+
```
581+
xe sr-create host-uuid=<host UUID> type=largeblock content-type=user name-label="Local largeblock" device-config:device=/dev/sdaX
582+
```
583+
584+
The largeblock SR creates a translation layer to align the device on 512 sector size using a loop device and creates a EXT SR on this emulated device.
585+
It's needed to work around an issue with VHD alignment that creates an error on VHD creation on the native 4KiB device.
586+
572587
## 💿 ISO SR
573588

574589
You might be wondering how to upload an ISO. Unlike other solutions, you need to create a dedicated "space" for these, a specific ISO SR. To create an ISO SR, you have 2 possibilities:

0 commit comments

Comments
 (0)