I have an issue when trying to hot-add a SAN disk to an oracle enterprise linux 5.5 server.
The storage array we are using is an HP 24000, we have no issues with the disk usage for both ASM and LVM setup, it is just a simple matter of not being able to scan for new disk when it is added without a reboot.
We have tried:
which errors with the following message:
lun 142 happens to be the new added disk.
And also we have found a script called rescan_scsi_bus.sh, this runs successfully but does not add any new scsi devices.
I have a feeling on a reboot the scan is forced while loading the qla2xxx module, however we cannot remove the module and re-add it during server running time as this comes up with a "Fatal: module is in use" error message.
We have also tried to restart the multipathing deamon to see if the disk gets picked up, and also to run xpinfo, neither of which seem to see the disk.
I have raised a call with oracle support and have now been waiting 3 weeks without a response, however if i do get a useful reply i will post it here.
Officially, we had high of 96°F with a relative humidity of 52% here in Rockville Md today. But my car's thermometer said the outside temp was 110° when I first got in this afternoon. After driving for 30 minutes it cooled down to 103°. I actually have a nasty burn on my hand just from leaning... (19 Replies)
Hi,
I need to install Oracle Enterprise Linux 5.0 on IBM3400.Before start it,I expect your valuable suggestions regarding partition size...etc.
This server is having 146 GB of hard disk and 4GB of RAM.I need to create 15 restricted users on this server.These 15 users will access their folders... (1 Reply)
Previously , i remove the disk by
#vxdg -g testdg -k rmdisk testdg02
But i got error when i -k adddisk
bash-2.03# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none ... (1 Reply)
hi all :)
i'd like to remove a broken scsi tape device from a system p5 520. it is the only device on the external scsi hookup.
then i would like to add a new scsi tape device (same model).
is this, and if - how ?, doable without rebooting? (using aix 5.3)
best regards,
deuter (2 Replies)
Hi,
Anyone can help me, just want to confirm, if possible adding a disk storage that we have a RAWDATA with +ASM in our database. If possible, what would you recommend "workaround used" from us to do and the preparation. And also how long the downtime will take.
Our disk continuous to grow,... (0 Replies)
Hi all,
I have an Oracle Enterprise Linux 5.5 server which is a virtual guest on a vSphere host.
I have provisioned 500GB disk space from SAN. I then migrated the VM from a 200GB disk onto the new 500GB disk. I then increased the disk space allocated to the VMware to the maximum size of... (7 Replies)
Hello,
I have DS4000 IBM SAN Storage ( aka FastT Storage )
One of my disks has failed and I had a hot spare disk covering all the arrays. As the disk failed, immediately the hotspare disk took over the failed disk ( see the JPEG in the attachment )
My Question: How can I make the hotspare... (1 Reply)
Server Model
HP Proliant DL380P, Gen 8
Raid Controller= HP smart Array P420i
Operating system Installation OEl5.8
On first boot after OS installation
ERROR:
Red Hat nash Version 5.119.6 starting -300.10.1.el5uek)’
Mounting proc Filesystem
Reading all physical volume this may take a... (0 Replies)
Server Model
HP Proliant DL380P, Gen 8
Raid Controller= HP smart Array P420i
Operating system Installation OEl5.8
On first boot after OS installation
ERROR:
Red Hat nash Version 5.119.6 starting -300.10.1.el5uek)'
Mounting proc Filesystem
Reading all physical volume this may take... (1 Reply)
Hi, Here is the issue. Some more memory has been added from vCenter to the virtual machine. From the virtual machine running SuSE 11 SP3.
# modprobe acpiphp
# modprobe acpi-memhotplug
# grep -v online /sys/devices/system/memory/*/state
#
It looks like there is no offline memory, but free... (1 Reply)
Discussion started by: aixlover
1 Replies
LEARN ABOUT LINUX
metareplace
metareplace(1M) System Administration Commands metareplace(1M)NAME
metareplace - enable or replace components of submirrors or RAID5 metadevices
SYNOPSIS
/usr/sbin/metareplace -h
/usr/sbin/metareplace [-s setname] -e mirror component
/usr/sbin/metareplace [-s setname] mirror component-old component-new
/usr/sbin/metareplace [-s setname] -e RAID component
/usr/sbin/metareplace [-s setname] [-f] RAID component-old component-new
DESCRIPTION
The metareplace command is used to enable or replace components (slices) within a submirror or a RAID5 metadevice.
When you replace a component, the metareplace command automatically starts resyncing the new component with the rest of the metadevice.
When the resync completes, the replaced component becomes readable and writable. If the failed component has been hot spare replaced, the
hot spare is placed in the available state and made available for other hot spare replacements.
Note that the new component must be large enough to replace the old component.
A component may be in one of several states. The Last Erred and the Maintenance states require action. Always replace components in the
Maintenance state first, followed by a resync and validation of data. After components requiring maintenance are fixed, validated, and
resynced, components in the Last Erred state should be replaced. To avoid data loss, it is always best to back up all data before replacing
Last Erred devices.
OPTIONS
Root privileges are required for all of the following options except -h.
-e Transitions the state of component to the available state and resyncs the failed component. If the failed component has
been hot spare replaced, the hot spare is placed in the available state and made available for other hot spare replace-
ments. This command is useful when a component fails due to human error (for example, accidentally turning off a disk), or
because the component was physically replaced. In this case, the replacement component must be partitioned to match the
disk being replaced before running the metareplace command.
-f Forces the replacement of an errored component of a metadevice in which multiple components are in error. The component
determined by the metastat display to be in the ``Maintenance'' state must be replaced first. This option may cause data to
be fabricated since multiple components are in error.
-h Display help message.
-s setname Specifies the name of the diskset on which metareplace will work. Using the -s option will cause the command to perform its
administrative function within the specified diskset. Without this option, the command will perform its function on local
metadevices.
mirror The metadevice name of the mirror.
component The logical name for the physical slice (partition) on a disk drive, such as /dev/dsk/c0t0d0s2.
component-old The physical slice that is being replaced.
component-new The physical slice that is replacing component-old.
RAID The metadevice name of the RAID5 device.
EXAMPLES
Example 1: Recovering from Error Condition in RAID5 Metadevice
This example shows how to recover when a single component in a RAID5 metadevice is errored.
# metareplace d10 c3t0d0s2 c5t0d0s2
In this example, a RAID5 metadevice d10 has an errored component, c3t0d0s2, replaced by a new component, c5t0d0s2.
Example 2: Use of -e After Physical Disk Replacement
This example shows the use of the -e option after a physical disk in a submirror (a submirror of mirror d11, in this case) has been
replaced.
# metareplace -e d11 c1t4d0s2
Note: The replacement disk must be partitioned to match the disk it is replacing before running the metareplace command.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
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), 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 8 Aug 2003 metareplace(1M)