Re: [Linux-PowerEdge] replacing a failed hard drive with PERC HBA mode

2017-08-10 Thread Tim Mooney
In regard to: Re: [Linux-PowerEdge] replacing a failed hard drive with PERC...:

> Does the H710 support HBA mode? I thought it wasn't until the PERC9 series
> that HBA mode was supported.

I'm fairly certain it's in HBA mode.  It reports "User Mode" in the iDRAC
7 web interface, when looking at the controller view.

> If that's the case, you probably just have to create a RAID0 virtual disk
> with the single drive. I guess you could confirm by seeing if you have any
> other virtual disks listed in the storage section of the iDRAC.

There are 3 other vdisks listed in the "Storage->Virtual Disks" section
of the iDRAC7 interface: vdisk0, vdisk2, and vdisk3.  It's vdisk1 that
I'm trying to get to appear.

Scott Kingston's response gave me enough information to confirm that
iDRAC 7 does not support creating a vdisk via that interface, so right
now I'm looking at the remote access options via other tools.

Thanks!

Tim

> On Wed, Aug 9, 2017 at 6:14 PM, Tim Mooney  wrote:
>
>>
>> Hi All!
>>
>> I need to replace a hard drive in a Dell R720 that's running RHEL 6.9.
>> The problem is that the replacement drive shows up as "Ready" in the
>> physical disks area of iDRAC, instead of "Online".  It does not
>> automatically show up as a vdisk in the virtual disks area.
>>
>> The PERC H710 mini is in HBA mode, not RAID mode, so it's not handling
>> the mirroring.  That's being done at the OS level with Linux's mdadm.
>>
>> This hard drive is part of an mdadm RAID1.  The drive failed completely,
>> so mdadm failed each of the partitions out of the individual MD devices.
>> I removed the failed MD components and then forced the OS to forget about
>> /dev/sdb, with
>>
>> # echo 1 > /sys/block/sdb/device/delete
>>
>> I pulled the failed hard drive from the hot-swap bay, installed the Dell
>> replacement drive in the carrier, and inserted the replacement hard drive
>> into the bay.  The drive LED blinked and went green, and iDRAC shows the
>> physical disk as "Ready", instead of "Online", and the replacement is
>> missing completely from the vdisk area.
>>
>> The OS did not auto-detect a hard drive being added to the bus, and even
>> a rescan via
>>
>> # echo '- - -' > /sys/class/scsi_host/host0/scan
>>
>> does not trigger it to recognize the replacement drive is there.  I'm
>> guessing that's because I need to do something at the PERC/iDRAC/Lifecycle
>> level to get the drive to switch to "Online" and make it a vdisk.
>>
>> How do I go about doing that?
>>
>> We do not currently have any Dell OS-level RPMs installed, so no omsa or
>> srv-admin or whatever.  After being on this list for a couple of years,
>> my confidence in those tools is extremely limited.
>>
>> It seems like 'megaclisas' might be able to help, but I have been
>> completely unable to find a working link to that tool, after the
>> LSI->Avago->Broadcomm transition.  If anyone has a working link to get
>> it, I would appreciate seeing it.
>>
>> Could 'racadm' via ssh perform the necessary magic to get this drive so
>> that the PERC is presenting it as a disk to the OS?  Is there something
>> easier than that, that also doesn't require a huge mess of questionable
>> Dell RPMs be installed?
>>
>> Any suggestions are much appreciated,
>>
>> Tim
>> --
>> Tim Mooney tim.moo...@ndsu.edu
>> Enterprise Computing & Infrastructure  701-231-1076
>> (Voice)
>> Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
>> North Dakota State University, Fargo, ND 58105-5164
>>
>> ___
>> Linux-PowerEdge mailing list
>> Linux-PowerEdge@dell.com
>> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>>
>

-- 
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge


Re: [Linux-PowerEdge] replacing a failed hard drive with PERC HBA mode

2017-08-10 Thread Artit Jirapatnakul
Hi,

Does the H710 support HBA mode? I thought it wasn't until the PERC9 series
that HBA mode was supported.

If that's the case, you probably just have to create a RAID0 virtual disk
with the single drive. I guess you could confirm by seeing if you have any
other virtual disks listed in the storage section of the iDRAC.

Art

On Wed, Aug 9, 2017 at 6:14 PM, Tim Mooney  wrote:

>
> Hi All!
>
> I need to replace a hard drive in a Dell R720 that's running RHEL 6.9.
> The problem is that the replacement drive shows up as "Ready" in the
> physical disks area of iDRAC, instead of "Online".  It does not
> automatically show up as a vdisk in the virtual disks area.
>
> The PERC H710 mini is in HBA mode, not RAID mode, so it's not handling
> the mirroring.  That's being done at the OS level with Linux's mdadm.
>
> This hard drive is part of an mdadm RAID1.  The drive failed completely,
> so mdadm failed each of the partitions out of the individual MD devices.
> I removed the failed MD components and then forced the OS to forget about
> /dev/sdb, with
>
> # echo 1 > /sys/block/sdb/device/delete
>
> I pulled the failed hard drive from the hot-swap bay, installed the Dell
> replacement drive in the carrier, and inserted the replacement hard drive
> into the bay.  The drive LED blinked and went green, and iDRAC shows the
> physical disk as "Ready", instead of "Online", and the replacement is
> missing completely from the vdisk area.
>
> The OS did not auto-detect a hard drive being added to the bus, and even
> a rescan via
>
> # echo '- - -' > /sys/class/scsi_host/host0/scan
>
> does not trigger it to recognize the replacement drive is there.  I'm
> guessing that's because I need to do something at the PERC/iDRAC/Lifecycle
> level to get the drive to switch to "Online" and make it a vdisk.
>
> How do I go about doing that?
>
> We do not currently have any Dell OS-level RPMs installed, so no omsa or
> srv-admin or whatever.  After being on this list for a couple of years,
> my confidence in those tools is extremely limited.
>
> It seems like 'megaclisas' might be able to help, but I have been
> completely unable to find a working link to that tool, after the
> LSI->Avago->Broadcomm transition.  If anyone has a working link to get
> it, I would appreciate seeing it.
>
> Could 'racadm' via ssh perform the necessary magic to get this drive so
> that the PERC is presenting it as a disk to the OS?  Is there something
> easier than that, that also doesn't require a huge mess of questionable
> Dell RPMs be installed?
>
> Any suggestions are much appreciated,
>
> Tim
> --
> Tim Mooney tim.moo...@ndsu.edu
> Enterprise Computing & Infrastructure  701-231-1076
> (Voice)
> Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164
>
> ___
> Linux-PowerEdge mailing list
> Linux-PowerEdge@dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>
___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge


[Linux-PowerEdge] replacing a failed hard drive with PERC HBA mode

2017-08-09 Thread Tim Mooney

Hi All!

I need to replace a hard drive in a Dell R720 that's running RHEL 6.9.
The problem is that the replacement drive shows up as "Ready" in the
physical disks area of iDRAC, instead of "Online".  It does not
automatically show up as a vdisk in the virtual disks area.

The PERC H710 mini is in HBA mode, not RAID mode, so it's not handling
the mirroring.  That's being done at the OS level with Linux's mdadm.

This hard drive is part of an mdadm RAID1.  The drive failed completely,
so mdadm failed each of the partitions out of the individual MD devices.
I removed the failed MD components and then forced the OS to forget about
/dev/sdb, with

# echo 1 > /sys/block/sdb/device/delete

I pulled the failed hard drive from the hot-swap bay, installed the Dell
replacement drive in the carrier, and inserted the replacement hard drive
into the bay.  The drive LED blinked and went green, and iDRAC shows the
physical disk as "Ready", instead of "Online", and the replacement is
missing completely from the vdisk area.

The OS did not auto-detect a hard drive being added to the bus, and even
a rescan via

# echo '- - -' > /sys/class/scsi_host/host0/scan

does not trigger it to recognize the replacement drive is there.  I'm
guessing that's because I need to do something at the PERC/iDRAC/Lifecycle
level to get the drive to switch to "Online" and make it a vdisk.

How do I go about doing that?

We do not currently have any Dell OS-level RPMs installed, so no omsa or
srv-admin or whatever.  After being on this list for a couple of years,
my confidence in those tools is extremely limited.

It seems like 'megaclisas' might be able to help, but I have been
completely unable to find a working link to that tool, after the
LSI->Avago->Broadcomm transition.  If anyone has a working link to get
it, I would appreciate seeing it.

Could 'racadm' via ssh perform the necessary magic to get this drive so
that the PERC is presenting it as a disk to the OS?  Is there something
easier than that, that also doesn't require a huge mess of questionable
Dell RPMs be installed?

Any suggestions are much appreciated,

Tim
-- 
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge