LinuxQuestions.org
Register a domain and help support LQ
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 01-27-2004, 02:34 AM   #1
JustinCase
LQ Newbie
 
Registered: Jan 2004
Location: I'm right here
Distribution: Aurora 1.0 & RedHat 9.0
Posts: 4

Rep: Reputation: 0
How do I low-level format a SCSI drive on Aurora Sparc Linux v1.0?


I've had nothing but trouble trying to find/get certain programs to run on my SparcStation 20 running Aurora Linux v1.0 but this takes the cake.

I acquired an 18 GB drive from a RAID array that I thought would work just fine to augment my measly 2.16 GB drive. After I resolved configuration issues like SCSI ID's and such, I found out that the drive was formatted with an unsupported sector size of 520. I figured it wasn't a big deal, that I'll just re-format it-- low-level style.

Well, I searched high and low for a tool to perform this task, and I only came up with two viable choices: SCSI Command Utility (scu) and scsitools. My problem is that neither run under the Sparc port of Linux.

Does anybody know of a method to low-level format SCSI drives under Sparc Linux?

I have no access to any other SCSI-enabled boxes, so formatting it in a different box isn't an option-- yet. I'm sure this would probably be the easiest solution but I don't wanna go there unless it's necessary.

I know it probably doesn't matter much pertaining to my question, but here's the pertinent system info:

SparcStation 20
256 MB RAM
2 x 60 MHz CPUs
2.4.20-2.3sparcsmp kernel
IBM DCAS-32160 2.16 GB drive
IBM DNES-318350 18 GB drive

Any insight will be greatly appreciated! Thanks!!!
 
Old 01-27-2004, 03:07 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,805

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
I'm not sure how true this but, I have read that low level formating should only be accomplished on the same controller that the drive is connected to.

In the past I've only used the low level formating utility of the SCSI controller i.e. Adaptec.
 
Old 01-28-2004, 09:34 AM   #3
JustinCase
LQ Newbie
 
Registered: Jan 2004
Location: I'm right here
Distribution: Aurora 1.0 & RedHat 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
I understand that, but doesn't most drives come pre-formatted from the factory? If so, how does the manufacturer know which controller you're gonna plug the drive into??!?

I guess my next question is this: how difficult is it to setup Solaris binary emulation under Linux?

If worse comes to worse, I guess I'm gonna haveta install Solaris so I can effectively run the scu utility suite, then reinstall Linux.
 
Old 03-02-2004, 11:22 PM   #4
JustinCase
LQ Newbie
 
Registered: Jan 2004
Location: I'm right here
Distribution: Aurora 1.0 & RedHat 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Well, I low-level formatted my drive by installing Solaris and running the SCSI Command Utility (scu), available here:

http://www.bit-net.com/~rmiller/scu.html

This program runs on several platforms listed below. I obtained the desired results with this program and you may too.

scu runs on: Linux Alpha, Linux Intel, Linux IA64, Windows/NT, SCO UnixWare 7.1, SCO UnixWare 7.0.1, HP-UX IA64, HP-UX PA-RISC, Solaris Intel, Solaris Sparc.

Read the documentation thoroughly before running this program, as with any program that mucks with your hard drive(s).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Low-level format under Linux with an AHA-1522 rcase5 Linux - Hardware 2 04-12-2005 02:33 PM
Low Level format a Compact Flash ? K@rl` Linux - Hardware 4 09-07-2004 08:05 AM
Windows partition has bad sectors. Will 'dd' work in place of low level format? gkneller Linux - Software 5 02-26-2004 11:35 PM
format an external scsi drive on linux Doyle Linux - Hardware 1 11-19-2003 02:02 PM
Perform low level format of a floppy disk in C juby Programming 4 01-09-2003 07:47 PM


All times are GMT -5. The time now is 02:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration