To view the current mount order, use the
hcl devorder printcommand. For example:# hcl devorder print Disk | Path | Clear | Cipher | auto_attach | mntpt | mntopts -------------------------------------------------------------------------------- sdb1 | /dev/sdb1 | /dev/mapper/clear_sdb1 | AES-XTS-512 | ENABLED | my_mountpoint | -t ext4 -o ro,noatime sdb4 | /dev/sdb4 | /dev/mapper/clear_sdb4 | AES-XTS-512 | ENABLED | mount4 | -o rw sdc3 | /dev/sdc3 | /dev/mapper/clear_sdc3 | AES-XTS-512 | ENABLED | |
To change the mount order, use the
hcl devorder up|down disknamecommand, wheredisknameis the short form of the device name andupordownmoves the device one position in the specified direction. For example, to movesdc3to the top of the list, you need to use thedevorder up sdc3command twice:# hcl devorder up sdc3 Device re-order: move device sdc3 UP Successfully changed order of device sdc3 # hcl devorder up sdc3 Device re-order: move device sdc3 UP Successfully changed order of device sdc3 # hcl devorder print Disk | Path | Clear | Cipher | auto_attach | mntpt | mntopts -------------------------------------------------------------------------------- sdc3 | /dev/sdc3 | /dev/mapper/clear_sdc3 | AES-XTS-512 | ENABLED | | sdb1 | /dev/sdb1 | /dev/mapper/clear_sdb1 | AES-XTS-512 | ENABLED | my_mountpoint | -t ext4 -o ro,noatime sdb4 | /dev/sdb4 | /dev/mapper/clear_sdb4 | AES-XTS-512 | ENABLED | mount4 | -o rw