Sponsored Content
Special Forums Hardware Hardware RAID on Sun T2000 Server Post 302474275 by Tirmazi on Tuesday 23rd of November 2010 10:50:46 PM
Old 11-23-2010
Hardware RAID on Sun T2000 Server

Hi All

I have a Sun T2000 server. Couple of years ago I had configured and mirrored the boot drive with an other drive using hardware RAID 1 using raidctl command.
Following is the hardware RAID output.
Code:
root@oracledatabaseserver / $ raidctl
RAID    Volume  RAID            RAID            Disk
Volume  Type    Status          Disk            Status
------------------------------------------------------
c0t0d0  IM      OK              c0t0d0          OK
                                c0t1d0          OK


Now my DBA requires more disk space on this server, and wants me to create a new partition and mount it.
The T2000 Server comes with 4 drive slots in total. This server has two hard drive empty slots, I have purchased two 250g hard drives which I plan to insert in the empty slots and mirror them using hardware RAID I and again using raidctl command.

Since this is a Production server I cannot afford a downtime nor can I afford a screwup, I have read the docs and I believe I can do it without issues, but if someone has tried to do this before and have come up with problems please share, and also let me know if I have missed out something.

Also output of cfgadm command is appended below, so please advise.

Thanks a lot.
Code:
root@oracledatabaseserver / $ raidctl -l
RAID    Volume  RAID            RAID            Disk
Volume  Type    Status          Disk            Status
------------------------------------------------------
c0t0d0  IM      OK              c0t0d0          OK
                                c0t1d0          OK
root@oracledatabaseserver / $ cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t0d0                 disk         connected    configured   unknown
c1                             scsi-bus     connected    configured   unknown
c1::dsk/c1t0d0                 CD-ROM       connected    configured   unknown
c2                             fc-private   connected    configured   unknown
c2::216000c0ff803fb3           ESI          connected    configured   unknown
c3                             fc-private   connected    configured   unknown
c3::226000c0ffa03fb3           ESI          connected    configured   unknown
c4                             fc-private   connected    configured   unknown
c4::256000c0ffc03fb3           disk         connected    configured   unknown
c5                             fc-private   connected    configured   unknown
c5::266000c0ffe03fb3           disk         connected    configured   unknown
usb0/1                         unknown      empty        unconfigured ok
usb0/2                         unknown      empty        unconfigured ok
usb1/1.1                       unknown      empty        unconfigured ok
usb1/1.2                       unknown      empty        unconfigured ok
usb1/1.3                       unknown      empty        unconfigured ok
usb1/1.4                       unknown      empty        unconfigured ok
usb1/2                         unknown      empty        unconfigured ok


Last edited by DukeNuke2; 11-24-2010 at 02:48 AM..
 

9 More Discussions You Might Find Interesting

1. Solaris

Sun server hardware questions

I have no experience with sun servers but for fun and experience I would like to buy a low-end server and play with things. I have a few questions that maybe some of you who use these things will be able to answer: - I believe they are also called PCI slots in the sun server, but are they the... (2 Replies)
Discussion started by: Synbios
2 Replies

2. Solaris

How to setup hardware RAID on a T2000

Hello all We've just bought a T2000. It has two disks and I'm trying to figure out how to create a mirror of the boot disk. I understand that I have to boot into single user mode from DVD and then use the raidctl command to set up the mirror and label the volume afterwards. Format returns... (4 Replies)
Discussion started by: soliberus
4 Replies

3. Solaris

T2000 Hardware RAID

Hi, I have a root with hardware RAID on c0t0d0 and c0t2d0. I would like to set the boot device sequence in OBP for both hdds. I have checked in ls -l /dev/rdsk/ for the path of c0t2d0 but it does not exist. Can anyone shed some lights on this? AVAILABLE DISK SELECTIONS: 0.... (12 Replies)
Discussion started by: honmin
12 Replies

4. Solaris

Sun Server T2000 occasionally reboot

Hi, i am really 'fresh' to Solaris or any UNIX OS. My role as web developer but i need slightly involve to Solaris support. It is harder for me to understand it and i recently encounter a problems. /var file system (/dev/md/rdsk/d425) is being checked. run fsck -F ufs /dev/md/rdsk/d425 ... (8 Replies)
Discussion started by: webster5u
8 Replies

5. Solaris

How to create Logical domain in Sun Fire T2000 server

Hi I am fresher in Virtualisation in solaris 10.I need to know how to install and configure guest OS, I have a server Sun T2000 with solaris 10 OS BASE. How to install logical domain, what are the prerequest for installing l domain can some one guide me what are the basic requirement to... (2 Replies)
Discussion started by: solaris8in
2 Replies

6. Solaris

Sun T5120 hardware RAID question

Hi everyone I've just purchased a Sun T5120 server with 2 internal disks. I've configured hardware RAID (mirror) and as a result the device tree in Solaris only contains 1 hard drive. My question is, how would I know when one of the drives become faulty? Thanks (2 Replies)
Discussion started by: soliberus
2 Replies

7. Hardware

Sun T3-1 hardware RAID

Hi all I've just received my T3-1. It has 8 disks and I would like to configure RAID1 on the disks. The Sun documentation states that you can either use the OpenBoot PROMP utility called Fcode or you can use software via the Solaris OS. The documentation doesn't make it clear if: 1. The... (6 Replies)
Discussion started by: soliberus
6 Replies

8. Solaris

Hardware RAID not recognize the new disk [Sun T6320]

We have hardware RAID configured on Sun-Blade-T6320 and one of the disk got failed. Hence we replaced the failed disk. But the hot swapped disk not recognized by RAID. Kindly help on fixing this issue. We have 2 LDOM configured on this server and this server running on single disk. #... (8 Replies)
Discussion started by: rock123
8 Replies

9. Solaris

Need Help, I want to reset password for Sun Fire T2000 Server

============================== ALOM BOOTMON v1.3.1 ALOM Build Release: 001 Reset register: f0000000 EHRS ESRS LLRS SWRS ALOM POST 1.0 Dual Port Memory Test, PASSED. TTY External - Internal Loopback Test TTY External - Internal Loopback Test, PASSED. TTYC - Internal Loopback Test TTYC -... (4 Replies)
Discussion started by: Sameer Naik
4 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 02:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy