mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-20 14:13:27 +03:00
![]() By default the zpool_layout command would always use the slot number assigned by Linux when generating the zdev.conf file. This is a reasonable default there are cases when it makes sense to remap the slot id assigned by Linux using your own custom mapping. This commit adds support to zpool_layout to provide a custom slot mapping file. The file contains in the first column the Linux slot it and in the second column the custom slot mapping. By passing this map file with '-m map' to zpool_config the mapping will be applied when generating zdev.conf. Additionally, two sample mapping have been added which reflect different ways to map the slots in the dragon drawers. |
||
---|---|---|
.. | ||
zpios-profile | ||
zpios-test | ||
zpool-config | ||
zpool-layout | ||
common.sh.in | ||
Makefile.am | ||
Makefile.in | ||
zconfig.sh | ||
zfs.sh | ||
zpios-sanity.sh | ||
zpios-survey.sh | ||
zpios.sh | ||
zpool-create.sh |