How to identify virtual/physic disk path on X4100?
Hello,
Currently we have a Oracle X4100 ( Solaris 10 ) server with disk failure. Originally our hardware team thought the disk can be hot-swap, when they stood in front of the server, none of the disk failure LED were on, so now we have no idea which disk is the bad one for replacement.
As we remember that although OS is seeing c2t2d0 is the bad disk originally, but it doesn't mean it's the physical disk which is failing.
Therefore, we need some advice how to identify the real failed disk for replacement.
( Note: originally only c2t2d0 shows hardware error in iostat, now is including c2t3d0, "format" is completely hung, "raidctl -l" will show 0.2.0 and hung ... without continuing )
Code:
>iostat -Een
---- errors ---
s/w h/w trn tot device
2 0 0 2 c1t0d0
0 58 67 125 c2t2d0
0 15 576 591 c2t3d0
0 0 0 0 stmkx007:vold(pid589)
0 0 0 0 atlantic:/home/perfman
0 0 0 0 atlantic:/u5/sentinel
c1t0d0 Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
Vendor: TSSTcorp Product: CD/DVDW TS-T632A Revision: SR03 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0
c2t2d0 Soft Errors: 0 Hard Errors: 58 Transport Errors: 67
Vendor: SEAGATE Product: ST914602SSUN146G Revision: 0603 Serial No: 0726928LR9
Size: 146.81GB <146810535936 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 58 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t3d0 Soft Errors: 0 Hard Errors: 15 Transport Errors: 576
Vendor: SEAGATE Product: ST914602SSUN146G Revision: 0603 Serial No: 072892K1LC
Size: 146.81GB <146810535936 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 15 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
>cfgadm -avl
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
c2 connected configured unknown
unavailable scsi-bus n /devices/pci@7b,0/pci1022,7458@11/pci1000,3060@2:scsi
c2::dsk/c2t2d0 connected configured unknown SEAGATE ST914602SSUN146G
unavailable disk n /devices/pci@7b,0/pci1022,7458@11/pci1000,3060@2:scsi::dsk/c2t2d0
c2::dsk/c2t3d0 connected configured unknown SEAGATE ST914602SSUN146G
unavailable disk n /devices/pci@7b,0/pci1022,7458@11/pci1000,3060@2:scsi::dsk/c2t3d0
>raidctl -l -g 0.2.0 2
Disk Vendor Product Firmware Capacity Status HSP
----------------------------------------------------------------------------
0.2.0 SEAGATE ST914602SSUN146 0603 136.7G GOOD N/A
GUID:5000c500061569d3
root /
>raidctl -l -g 0.3.0 2
^C^C^C^C
Since "raidctl -l -g 0.3.0 2" hungs here, does it mean we actually have a bad disk at c2t3d0?
Anyway to confirm which disk is the bad disk?
Thank you very much,
SC
Last edited by DukeNuke2; 02-08-2013 at 04:28 AM..
Hi experts,
I need to determine if I have 4GB free space on my UNix server? Is there a way that I can do it instead of executing df -k . in each folder?
Thanks for your help. (3 Replies)
Hi,
I have a failed hard disk in my Sun Fire V240. Unfortunately it does not show up in 'cfgadm -al' or in the format command so I cannot unconfigure it and illuminate the blue light on the front to identify it. Is there any way of iluminating the blue lights on the other disks so I can at... (3 Replies)
HI All
i have been assigned a task to create new filesystem with virtual disk
but i look into server there is no virtual disk avialable, how do i check the virtual disk in a server or how do i configure virtual disk.
please help me out on this issue. (2 Replies)
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Good Evening,
2 years ago, I set up an Ubuntu file-server for a friend, who is a photograph amateur. Basically, the server offers a software RAID-5 that can be accessed remotely from a MAC. Unfortunately, I didn't labeled the hard drives (i.e. which physical drive corresponds to the /dev/sdX... (2 Replies)
Hi guys ,
We are running machines in virtual environment.
As a part of virtual solution we have a disk created in form of files on host machine.
The problem is we are facing space crunch and need to re size the harddisk files of virtual machines.
There a catch the virtual machines are... (0 Replies)
Say there is a certain path I wish to always load the same page. So if they go to somesite.com/a/b/c, it always goes to myscript.php and fed a/b/c as a server variable.
I'm fairly sure this is possible but cannot remember the term it's called, and so cannot find it in web searches or... (7 Replies)
Hi,
I have broken my laptop hard drive so I would like to put it in an external box to backup my documents.
I have a doubt whether the interface of the hard disk is sata or ide.
Inside notes attached, is reported "controller SATA AHCI" but on the model section is given IDE hard disk
... (1 Reply)
I have a small script to send copies of files to another computer used for tests but in the same location:pwd=`pwd`
for i in "$@"
do
echo "rcp -p $i comp-2:$pwd/$i"
rcp -p $i comp-2:$pwd/$i
echo "Finished with $i"
doneIs there a way I can check the parameter to see if it is a full... (5 Replies)
I am working on VM host and collecting data to identify the type of storage attached to the server which will be migrated to VNX.
it has one ldom created on it
luxadm probe output ---
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node... (7 Replies)
Discussion started by: kpatel786
7 Replies
LEARN ABOUT SUNOS
metaimport
metaimport(1M)metaimport(1M)NAME
metaimport - imports disk sets into existing Solaris Volume Manager configurations
SYNOPSIS
metaimport -s setname [-n] [-v] [-f] [disks...]
metaimport -r [disks...]
metaimport -V
metaimport -?
The metaimport command allows the importing of disk sets, including replicated disk sets, into an existing Solaris Volume Manager configu-
ration. Replicated disk sets are disk sets created using remote replication software.
The default Solaris Volume Manager configuration specifies a maximum number of disk sets that can be configured. The metaimport command
fails if importing the disk set would result in exceeding the number of disk sets configured on the system. To increase the number of disk
sets allowed on a system, see the .
Use metaset(1M) or metastat(1M) to view the configuration of the imported set.
You must run metaimport as root.
metaimport requires a functional Solaris Volume Manager configuration before it runs.
The following options are supported:
-f Force the import, even if a quorum of replicas from the imported disk set is not available. This option could
result in corrupt configurations and should only be used when metaimport fails with the "Insufficient quorum
detected; exiting" error. If only a partial disk set is available, this option might be necessary to successfully
import. Some or all data could be corrupted or unavailable when importing a partial set or a set lacking a replica
quorum.
-n Does not actually perform the operation, but shows the output or errors that would have resulted from the opera-
tion, had it been run.
-r Report on the non-configured disk sets found on the system. If no disk device or LUN is specified, metaimport
reports on all non-configured disk sets attached to the system. When the name of one disk is specified, metaimport
reports on the disk set (or virtual LUN) containing the specified disk. If two or more disks are specified, metaim-
port reports on the set (or sets, if they belong to different disk sets) containing the specified disks. If two or
more disks are specified, metaimport reports on the set (or sets, if they belong to different disk sets) containing
the specified disks.
-s setname Specify the disk set name to use when importing. The imported disk set will be called setname, without regard to
the name it may have had on a different system.
-v Verbose. Provides detailed information about the metadb replica location and status.
-V Version information.
-? Display a help message.
Example 1: Importing a Disk Set
The following example creates a disk set called blue and identifies c1t5d0 as a disk containing a state database replica from the disk set
being imported.
# metaimport -s blue c1t5d0
Example 2: Reporting Disk Sets to Import
The following example scans all disks and LUNs attached to the system and configured as part of the system. It scans for disks that could
be part of a disk set to be imported. Components that are already part of the Solaris Volume Manager configuration are ignored.
This use of metaimport provides suggested forms of the metaimport command to use to actually import the disk sets that have been found. You
can specify a component on the command line to reduce the scope of the scan and generate results more quickly.
# metaimport -r
0 Successful completion.
>0 An error occurred.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdu |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M),
metarecover(1M), metareplace(1M), metaroot(1M), metaset(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4), mddb.cf(4), attributes(5)
16 May 2005 metaimport(1M)