07-11-2008
Quote:
I am pretty sure this should be used between same-geometry disks only.
I agree, going to do it manually, safer.
Quote:
And a hint: to step "0" - make a backup
Yes, but since the problem is no backups can be made, we have decided to
shutdown the oracle database when there is least trafic at 1:00 am (mind
you this may take about 2 hours) then pull the old drive and keep that
as the only backup so if we plug it in again it will start the oracle with a
clean startup.
Quote:
Ooh, and what about the "metadevadm -u" after you swap drives?
Since I am using metadb -d (delete)
then metadb -a (attach) with new drive it should update database replica with new device id (mddb.cf file is updated with -a) but like it says in the metadevadm -u man "If the device ID has not changed this option does nothing", so it would do nothing probably but does not hurt to try it. The location of update would be in /etc/lvm/mddb.cf
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi there,
I'm not sure if this is possible, but here is what I'd like to do..
I have an existing 160GB drive in my Redhat 9.0 server that I would like to add an additional 160GB drive to and create a mirrored RAID of the first disk to the new disk. I would like to do this without having to... (2 Replies)
Discussion started by: sysera
2 Replies
2. UNIX for Advanced & Expert Users
Hi all,
this s going to be my 1st time upgrading a disk.I need the ways or steps to migrate data from a 2gb disk to a 4gb disk which sits in the High Availability Disk Array Model 10.the os disk is the internal disk of the K200 system so i dont think i would be meddling around with that.what r... (1 Reply)
Discussion started by: giriplug
1 Replies
3. Filesystems, Disks and Memory
Good morning,
I have a problem replacing a disk with raid-5 volumes.
An hardware error was occurred from a disk c9t3 so all slices were in maintenace. Every slice is part of a raid-5 volume. Any replica is present.
Following Volume manager manual for replacing a disk, I have:
- phisically... (0 Replies)
Discussion started by: bonovox
0 Replies
4. Solaris
Hi All,
I have a SUN ENTERPRISE 3500 server with solaris 10 on it. I have already mirrored root partition.Now i need to mirror two more partitions with 25GB space. But i have only one disk having 70GB space.Total i have 7 disks but each one is of 18 GB only except one. Please find the output of... (2 Replies)
Discussion started by: Renjesh
2 Replies
5. Ubuntu
Hi,
I have an Ubuntu system which I have an faulted mirror.
I trying to replace the disk, but I'm stuck on that it boots and only showing GRUB
GRUB
## ## End Default Options ##
title Ubuntu 8.04.4 LTS, kernel 2.6.24-26-server
root (hd0,0)
kernel ... (0 Replies)
Discussion started by: jld
0 Replies
6. UNIX for Advanced & Expert Users
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)
Discussion started by: Loic Domaigne
2 Replies
7. Solaris
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
8. AIX
Hello All,
Our servers having emc clarion for the data disks. Is that possible to see those san disks raid level from AIX ?
Am having AIX 6.1 and EMC clarion 5.5.
Regards,
Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies
9. SuSE
Im issuing a cat /proc/mdstat, dmraid -r, and finding a cciss, to know if my server is software raid and hardware raid. But all of them are missing.
What is the other way to know, your disk are raid, your disks is sync, your disk are out of sync, your disk is failed, ASIDE LOOKING AT THEM... (0 Replies)
Discussion started by: invinzin21
0 Replies
10. Solaris
Dear All ,
We need to do patching on one Solaris Server , where we have raid 0 configured.
What is the process to patch a Server if RAID 0 (Concat/Stripe) is there.
Below is the sample output.
# metadb
flags first blk block count
a m pc luo 16 ... (1 Reply)
Discussion started by: jegaraman
1 Replies
LEARN ABOUT SUNOS
raidctl
raidctl(1M) System Administration Commands raidctl(1M)
NAME
raidctl - RAID hardware utility
SYNOPSIS
raidctl -c disk1 disk2
raidctl -d disk1
raidctl [-f] -F filename controller...
raidctl -l [controller...]
DESCRIPTION
The raidctl utility creates, deletes, or displays RAID volumes of the LSI1030 HW Raid controllers that include RAID support. The utility
also updates firmware/fcode/BIOS for both RAID and non-RAID controllers.
The raidctl utility requires privileges that are controlled by the underlying file-system permissions. Only privileged users can manipulate
the RAID system configuration. If a non-privileged user attempts to create or delete a RAID volume, the command fails with EPERM.
Without options, raidctl displays the current RAID configuration on all exisiting controllers.
OPTIONS
The following options are supported:
-c disk1 disk2 (for on board)
Create a mirror using disk1 and disk2. Replace the contents of disk2 with the contents of disk1. Specify disk1 and disk2 in canonical
form, for example, c0t0d0.
When you create a a RAID volume, the RAID volume assumes the identity of the first target in the disk pair (disk1). The second target
(disk2) disappears from the system. Therefore, the RAID volume appears as one disk.
To have a successful RAID creation, there must not already be a RAID configuration present on the specified controller. Additionally,
the secondary disk must not be mounted, as it has all its data erased and replaced with the primary disk's data.
-d disk1 (for on board)
Delete the RAID volume specified as disk1.
Specify disk1 in canonical form, for example, c0t0d0.
-f (for HBA)
Force an update. Do not prompt.
-F filename controller (for HBA)
Update the firmware running on the specified controller (controller).
-l [controller ...] (for on board)
List the system's RAID configuration. If controller is specified, list RAID configurations for controller.
Output from the -l lists the following information:
RAID Volume Displays logical RAID volume name.
RAID Status Displays RAID status as either RESYNCING (disks are syncing), DEGRADED RAID is operating with reduced functionality),
OK (operating optimally), or FAILED (non-functional).
RAID Disk Displays RAID disk name.
Disk Status Displays disk status as either OK or FAILED.
EXAMPLES
Example 1: Creating the RAID Configuration
The following command creates the RAID configuration:
# raidctl -c c0t0d0 c0t1d0
RAID Volume 'c0t0d0' created
Example 2: Displaying the RAID Configuration
The following command displays the RAID configuration:
# raidctl
RAID RAID RAID Disk
Volume Status Disk Status
----------------------------------------
c0t0d0 RESYNCING c0t0d0 OK
c0t1d0 OK
Example 3: Deleting the RAID Configuration
The following command deletes the RAID configuration:
# raidctl -d c0t0d0
RAID Volume 'c0t0d0' deleted
Example 4: Updating Flash Images on the Controller
The following command updates flash images on the controller:
# raidctl -F lsi1030.fw 0
Update flash image on controller 0? (y/N): y
Flash updated successfully
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 Invalid command line input.
2 Request operation failed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
System Administration Guide: Basic Administration
SunOS 5.10 17 Aug 2004 raidctl(1M)