Re: Direct disk access on IBM Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19 April 2011 15:04, David Brown <david@xxxxxxxxxxxxxxx> wrote:
> On 19/04/2011 15:25, Mathias BurÃn wrote:
>>
>> On 19 April 2011 14:21, David Brown<david@xxxxxxxxxxxxxxx> Âwrote:
>>>
>>> I have recently got an IBM x3650 M3 server, which has a "Serveraid M5014"
>>> raid controller. ÂBooting from a Linux CD (system rescue CD) and running
>>> lspci identifies this raid controller as:
>>>
>>> LSI Logic/Symbus Logic Megaraid SAS 2108 [Liberator] (rev 03)
>>>
>>> The controller works fine for hardware raid - I can open its bios setup
>>> utility, and set up a RAID5 (or whatever) with the disks I have. ÂThe OS
>>> then just sees a single virtual disk.
>>>
>>> But I would like direct access to the sata drives - I want to set up
>>> mdadm
>>> raid, under my own control. ÂAs far as I can see, there is no way to put
>>> this controller into "JBOD" or "direct access" mode of any sort.
>>>
>>> Does anyone here have experience with this card, or can give me any
>>> hints?
>>>
>>> The only idea I have at the moment is to put each disk within its own
>>> single-disk RAID 0 set, but then I don't get sata hot-swap functionality,
>>> SMART, hddtemp, etc.
>>>
>>> Thanks for any clues or hints,
>>>
>>> David
>>>
>>
>> Regarding SMART, could you try (after loading the appropriate
>> megaraid/megasas module) hdparm -a -d megaraid,$I /dev/sda , where $I
>> is a number between 0 and 31 IIRC (depending on the HDD in the array).
>>
>
> Are you sure about the syntax for that command? ÂTrying that with "0" for $I
> just gives me "megaraid,0: No such file or directory". ÂAs far as I can see,
> the megaraid module is loaded (lsmod shows "megaraid_sas" in the modules
> list).
>
> Thanks anyway,
>
> David
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
>

>From the smartctl man page:

         Under Linux , to look at SCSI/SAS disks behind LSI MegaRAID
controllers, use syntax such as:
              smartctl -a -d megaraid,2 /dev/sda
              smartctl -a -d megaraid,0 /dev/sdb
              where  in the argument megaraid,N, the integer N is the
physical disk number within the MegaRAID controller.  This interface
will also work for Dell PERC controllers.  The followâ
              ing /dev/XXX entry must exist:
              For PERC2/3/4 controllers: /dev/megadev0
              For PERC5/6 controllers: /dev/megaraid_sas_ioctl_node

Maybe you can experiment some with that. Regards,
M
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux