LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SAS Drives Showing Up as 0 Memory (https://www.linuxquestions.org/questions/linux-hardware-18/sas-drives-showing-up-as-0-memory-948856/)

joshualan 06-06-2012 01:15 PM

SAS Drives Showing Up as 0 Memory
 
I have a couple of SAS drives attached using an LSI SAS 3801E HBA. They appear in /dev as sdb, sdc, sdd, and sde (I'm pretty sure these are the drives since when I disconnect the SAS cable, they disappear).

However, when I try to write some 0's on them like so:

cat /dev/zero > /dev/sdb

I get an error saying no space left on device. What could be causing this?

EDIT:
I tried using fdisk /dev/sdc and I get an error:

"Unable to read /dev/sdc"

Is this a driver problem?

joshualan 06-12-2012 10:45 AM

Fixed!
 
Problem was that the format was 520B sector sizes instead of 512B. All machines only take in 512B so that's obviously an error.

I downloaded sg_utils and used the sg_format command. You'll need to reset the connection to the hard drive to see the new format though. All the stuff will be gone though.

Alternatively, you could put it in a DPE and the storage processors could handle it fine.


All times are GMT -5. The time now is 04:52 PM.