LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
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
 
Thread Tools
Old 04-11-2005, 12:22 PM   #1
Beebe
LQ Newbie
 
Registered: Apr 2005
Posts: 13
Thanked: 0
Batch File for format? Bulk Formatting


[Log in to get rid of this advertisement]
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
Beebe is offline     Reply With Quote
Old 04-12-2005, 05:03 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris, under a rock ...
Distribution: Solaris & OpenSolaris based distros, Ubuntu
Posts: 8,137
Thanked: 86
Isn't the format (1M) command supporting the "-f" option to allow non-interactive operation ?
jlliagre is offline     Reply With Quote
Old 04-12-2005, 06:07 AM   #3
Beebe
LQ Newbie
 
Registered: Apr 2005
Posts: 13
Thanked: 0

Original Poster
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
Beebe is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Formatting external harddrive to Linux format DJOtaku Linux - Hardware 12 02-05-2005 10:18 PM
convertion from doc file to pdf in bulk sujith_deva General 6 12-10-2004 12:20 AM
Bulk change image format apokryphos Linux - General 11 09-06-2004 05:17 PM
Bulk File Renaming nevereverend Linux - Newbie 11 07-03-2004 06:28 PM
Bulk image format conversions with a shell script? infidel Linux - Software 4 11-16-2003 08:20 PM


All times are GMT -5. The time now is 01:38 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration