Regular, “Old Skool” mechanical spinning hard drives WILL need/require additional external power source support for these drives to work with ANY iPad model.
Mechanical, spinning platter hard drives use too much power and cannot be powered by the just the iPad’s own internal power alone.
If you are using an “old skool” spinning platter mechanical hard drive,
Then, you need to purchase the actual, genuine Apple USB-C Digital Multiport adapter from Apple, and plug that adapter into external power using your iPad charge cable and Apple power/charging block!
https://www.apple.com/shop/product/MUF82AM/A/usb-c-digital-av-multiport-adapter
You NEED TO PURCHASE ONE of THESE EXACT genuine Apple adapter above!!!
That is THE ONLY adapters that work!!
Cheaper ( cheap in price and quality ) third party “knockoff” adapters WILL NOT WORK!!!!
Without the additional power to the iPad, “old skool” mechanical spinning platter hard drives will NOT work with any iPads with the either Lightning connector or USB-C
Neither the Lightning port nor USB-C port, alone, cannot convey the,necessary power requirements needed for older mechanical spinning platter hard drives.
For external power sources, you CAN even use portable, carry-able, rechargeable power banks that can be found everywhere online ( try Amazon ) that can power the iPad and external drives, as well.
In addition the external drive needs to be formatted into one of these file/data formats.
You must use a full Mac or Windows PC computer to do the re-formatting of any external drive to use with iPad/iPhone/iOS/iPadOS.
Any type of drive needs to be formatted with a single partition and format as listed below.
Apple Mac computer native format ( either APFS or HFS+ )
FAT 32
exFAT
Apple Website external drive help links here.
https://support.apple.com/en-gb/guide/ipad/ipad1c415e32/ipados
https://support.apple.com/guide/ipad/external-storage-devices-ipad75b7b23f/14.0/ipados/14.0
Good Luck to You!