You are not logged in.

#1 2015-04-03 12:47:56

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

[SOLVED] How to Find Hard Drives (RAID Array?)

I recently purchased an HP Proliant DL360 G5 rack server (see below):

http://i.imgur.com/0vJuBnH.jpg

I have used Arch Linux to convert desktop computers to LAMP servers many times. I always install on /dev/sda (which is always the hard drive of the machine). However, when I look at fdisk -l on this machine (see below), /dev/sda is my USB drive (the Arch installer) and I see these "loop" and "mapper" devices instead of a hard drive. The server has two 146GB "hot swap" SAS drives.

http://i.imgur.com/hpSstYb.jpg

If I run "df -H" (see below), I find no results that look like my 146GB drives.

http://i.imgur.com/YWipB4N.jpg

When I select "hardware information" in the Arch installer, I see two disks (disk 1 which is the USB stick, and disk 2 which is maybe one of the drives or maybe it's telling me they are in a RAID array in which each one copies the other? This latter guess makes sense to me as a "hot swap" solution.)

http://i.imgur.com/EGsQZMo.jpg

http://i.imgur.com/8OY7fiF.jpg

Anyway, I still don't know how to actually access these drives and install Linux on them. Thanks in advance for your help!



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by tony5429 (2015-04-05 00:49:00)

Offline

#2 2015-04-03 13:37:09

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,381
Website

Re: [SOLVED] How to Find Hard Drives (RAID Array?)

Please change your images to links.

Assuming the server has come with a HP Smart Array controller, the kernel/udev may have loaded the either the cciss or hpsa module for you. If it hasn't loaded either try the hpsa module first.

I recommend that you read up on the modules ('man cciss hpsa'), paying particular attention to how they list various disks.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-04-03 13:39:54

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] How to Find Hard Drives (RAID Array?)

I can't see your images due to coorporate firewall, so I'm running blind here. It sounds like some are just pics of terminal output though, which you should really be posting as text.

Anyway, loop and mapper devices are part of the installer so to speak. If I boot to the January iso on USB with no other disks attached, I see:

# fdisk -l

Disk /dev/sda: 2 GiB, 2074083328 bytes, 4050944 sectors
...
Disk /dev/loop0: 252.9 MiB, 265146368 bytes, 517864 sectors
...
Disk /dev/loop1: 32 GiB, 34359738368 bytes, 67108864 sectors
...
Disk /dev/loop2: 256 MiB, 268435456 bytes, 524288 sectors
...
Disk /dev/mapper/arch_airootfs: 32 GiB, 34359738368 bytes, 67108864 sectors

If you want to just see "raw storage", try "fdisk -l /dev/sd?". "lsblk" may be clearer, and can also be run specifically on "/dev/sd?". OTOH a RAID array may not show up as a /dev/sd_ device...

"df" only shows mounted filesystems.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2015-04-05 00:00:25

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: [SOLVED] How to Find Hard Drives (RAID Array?)

Thanks, WorMzy and alphaniner! The cciss module had loaded automatically and I found the device (/dev/cciss/c0d0) with lsblk. After I knew the name of the device, I was able to install Arch on it with no problem!

Offline

#5 2015-04-05 00:48:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] How to Find Hard Drives (RAID Array?)

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-04-05 00:49:21

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: [SOLVED] How to Find Hard Drives (RAID Array?)

Whoops; thanks. It's done now!

Offline

Board footer

Powered by FluxBB