January 21, 20233 yr Hi all, How can I identify, via command line, which /dev/sdX1 partition corresponds to the /dev/mdYp1 managed partition? The info is on the WebGUI main page but I need to get that info in the context of a script. Many thanks. OP Edited February 20, 20242 yr by Opawesome
January 21, 20233 yr Author I checked all commands of https://wiki.unraid.net/Console#Console_Commands_for_Hard_Drives as well as the lsblk command, but without any success. Edited January 21, 20233 yr by Opawesome
February 20, 20242 yr Author I am bumping up this because I need an answer to complete my LUKS header restore command/script. That would be useful for the community (not only me). See here:
February 20, 20242 yr Community Expert Solution If you run blkid with the array started it show show the partition/filesystem IDs for all devices, same ID for an md and sd device is the same disk.
February 20, 20242 yr Author Oh man, I spent so much time searching for that in vain. Thank you very much !
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.