08-17-2009
RAID 0 is not mirroring. If you are using RAID 0, I'd back that up fast, and switch to RAID 1, which IS mirroring. If you break the RAID you will lose your data.
What you CAN do, to accomplish what you want is this.
using the mdadm command mark 1 drive as failed and remove it from the array. Then, you can format the drive and use it for data. If at any other point, and I'd suggest you do this, you wish to use a third drive or a portion of a third drive to mirror again, you can use that partition and rejoin it to your array.
9 More Discussions You Might Find Interesting
1. AIX
Hi
Can I add disks on the fly to extend the capacity of an existing RAID 5 volume?
It's created on a 4P Advanced SSA Raid Adapter.
I need to extend a volume group, so I figured it would be easiest to extend the "physical disk" which is a RAID5 volume.
Thanks. (1 Reply)
Discussion started by: osee
1 Replies
2. Solaris
Hi there
the Sunfire X4100 has a great tool that you can get to from BIOS called the configuration utility which allows you to set up Disk mirroring (RAID 1) before the OS sees it, which is great and it works a treat, however, we have a large datacentre across multiuple sites and I need to find... (1 Reply)
Discussion started by: hcclnoodles
1 Replies
3. Solaris
New to the boards here so please bear with me!
I have a T2000 server with Solaris 10 installed on it. Disk 0 is the only disk currently being used, as I do NOT have a RAID set up. Disk 1 is just sitting there looking pretty.
I'd like to set up a mirrored RAID in order to fully utilize both... (5 Replies)
Discussion started by: phi148
5 Replies
4. Solaris
Hi everyone
I've just purchased a Sun T5120 server with 2 internal disks. I've configured hardware RAID (mirror) and as a result the device tree in Solaris only contains 1 hard drive.
My question is, how would I know when one of the drives become faulty?
Thanks (2 Replies)
Discussion started by: soliberus
2 Replies
5. AIX
Hello,
I have a scsi pci x raid controller card on which I had created a disk array of 3 disks
when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk )
suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies
6. UNIX for Dummies Questions & Answers
Hello folks;
I'm trying to install Solaris 10 x86 on SUN X4150 box with 6 disks in it, the question is how can i create a Virtual disk like RAID 0 before i install Solaris.
When i boot up i don't see any option to go and create my raid before the installation begin.
Thanks in advance for any... (2 Replies)
Discussion started by: Katkota
2 Replies
7. Solaris
Server Model: T5120 with 146G x4 disks.
OS: Solaris 10 - installed on c1t0d0.
Plan to use software raid (veritas volume mgr) on c1t2d0 disk.
After format and label the disk, still not able to detect using vxdiskadm.
Question:
Should I remove the hardware raid on c1t2d0 first?
My... (4 Replies)
Discussion started by: KhawHL
4 Replies
8. Solaris
Hi All, I'm new to this site. I have a few question since I'm in the process how to to repair my raid on Sun V240 Server.
1. How can we create RAID in Sun Sparc v240?
2. What utility can help people create RAID in Sun Sparc v240?
3. Do we need any special software to create the... (12 Replies)
Discussion started by: angkor
12 Replies
9. Red Hat
Hello,
I want to delete a RAID configuration an old server has.
Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton?
I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 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)