LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-06-2012, 01:15 PM   #1
joshualan
LQ Newbie
 
Registered: Jun 2012
Posts: 7

Rep: Reputation: Disabled
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?

Last edited by joshualan; 06-06-2012 at 01:32 PM.
 
Old 06-12-2012, 10:45 AM   #2
joshualan
LQ Newbie
 
Registered: Jun 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.

Last edited by joshualan; 06-12-2012 at 10:46 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Numbers for SAS drives in RedHat ES 4.0 & 5.1 QuietLeni Linux - Hardware 8 02-19-2013 05:52 AM
What is the Linux device name for a RAID of SAS drives? galapogos Linux - Hardware 8 12-09-2010 01:25 AM
Installation on P6T6 WS Revolution SAS Drives Ja5 Slackware 15 06-02-2010 04:31 PM
Very Poor Disk Performance SAS 15000 RPM Drives JustinK101 Linux - Newbie 4 07-02-2008 07:57 PM
No Drives found with Proliant ML 310 G4 with SAS on RHEL4 dambert Linux - Hardware 3 02-08-2007 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration