You cannot guess this number, as it doesn't always start at 0. Use the storcli (or older MegaCli ) utility to find the (Device ID). Command : sudo storcli /c0 /eall /sall show
Here, N represents the disk number within the MegaRAID controller. You cannot guess this number, as it doesn't