Detecting Second disk


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Detecting Second disk
# 1  
Old 02-06-2007
Detecting Second disk

Hello all,

first of all, I apologise if I may ask stupid or obvious questions, but I'm new to UNIX and I think I need a little bit of help before I start gearing up Smilie

Anyway, I have installed a Solaris 8 on a Sun machine, and it has 2 physical disks in it. However, it seems that it is only recognizing one disk, that is, the disk that I have the Solaris installed on. I have checked from the vfstab file, and df command. All show c0d0t0s1 to s7 .

Is there a way how to make the UNIX system see the second disk?

Thanks and regards,
dragunu
# 2  
Old 02-06-2007
/etc/vfstab will only show you filesystems that are mounted when the system boots, and df will only indicate filesystems that are currently mounted.

Please post the output of
Code:
format < /dev/null
uname -i

Cheers
ZB
# 3  
Old 02-06-2007
Quote:
Originally Posted by zazzybob
/etc/vfstab will only show you filesystems that are mounted when the system boots, and df will only indicate filesystems that are currently mounted.

Please post the output of
Code:
format < /dev/null
uname -i

Cheers
ZB
thanks for the useful reply zaz.
so format < /dev/null should lookout and possibly format unrecognized hardware on the machine?
# 4  
Old 02-06-2007
I'm not a sun guru, but i'd first make sure the undentified disk's connection is 'good' then attempt to reconfigure the system like this
Code:
touch /.reconfigure; shutdown -g 0 -y -i6

And of course using command in OBP might be a good idea as well (show-disks, etc...)
# 5  
Old 02-06-2007
Code:
touch /.reconfigure

should be
Code:
touch /reconfigure

Anyhoo, you should be able to get away with
Code:
devfsadm

without taking the system down.
Cheers
ZB
# 6  
Old 02-06-2007
thanks for the replies.

now when I am issuing the "format" command, i am getting the following error:

Code:
prompt scsi:       Error for Command: load/start/stop         Error Level: Retryable
prompt scsi:          Requested Block: 0                         Error Block: 0
prompt scsi:         Vendor: IBM                                Serial Number:             
prompt scsi:         Sense Key: Not Ready
prompt scsi:         ASC: 0x4 (LUN not ready), ASCQ: 0x0, FRU: 0x0
prompt scsi:  WARNING: /pci@1c,600000/scsi@2/sd@1,0 (sd1):

actually, it prompts up every time i start the machine.
# 7  
Old 02-08-2007
recognising 2nd harddisk

Quote:
Originally Posted by dragunu
Hello all,

first of all, I apologise if I may ask stupid or obvious questions, but I'm new to UNIX and I think I need a little bit of help before I start gearing up Smilie

Anyway, I have installed a Solaris 8 on a Sun machine, and it has 2 physical disks in it. However, it seems that it is only recognizing one disk, that is, the disk that I have the Solaris installed on. I have checked from the vfstab file, and df command. All show c0d0t0s1 to s7 .

Is there a way how to make the UNIX system see the second disk?

Thanks and regards,
dragunu
hi !
u can c the 2nd hard disk with format command as root user.
it will show the no at the begining of each disk like c0t0d0
enter the no at format> prompt
after that type partition at format prompt
after that type print at partition prompt.
u can able to c the no of slices created on 2nd hard disk if u given the 2nd hard disk no at format prompt.
if no slice has been created u have to create slice here by entering slice no at partition prompt.
after that quit from partition prompt and then from format prompt.
now create the file system for that newly created slices
using newfs /dev/rdsk/c0t1d0s0(this is example)
now mount that filesystem using mount -f ufs /dev/dsk/c0txdxsx /newdir
where xin c0txdxsx is any numeric and /newdir is directory to mount that file system.
now u can c the file system with df -k command
with different target id like c0t1d0s0 which is different disk from the OS installed disk.
to make it permanent add this entry to /etc/vfstab.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Detecting unused variables...

Hi guys... The first active code line in AudioScope.sh is set -u . This causes a complete exit if a variable is used/found but has not been allocated at the start of the program. However, apart from writing code to do the task, is there a switch to to check which variables have been... (17 Replies)
Discussion started by: wisecracker
17 Replies

2. Shell Programming and Scripting

need help in detecting errors

Hi All , I need a script to find errors in a particular and in a particular path Actually in my logs i`ve so many kinds of errors(i can even say as 100 types also).if i run the script i need to know the error (some errors can aviod ) so finally the script o/p should be a numeric... (3 Replies)
Discussion started by: radha254
3 Replies

3. UNIX for Advanced & Expert Users

detecting the running services

I did search on the subject on services in linux and they do explain how to find what are the services that loaded when the linux boot. however I have not find how to detect what services run right now. I would like to now that and how to kill services. Thanks. (3 Replies)
Discussion started by: programAngel
3 Replies

4. Shell Programming and Scripting

Detecting hard or soft disk errors in Solaris

I am looking for some tips or suggestions in how to do the following. 1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom: c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies

5. Programming

Detecting interruptions in C

Hi. You may know how to detect when a interruption succeeded programming in C. Just like receiving a signal without blocking. Knowing when it was a keystroke (IRQ 2), or a mouse movement (12), or a disk access, etc. and getting actually for example the letter typed. Thanks a lot. (7 Replies)
Discussion started by: Ashrentum
7 Replies

6. Programming

Detecting a key combination

Could anybody tell me how I can detect a particular key combination and perform a particular task on that event. e.g. if I press Ctrl + L on the shell then it clears the screen. Please tell me how it can be performed on my shell. And how the Arrow Keys can be detected. I tried but pressing a key... (11 Replies)
Discussion started by: mobile01
11 Replies

7. Gentoo

Not detecting CD ROm drive

Hello All, I am pretty new to Linux, When trying to install TurboLinux 6.0 through a boot floppy, After a while it says to insert the CD and later it is not recognizing the CDROM, SO do we need to mount the CD-ROM before installation ?? Thanks in Advance :) S (13 Replies)
Discussion started by: sbasetty
13 Replies

8. IP Networking

Detecting NIC in Solaris10

I have an E420 server that has a TPE Slot / NIC installed. However there is no interface file installed eg /etc/hostname.hme0 or equivalent. I have placed a private ip entry int the hosts file to accompany the loop back entry i.e. 127.0.0.1 localhost 172.16.0.10 loghost se420 ... (1 Reply)
Discussion started by: jimthompson
1 Replies

9. UNIX for Advanced & Expert Users

Detecting NIC in Solaris10

I have an E420 server that has a TPE Slot / NIC installed. However there is no interface file installed eg /etc/hostname.hme0 or equivalent. I have placed a private ip entry int the hosts file to accompany the loop back entry i.e. 127.0.0.1 localhost 172.16.0.10 loghost se420 ... (1 Reply)
Discussion started by: jimthompson
1 Replies

10. UNIX for Dummies Questions & Answers

detecting drives

I know that Unix is different from windows in that it needs more manual configuring but how do I get Solaris 8 (Intel version) to recognize my floppy drive and cd-rom?? I mean does it automatically detect the drives at startup and I have to mount them or do I have to create the drives somehow and... (1 Reply)
Discussion started by: eloquent99
1 Replies
Login or Register to Ask a Question