Sponsored Content
Operating Systems Solaris Connect an External SCSI Hard Drive to Ultra 80 Post 302333392 by Sapfeer on Monday 13th of July 2009 01:45:37 AM
Old 07-13-2009
Quote:
Originally Posted by ajnabi
cfgadm -avl c1
Output is :
************************
AP_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
c1 connected unconfigured unknown
Dec 31 1969 scsi-bus n /devices/pci@1f,4000/scsi@3,1:scsi

ls -l /dev/dsk/c1t1d0

/dev/dsk/c1t1d0: No such file or directory
It looks a little bit strange... Perform also the next commant and post results:
Code:
devfsadm -Csv

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

hard drive in Sun Ultra 10

What are the options on upgrading disk space in an Ultra 10 workstation? Sun states they are EIDE drives, are they standard or Sun specific? Thanks (1 Reply)
Discussion started by: 98_1LE
1 Replies

2. Solaris

mounting an external scsi tape drive

hi- I just installed a quad gigaswift ethernet scsi card to my sunblade 150. I checked with the docs, and got all of the required drivers on the box. Now, I'm trying to mount an external scsi tape drive with no luck. I set the scsi address on the external drive to 0. Here's what I'm coming... (9 Replies)
Discussion started by: ECBROWN
9 Replies

3. UNIX for Dummies Questions & Answers

Connecting an external SCSI drive to a unix computer

I am interested in booting up my unix computer by connecting an external SCSI drive( intergraph) to it. The unix box is also an intergraph computer. Whenever I boot it, it gives me an error that says Drive not ready, Insert Boot Diskette in A. What am I doing wrong? Any input would be... (3 Replies)
Discussion started by: teruotor
3 Replies

4. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

5. Solaris

Problem with SCSI DAT drive on Ultra 10

I will be honest I am quite new to UNIX and Solaris so this may be a simple thing. I have just purchased a Sun (rebranded HP obviously) DAT DDS3 SCSI tape drive for my Sun Ultra 10 running Solaris 10. I have previously fitted a SCSI card to the box which has configured ok and can be seen from... (1 Reply)
Discussion started by: mattw
1 Replies

6. UNIX for Dummies Questions & Answers

External SCSI hard drive

Someone gave me a small external SCSI hard drive for my SunOS 5.8 test system. How do I make Unix see the hard drive? (2 Replies)
Discussion started by: FredSmith
2 Replies

7. Solaris

Sun Ultra 2 Hard Drive Replacement

Hi all...I have an old Sun Ultra 2 running SunOS 5.7 (I know old). These machines have 2 hard drives and one of my drives fried. I bought some replacement drives and wanted to a simple "dd" command from my one good drive to copy all to the new replacement drive. The new drives however give me a... (11 Replies)
Discussion started by: psantinello
11 Replies

8. SCO

Moving hard drive and SCSI adapter to another computer

OK group, it's been 12 years since I worked with SCO. I need some direction here: SCO Openserver 5.07 I have a server with a bad motherboard. I have moved the SCSI adapter and hard drive to another computer. This new server has different hardware so I must install the chipset drivers for... (1 Reply)
Discussion started by: jscholz
1 Replies

9. Solaris

How to make an exact image copy of a SCSI hard drive in Solaris 8 OS?

To Solaris 8 Experts, Please let me know what's the best method / procedure as well as the Solaris 8 commands for accomplishing the following tasks on a production Sun Enterprise 250 Server running Sun Solaris 8 Operating System: 1. Make an exact image/copy of the SCSI Hard Drive in the... (3 Replies)
Discussion started by: ssabet
3 Replies

10. UNIX for Advanced & Expert Users

External hard drive

I have connected an external hard drive. I can't find it. Both ls /media, fdisk -l and ls /dev show nothing. TIA (3 Replies)
Discussion started by: Meow613
3 Replies
cfgadm_scsi(1M) 					  System Administration Commands					   cfgadm_scsi(1M)

NAME
cfgadm_scsi - SCSI hardware specific commands for cfgadm SYNOPSIS
/usr/sbin/cfgadm [-f] [-y | -n] [-v] [-o hardware_option] -c function ap_id... /usr/sbin/cfgadm [-f] [-y | -n] [-v] [-o hardware_option] -x hardware_function ap_id... /usr/sbin/cfgadm [-v] [-a] [-s listing_option] [-o hardware_option] [-l [ap_id | ap_type ... ]] /usr/sbin/cfgadm [-v] [-o hardware_option] -t ap_id... /usr/sbin/cfgadm [-v] [-o hardware_option] -h [ap_id...] DESCRIPTION
The SCSI hardware specific library /usr/lib/cfgadm/scsi.so.1 provides the functionality for SCSI hot-plugging through the cfgadm(1M) com- mand. cfgadm operates on attachment points, which are locations in the system where hardware resources can be dynamically reconfigured. Refer to cfgadm(1M) for information regarding attachment points. For SCSI hot-plugging, each SCSI controller is represented by an attachment point in the device tree. In addition, each SCSI device is rep- resented by a dynamic attachment point. Attachment points are named through ap_ids. Two types of ap_ids are defined: logical and physical. The physical ap_id is based on the physical pathname, whereas the logical ap_id is a shorter more user-friendly name. For SCSI con- trollers, the logical ap_id is usually the corresponding disk controller number. For example, a typical logical ap_id would be c0. SCSI devices are named relative to the controller ap_id. Thus if a disk device is attached to controller c0, its ap_id can be: c0::dsk/c0t0d0 where dsk/c0t0d0 identifies the specific device. In general, the device identifier is derived from the corresponding logical link for the device in /dev. For example, a SCSI tape drive logical ap_id could be c0::rmt/0. Here c0 is the logical ap_id for the SCSI controller and rmt/0 is derived from the logical link for the tape drive in /dev/rmt. If an identifier can not be derived from the link in /dev, a unique identifier will be assigned to it. For example, if the tape device has no link in /dev, it can be assigned an ap_id of the form c0::st3 where st3 is a unique internally generated identifier. A simple listing of attachment points in the system will include attachment points at SCSI controllers but not SCSI devices. Use the -a flag to the list option (-l) to list SCSI devices as well. For example: # cfgadm -l Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown sysctrl0:slot0 cpu/mem connected configured ok sysctrl0:slot1 sbus-upa connected configured ok To list SCSI devices in addition to SCSI controllers: # cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::dsk/c0t14d0 disk connected configured unknown c0::dsk/c0t11d0 disk connected configured unknown c0::dsk/c0t8d0 disk connected configured unknown c0::dsk/c0t0d0 disk connected configured unknown c0::rmt/0 tape connected configured unknown sysctrl0:slot0 cpu/mem connected configured ok sysctrl0:slot1 sbus-upa connected configured ok Refer to cfgadm(1M) for more information regarding listing attachment points. The receptacle and occupant state for attachment points at the SCSI controller have the following meanings: empty not applicable disconnected bus quiesced (I/O activity on bus is suspended) connected bus active configured one or more devices on the bus is configured unconfigured no device on the bus is configured The corresponding states for individual SCSI devices are: empty not applicable disconnected bus to which the device is attached is quiesced connected bus to which device is attached is active configured device is configured unconfigured device is not configured OPTIONS
cfgadm defines several types of operations besides listing (-l).These operations include testing, (-t), invoking configuration state changes, (-c), invoking hardware specific functions (-x), and obtaining configuration administration help messages (-h). -c function The following generic commands are defined for the SCSI hardware specific library: For SCSI controller attachment points, the following configuration state change operations are supported: connect Unquiesce the SCSI bus. disconnect Quiesce the bus (suspend I/O activity on bus). Incorrect use of this command can cause the system to hang. See NOTES. configure Configure new devices on SCSI bus. unconfigure Unconfigure all devices connected to bus. The following generic commands are defined for SCSI devices: configure configure a specific device unconfigure unconfigure a specific device -f When used with the disconnect command, forces a quiesce of the SCSI bus, if supported by hardware. Incorrect use of this command can cause the system to hang. See NOTES. -h ap_id SCSI specific help can be obtained by using the help option with any SCSI attachment point. -o hardware_option No hardware specific options are currently defined. -s listing_option Attachment points of class scsi can be listed by using the select sub-option. Refer to the cfgadm(1M) man page for additional information. -t ap_id No test commands are available at present. -x hardware_function Some of the following commands can only be used with SCSI controllers and some only with SCSI devices. In the following, controller_ap_id refers to an ap_id for a SCSI controller, for example, c0. device_ap_id refers to an ap_id for a SCSI device, for example: c0::dsk/c0dt3d0. The following hardware specific functions are defined: insert_device controller_ap_id Add a new device to the SCSI controller, controller_ap_id. This command is intended for interactive use only. remove_device device_ap_id Remove device device_ap_id. This command is intended for interactive use only. replace_device device_ap_id Remove device device_ap_id and replace it with another device of the same kind. This command is intended for interactive use only. reset_device device_ap_id Reset device_ap_id. reset_bus controller_ap_id Reset bus controller_ap_id without resetting any devices attached to the bus. reset_all controller_ap_id Reset bus controller_ap_id and all devices on the bus. EXAMPLES
Example 1: Configuring a Disk The following command configures a disk attached to controller c0: # cfgadm -c configure c0::dsk/c0t3d0 Example 2: Unconfiguring a Disk The following command unconfigures a disk attached to controller c0: # cfgadm -c unconfigure c0::dsk/c0t3d0 Example 3: Adding a New Device The following command adds a new device to controller c0: # cfgadm -x insert_device c0 The system responds with the following: Adding device to SCSI HBA: /devices/sbus@1f,0/SUNW,fas@e,8800000 This operation will suspend activity on SCSI bus c0 Continue (yes/no)? Enter: y The system responds with the following: SCSI bus quiesced successfully. It is now safe to proceed with hotplug operation. Enter y if operation is complete or n to abort (yes/no)? Enter: y Example 4: Replacing a Device The following command replaces a device attached to controller c0: # cfgadm -x replace_device c0::dsk/c0t3d0 The system responds with the following: Replacing SCSI device: /devices/sbus@1f,0/SUNW,fas@e,8800000/sd@3,0 This operation will suspend activity on SCSI bus: c0 Continue (yes/no)? Enter: y The system responds with the following: SCSI bus quiesced successfully. It is now safe to proceed with hotplug operation. Enter y if operation is complete or n to abort (yes/no)? Enter: y Example 5: Encountering a Mounted File System While Unconfiguring a Disk The following command illustrates encountering a mounted file system while unconfiguring a disk: # cfgadm -c unconfigure c1::dsk/c1t0d0 The system responds with the following: cfgadm: Component system is busy, try again: failed to offline: /devices/pci@1f,4000/scsi@3,1/sd@1,0 Resource Information ------------------ -------------------------- /dev/dsk/c1t0d0s0 mounted filesystem "/mnt" FILES
/usr/lib/cfgadm/scsi.so.1 hardware specific library for generic SCSI hot-plugging ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl | +-----------------------------+-----------------------------+ SEE ALSO
cfgadm(1M), luxadm(1M), config_admin(3CFGADM), libcfgadm(3LIB), attributes(5) NOTES
The disconnect (quiesce) operation is not supported on controllers which control disks containing critical partitions such as root (/), /usr, swap, or /var. The disconnect operation should not be attempted on such controllers. Incorrect usage can result in a system hang and require a reboot. Hotplugging operations are not supported by all SCSI controllers. WARNINGS
The connectors on some SCSI devices do not conform to SCSI hotplug specifications. Performing hotplug operations on such devices can cause damage to the hardware on the SCSI bus. Refer to your hardware manual for additional information. SunOS 5.10 21 Sept 2005 cfgadm_scsi(1M)
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy