Adding a physical disk to Centos 6.7

David Aldridge
David Aldridge used Ask the Experts™
I have an HP DL380 server with 6 72.8GB drives.  I mirrored 2 drives for the system.  I just added the other 4 at RAID 0 for a 288GB data drive.  These drives were created with the on-board hardware array.  The system came up just fine on the mirrored system drive.  How do I find/format/add the 288GB drive that I left for data?  I can't figure it out.  I've been working on Solaris for quite a few years and just can't figure this one out.  It must be something easy.  I did a MINIMAL install on this server so maybe I need to add an application or something.

Any help will be greatly appreciated!
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sr. Systems Administrator
do you see the drive when you do fdisk -l ?

the first drive (raid 1) might appear as /dev/sda and you should see the second one as /dev/sdb
if you see it there, you need to create a partition

fdisk /dev/sdb
n (for new)
p (for primary)
1 (partition 1)
press enter twice to accept the defaults for starting and ending cylinders (to use the entire disk for 1 partition)
w (write; save changes)

then you need to format. if you plan to use ext4, then do this

mkfs.ext4 /dev/sdb1


Perfect, thank you!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial