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 )
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 OPENSOLARIS
metadevadm
metadevadm(1M) System Administration Commands metadevadm(1M)NAME
metadevadm - update metadevice information
SYNOPSIS
/usr/sbin/metadevadm [-h] [-n] [ [-l]-r] [-s setname]
[-u disk_specifier] [-v]
DESCRIPTION
The metadevadm command facilitates the administration of device ID entries in Solaris Volume Manager. Use this command when the pathname
stored in the metadevice state database no longer correctly addresses the device or when a disk drive has had its device ID changed.
This command requires root privileges.
OPTIONS
The following options are supported.
-h Provide a help display.
-l Specify that metadevadm log to syslog(3C). metadevadm logs to the DAEMON facility at the ERR level by default. See
syslog.conf(4) for additional information on changing logging levels.
Use this option anytime. It is most useful in startup scripts and less useful interactively.
-n Emulate the effect of a command, without making any changes to the system.
-r Recompute the pathname and disk specifier (including slice) associated with all devices in the metadevice state data-
base if the device supports device IDs. If a device does not support device IDs or the device is not available, then
no action is taken for that device.
Use this option when the disk has been moved or readdressed.
This option is run automatically at boot time to detect device ID changes and update the state database.
-s setname Specify the name of the disk set on which metadevadm works. This option causes the command to perform its administra-
tive function within the specified disk set. Without this option, the command performs its function on devices in the
local disk set.
-u disk_specifier Obtain the device ID associated with the disk_specifier (for example, c1t2d0) of a device and update the metadevice
state database. If the device ID has not changed this option does nothing. Use this option when a disk drive has had
its device ID changed during a firmware upgrade or due to changing the controller of a storage subsystem.
-v Execute in verbose mode. This option has no effect when used with -u. Verbose is the default.
EXAMPLES
Example 1 Updating Device ID of Disk
The following example updates the device c2t3d0:
# metadevadm -u c2t3d0
Updating SLVM device relocation information for c2t3d0.
Old device reloc information: id19280192391293123012012010012012091398
New device reloc information: id19380192391293123012012010012012091398
The following example is a variation of the preceding, using the full pathname.
# metadevadm -u /dev/dsk/c2t3d0
The following example uses the -n option, which means that the command is emulated, but does not take effect. Note that when the -v option
is used with -u, -v has no effect (verbose is the default).
# metadevadm -u -v -n c2t3d0
Updating SLVM device relocation information for c2t3d0.
Old device reloc information: id19280192391293123012012010012012091398
New device reloc information: id19380192391293123012012010012012091398
Example 2 Recomputing Pathnames
In the following example, all device names are valid.
# metadevadm -r
Disk movement detected.
Updating device names in SLVM.
In the following example, once again device names are valid.
# metadevadm -r -v
Disk movement detected.
Updating device names in SLVM.
c0t0d0s0 changed to c0t0d1s0 from device relocation information
id12098123lkmklsdjaasdkfjadfjakds
In the following example, metadevadm detects an invalid device name.
# metadevadm -r
Invalid device relocation information detected in SLVM.
Please check status of following disk(s):
c3t0d0
RETURN VALUES
The following exit values are returned:
0 Command was successful.
1 metadevadm encountered an error condition.
2 An invalid device ID was detected when using the -r option. This is for use in the rc2.d script. See init.d(4).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdu |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M),
metarecover(1M), metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M),
md.tab(4), md.cf(4), mddb.cf(4), md.tab(4), attributes(5), md(7D)SunOS 5.11 26 Mar 2006 metadevadm(1M)