# Accessing Spare Disks

**URL:** <https://forums.rockylinux.org/t/accessing-spare-disks/7199>\
**Category:** Documentation\
**Created:** [September 10, 2022, 10:06pm UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199 "2022-09-10T22:06:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![latinhawk](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@latinhawk](https://forums.rockylinux.org/u/latinhawk)\
**Post date:** [September 10, 2022, 10:06pm UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199/1 "2022-09-10T22:06:12Z")

</div>

I just installed Rocky 9 on a newly acquired HP Proliant Dl360p. My first attempt at a server. I used 4 drives in an lvm and left 4 drives as spare with the intention of using them for storage independent of the lvm used for the system. I have made many searches but can’t find any information addressing my situation. Any and all help will be greatly appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [September 11, 2022, 10:05am UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199/2 "2022-09-11T10:05:20Z")

</div>

The first question is what _block devices_ does your system see? You get answer to that with `lsblk`

The default output format of lsblk does not tell everything. IMHO, more useful columns come with:

```nohighlight
lsblk -o name,size,type,fstype,uuid,mountpoints

```

A disk has _partition(s)_, partition has _filesystem_, and OS _mounts_ filesystem to mountpoint.  
The rules of what to mount where are mainly in `/etc/fstab`.  
Look at that file and the output of lsblk; The {uuid, mountpoint, fstype} triplets should match.

In your case some partition(s) do not have filesystem directly. Partition has PV – _LVM physical volume_.  
One or more PV belong to a VG – _LVM volume group_.  
Within VG there are LVs – _LVM logical volumes_. A LV contains a filesystem.

While the lsblk tells quite a lot, more LVM details you can get with `pvs`, `vgs`, and `lvs`.

You said that you did use 4 drives. You probably do now have at least one filesystem that spans multiple drives (because LVM makes that possible). There comes the risk that what if one of the drives breaks? (Being in one drive has that same risk; _the_ drive can break.) A usual mitigation is to have reduncancy, e.g. RAID-1 (aka mirror), RAID-5, or RAID-6. LVM might offer some equivalents to those. Redundancy obviously reduces space that is available for data.

That said, a basic procedure would be to create partitioning (with ‘gdisk’), create filesystem(s) (with ‘mkfs’), and update /etc/fstab to mount the new filesystems on boot. If you want RAID and/or LVM, then there are additional steps (before creation of filesystem).

---

<div class="post-metadata">

**Author:** ![Xino](https://avatars.discourse-cdn.com/v4/letter/x/fbc32d/32.png) [@Xino](https://forums.rockylinux.org/u/Xino)\
**Post date:** [September 11, 2022, 2:22pm UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199/3 "2022-09-11T14:22:10Z")

</div>

I do not agree [jlehtone](https://forums.rockylinux.org/u/jlehtone).  
The first question should be - Will a crystal ball be enough to know the full specification of HP Proliant Dl360p and generation.  
And then if there is a RAID controller (probably there is) how is it configured to present to OS the disk.  
And only then can one guess where they are lost and/or why.

---

<div class="post-metadata">

**Author:** ![latinhawk](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@latinhawk](https://forums.rockylinux.org/u/latinhawk)\
**Post date:** [September 11, 2022, 2:39pm UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199/4 "2022-09-11T14:39:06Z")

</div>

You are on the right path. I didn’t want to use the hardware controller but didn’t know how to get around that. I have 8 drives. I used the hardware controller to make a logical drive from the first 4 drives hoping that the other 4 would be available for using them separately. I haven’t loaded anything of consequence so I can start over with some guidance.

---

<div class="post-metadata">

**Author:** ![latinhawk](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@latinhawk](https://forums.rockylinux.org/u/latinhawk)\
**Post date:** [September 11, 2022, 3:03pm UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199/5 "2022-09-11T15:03:17Z")

</div>

HP ProLiant DL360p Gen8 1U RackMount 64-bit Server with 2×6-Core E5-2640 Xeon 2.5GHz CPUs + 64GB PC3-10600R RAM + 8×300GB 10K SAS SFF HDD, P420i RAID, 4×GigaBit NIC, 2×Power Supplies

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [September 11, 2022, 3:08pm UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199/6 "2022-09-11T15:08:20Z")

</div>

To use the other disks individually, you will need to configure that under the hardware controller accordingly as well. I have a DL360 Gen8 and also had to do something similar recently. So you basically just select one disk and repeat 4 times instead of selecting multiple disks to create a raid config.

---

<div class="post-metadata">

**Author:** ![Xino](https://avatars.discourse-cdn.com/v4/letter/x/fbc32d/32.png) [@Xino](https://forums.rockylinux.org/u/Xino)\
**Post date:** [September 11, 2022, 3:28pm UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199/7 "2022-09-11T15:28:12Z")

</div>

Want to bypass the controller?  
And why is money given for it?  
Once available use it.  
You say you are learning and this is your first server.  
Okay, but at least theoretically learn what it is “redundant array of independent disks” (RAID)  
Then your available controller  
That way you’ll know what you’re doing. I.e. you know what you want to happen, and you will try to make it happen.  
Personally, I don’t like HP servers as a closed configuration.  
How can I help from the information provided?  
SAS drives without a controller are basically impossible to use in this MB and chassis.  
By default, additional spare disks associated with the array are invisible and inaccessible from OS  
with 8 disks you can make the following configurations:  
RAID1, RAID1+E, RAID5, probably RAID6 or RAID10  
After BIOS select and enter the controller interface.  
Configure the disks and associate them in the array with your preferred configuration.  
(for example 6 disks = RAID6 + 2 disk hot spare)

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:40am UTC](https://forums.rockylinux.org/t/accessing-spare-disks/7199/8 "2023-08-25T03:40:38Z")

</div>


