LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 04-11-2005, 11:22 AM   #1
Beebe
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Rep: Reputation: 0
Batch File for format? Bulk Formatting


Hi

We currently use Solaris 8 to format an array of 56 drives via a fibre channel card.

This is a very manual process.. it involves opening a console, typing format. This then gives a list of all 56 drives with a number.

We then have to enter the number of the drive. then we have to type format, then y.

That then starts formatting the drive we have chosen. We have to repeat this 56 times in individual windows!

Do you know if there is any way of writing a batch file or script that can automate this process? or point me in the right direction?

Maybe theres a program we can use to do this instead?

Any advice would be much appreciated.

Paul
 
Old 04-12-2005, 04:03 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,157

Rep: Reputation: 238Reputation: 238Reputation: 238
Isn't the format (1M) command supporting the "-f" option to allow non-interactive operation ?
 
Old 04-12-2005, 05:07 AM   #3
Beebe
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jlliagre
Isn't the format (1M) command supporting the "-f" option to allow non-interactive operation ?
Thanks for the reply, I am really not sure as I am a newbie to all this. Ill see what I can do... Any more suggestions would be grateful.

Thanks

Paul
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting external harddrive to Linux format DJOtaku Linux - Hardware 12 02-05-2005 09:18 PM
convertion from doc file to pdf in bulk sujith_deva General 6 12-09-2004 11:20 PM
Bulk change image format apokryphos Linux - General 11 09-06-2004 04:17 PM
Bulk File Renaming nevereverend Linux - Newbie 11 07-03-2004 05:28 PM
Bulk image format conversions with a shell script? infidel Linux - Software 4 11-16-2003 07:20 PM


All times are GMT -5. The time now is 07:12 AM.

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
Open Source Consulting | Domain Registration