Article 55TFX Why my bash script isn't partitioning the first two disks?

Why my bash script isn't partitioning the first two disks?

by
maheshn0205
from LinuxQuestions.org on (#55TFX)
Hello All,

I'm in a weird situation, I developed a bash script which automatically does the disk partitions based the capacity. I have 62 drivers mix of TB and GB. When I ran the script, it is skipping the first two drivers (/dev/sda and /dev/sdb), rest are getting partitioned. Please see the link for the for the code or file which is attached. Your help is much appreciated.
https://pastebin.com/index/hFrAX6dn

Thank you All.latest?d=yIl2AUoC8zA latest?i=oNyotDtlzAY:NQhyp4vco-s:F7zBnMy latest?i=oNyotDtlzAY:NQhyp4vco-s:V_sGLiP latest?d=qj6IDK7rITs latest?i=oNyotDtlzAY:NQhyp4vco-s:gIN9vFwoNyotDtlzAY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments