Sponsored Content
Operating Systems Solaris DiskSuite State Unavailable After metareplace Post 302516193 by rfransix on Friday 22nd of April 2011 12:24:55 AM
Old 04-22-2011
DiskSuite State Unavailable After metareplace

Hello,

After replacing a JBOD disk that died, the metareplace was ran, the device went into enable/sync'ing state and then when the sync completed, the state changed to unavailable. [metareplace -e mirror component]

metadb shows the replica db looking good on the new disk.
format shows the disk online and looking good.

the 4.2.1 sds guide doesn't even have a state called ,,unavailable".

any help on what to do next? would like to avoid the metadetach/metattach scenario.

Thanks.
 

10 More Discussions You Might Find Interesting

1. Solaris

Solstice DiskSuite

Has anybody every used Solstice DiskSuite? I am having trouble setting it up. I installed it without a problem, but do I really have to blow away the drives on the D1000 just to create a metastate database? (8 Replies)
Discussion started by: hshapiro
8 Replies

2. Solaris

DiskSuite dilemma

Hello, We have this system a SunFire 280R running Solaris 8 Generic_117350-46. It has 2 36GB disks in it. They are mirrored with DiskSuite 4.2.1. When we execute a metastat all the devices report an Okay status, but when we go into metatool everything is in the Critical (maintenance)... (4 Replies)
Discussion started by: mgb
4 Replies

3. Solaris

mirroring with disksuite

hi all, i want to mirror two disks with disksuite under solaris 9 , doses smeone can explain me Briefly the essential steps to do that plz ? (3 Replies)
Discussion started by: lid-j-one
3 Replies

4. Solaris

metareplace error

Hello guys, i am getting some errors as below when i want to perform maintainence on the disks of my servers, getting errors like this "metareplace: myhost: /dev/dsk/c1t0d0s5: Invalid argument" when i execute #metareplace -e d5 c1t0d0s5 kindly advise on this matter,am afraid to use -f... (4 Replies)
Discussion started by: cromohawk
4 Replies

5. Filesystems, Disks and Memory

What should I do with this metastat result? metareplace everything?

I have to rescue the volumes in a soloris 7 machine. The metastat returns the following result: d6 is dying with iostat -nE returns Harderror 3, Transports error 9 Can some offer me some help? Thank you very much. (6 Replies)
Discussion started by: nickychung
6 Replies

6. Solaris

Urgent- metareplace -e write errors

I have a disk in maintanance status . I executed metareplace -e partition device . It resynced upto 5 % and then stopped . In the /var/adm/messages it showed the write error . My question is if I analyse and repair the disk in format command , will my write error go . I dont have 0 hard and... (6 Replies)
Discussion started by: Hitesh Shah
6 Replies

7. Solaris

Looking for Solstice DiskSuite 4.2

Hi all, Do you know where I can download Soltice Disksuite 4.2 for Solaris 2.6 ? I haven't the CD labeled “Solaris Server Intranet Extensions 1.0” . Thanks in advance for your precious help. Bests Regards Hosni (2 Replies)
Discussion started by: hosni
2 Replies

8. Solaris

disksuite mirroring d0 to d2 and d1 to d3

I have a SOlaris 10 v240 server. I'm installing disksuite to mirror the root drive D0 to D2. I also have one partition on disk 1 that I want to mirror to D3. I am not using ZFS right now. Can I add that to my initial mirroring configuration or can I only mirror 1 drive to 1 drive? Can I... (2 Replies)
Discussion started by: csross
2 Replies

9. UNIX for Advanced & Expert Users

fork: Resource temporarily unavailable , server unexpectedly unavailable network connection

Solaris 10 Server refuse to connect :wall: fork: Resource temporarily unavailable , server unexpectedly unavailable network connection , refuse error, disconnect message, fatal error type2, (protocol error type2) Issue has been resolved after taken few steps :b: First of all need to check... (1 Reply)
Discussion started by: taherahmed
1 Replies

10. AIX

Open firmware state to running state

Hi Admins, I am having a whole system lpar in open firmware state on HMC. How can I bring it to running state ? Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies
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 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 database 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 adminis- trative 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 | +-----------------------------+-----------------------------+ 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) Solaris Volume Manager Administration Guide SunOS 5.10 13 Sep 2004 metadevadm(1M)
All times are GMT -4. The time now is 02:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy