Start a Conversation

Solved!

Go to Solution

1 Rookie

 • 

2 Posts

42

May 19th, 2024 08:16

Adding a physical drive to my raid 5

I have added an additional physical disk my PowerEdge 650 server.

After the disk was ready i logged into the IDRAC and added it to the existing raid and started the reconstruction which took about 24 hours to complete fully.

The drive is now showing to be part of the raid 5 and the size of the raid on IDRAC includes the new disk.

However on the server itself the drive size is the same as before, i am not sure which command i should run to tell the OS to "rescan" the raid to be able to use the new space that was added.

LVextend will not work as the virtual drive seems to be stuck on the old size, i am assuming i will need to use something like fdisk or pvresize but am not sure and do not want to cause harm to the existing data on the raid.

What is the correct way to let the OS know the drive is now bigger so i can use it within my LVM?

1 Rookie

 • 

2 Posts

May 19th, 2024 08:53

OK i think i have this figured out.

Need to rescan the drive in my case sda

`echo 1 | sudo tee /sys/class/block/sda/device/rescan >/dev/null`

Then use fdisk to remake the partition holding the LVM to use all available sectors.

Then use pvresize which will increase the PV size and from here on its the usual lvextend

(edited)

No Events found!

Top