CentOS 7 Installation - No Local Disks detected

General support questions
Post Reply
rohan7
Posts: 15
Joined: 2019/11/13 11:45:34

CentOS 7 Installation - No Local Disks detected

Post by rohan7 » 2020/01/14 12:22:25

I know this issue has been posted quite a lot on the forum but I am still having issues during installation where local disks are not detected.

Boot mode is set to UEFI and SATA setting in BIOS is set to AHCI.

Attached is the output of

Code: Select all

lsblk
Image

Running

Code: Select all

dmraid -r -E /dev/sda
and

Code: Select all

dmraid -r -E /dev/sdb
results in ERROR - ERROR -ERROR

Any ideas what could be wrong here? These disks initially had Ubuntu installed on them.
Attachments
IMG_2002.JPG
IMG_2002.JPG (157.44 KiB) Viewed 338 times

rohan7
Posts: 15
Joined: 2019/11/13 11:45:34

Re: CentOS 7 Installation - No Local Disks detected

Post by rohan7 » 2020/01/14 13:40:58

Looks like DMRAID was setup and hence the disks were not showing during installation. Performed the following and the issue is now fixed,

Code: Select all

DEVICE=/dev/sda
# dd if=/dev/zero of=$DEVICE bs=512 seek=$(( $(blockdev --getsz $DEVICE) - 1024 )) count=1024
Did the same for

Code: Select all

/dev/sdb

Code: Select all

dmraid -r

Code: Select all

no raid disks

Post Reply