Hi All,
How do i check the number of external disks in the SUN solaris machine.
Your help would be greatly appreciated.
TIA
Kumar
|
|
0
|
|
|
|
Reply
|
vkkumar
|
11/27/2003 1:24:07 PM |
|
On Thu, 27 Nov 2003 05:24:07 -0800, Kishore wrote:
> Hi All,
>
> How do i check the number of external disks in the SUN solaris machine.
>
> Your help would be greatly appreciated.
>
> TIA
> Kumar
If the machine is at the "ok" prompt you can type
probe-scsi-all
This will show you all disks attached to the system.
If the machine is running, as root, type
format
This is the output from my machine
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/sbus@1f,0/SUNW,fas@e,8800000/sd@0,0
1. c0t1d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/sbus@1f,0/SUNW,fas@e,8800000/sd@1,0
Specify disk (enter its number):
format is a dangerous command if you do not know what you are doing. To
exit, specify a disk (like 0) and then type
quit
You should post what model sun machine you have. It is easy to tell what
disks are external if we know what machine you have.
|
|
0
|
|
|
|
Reply
|
Tom
|
11/27/2003 1:38:13 PM
|
|
On Thu, 27 Nov 2003 13:38:13 GMT, Tom Hamilton <sg7188@snet.net> wrote:
>format is a dangerous command if you do not know what you are doing.
>To exit, specify a disk (like 0) and then type
>
>quit
FYI - you can just type ^D (Ctrl/D) at the Specify disk prompt.
--
Roger Williams, Institute of Geological & Nuclear Sciences, New Zealand
R.Williams
@gns.cri.nz : DEC 3000/300 AXP - OpenVMS v6.2
|
|
0
|
|
|
|
Reply
|
Roger
|
11/30/2003 8:54:14 AM
|
|
Roger Williams <R.Williams@read.the.sig> wrote in message news:<rtbjsv4t4opuqd7jhal8s06itcsvb1jj8r@4ax.com>...
> On Thu, 27 Nov 2003 13:38:13 GMT, Tom Hamilton <sg7188@snet.net> wrote:
>
> >format is a dangerous command if you do not know what you are doing.
> >To exit, specify a disk (like 0) and then type
> >
> >quit
>
> FYI - you can just type ^D (Ctrl/D) at the Specify disk prompt.
How could I get this with one command in a script? Would be useful for scripting.
Paul
|
|
0
|
|
|
|
Reply
|
capo16
|
11/30/2003 8:10:24 PM
|
|
"Paul Coray" <capo16@hotmail.com> wrote in message
news:4950b699.0311301210.35a677a4@posting.google.com...
> > FYI - you can just type ^D (Ctrl/D) at the Specify disk prompt.
>
> How could I get this with one command in a script? Would be useful for
scripting.
>
> Paul
What is it exactly that you are trying to accomplish?
I have missed some of this post, but a neat trick is to :
format < /dev/null ( I think this is how it works, has been a while)
This will list all of the disks without the need to choose a disk or even
exit format.
See ya
Paul
|
|
0
|
|
|
|
Reply
|
Paul
|
11/30/2003 8:26:53 PM
|
|
Paul E. Ratty wrote:
> "Paul Coray" <capo16@hotmail.com> wrote in message
> news:4950b699.0311301210.35a677a4@posting.google.com...
>
>>>FYI - you can just type ^D (Ctrl/D) at the Specify disk prompt.
>>
>>How could I get this with one command in a script? Would be useful for
>
> scripting.
>
>>Paul
>
>
> What is it exactly that you are trying to accomplish?
>
> I have missed some of this post, but a neat trick is to :
>
> format < /dev/null ( I think this is how it works, has been a while)
>
> This will list all of the disks without the need to choose a disk or even
> exit format.
>
> See ya
>
> Paul
>
>
Thanks Paul!
It works. That is exactly what I was looking for :-)
Paul
|
|
0
|
|
|
|
Reply
|
Paul
|
12/1/2003 10:47:43 AM
|
|
|
5 Replies
570 Views
(page loaded in 0.041 seconds)
|