openSuse 11.1 RAID 0 Question

 
Thread Tools Search this Thread
Operating Systems Linux SuSE openSuse 11.1 RAID 0 Question
# 1  
Old 08-17-2009
openSuse 11.1 RAID 0 Question

Hello, I have a file server running openSuse 11.1, that has two HDDs running in RAID 0 (mirroring) using the md software RAID linux driver. I was considering removing this RAID, using one of the drives as the OS and the other as a data drive. Is there any way to stop using this as a RAID set to do this, or am I going to have to reinstall (I hope that isn't necessary!!). Any insight would be GREATLY appreciated...
# 2  
Old 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.
# 3  
Old 08-17-2009
Sorry I misspoke... It is RAID 1. I remember setting it up a bit ago, but didnt correctly remember the number. Does that change the later part of your answer, as far as how to use of the drives for data?

---------- Post updated at 01:21 PM ---------- Previous update was at 01:19 PM ----------

Marking one as failed... Is that going to cause any system overhead, with the system looking for a second drive?
# 4  
Old 08-17-2009
No, it does not change anything. If you had RAID 0 you would have no way to recover save for backing everything up and starting over, or adding 2 more drives and becoming a RAID 0+1 set.

If you mark a drive as failed you will lose it as part of the array. If you lose the other drive, then you will lose the machine, as if you had only a single drive load set.

There will be a small overhead shift, as you will no longer incur the write penalty for RAID 1, but will also no longer get the read performance increase that RAID 1 provides.

What you are doing is this:
1) logically "failing" a drive, to stop the sync to the mirror
2) removing the formerly mirrored drive from the array to re-purpose.

You should do an mdadm --zero-superblock to the drive you have removed (AND ONLY to that drive). Then you should also fdisk it and change the partition types to the appropriate types, in case it was set as RAID. From there you can proceed to using the drive as any other drive.

I would strongly advise you make a system backup JUST in case, as any disk re-purposing can go wrong.
# 5  
Old 08-18-2009
Thanks a lot for all of the info. I was really worried that I would have to reinstall, as I have everything set up just right (well, except for the drive situation!) and that would be a real pain to try to do between jobs at work.
My two concerns were 1) having to reinstall, and 2) confusing the system (and suffering from performance/stability issues) since there will no longer be a RAID set installed.
It looks like that won't be too big of an issue...
Thanks again!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

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

2. Solaris

Sun V240 Raid Question

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

3. Solaris

Software RAID on top of Hardware RAID

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

4. UNIX for Dummies Questions & Answers

RAID on Solaris Question

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

5. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

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. Solaris

Sun T5120 hardware RAID question

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

7. Solaris

T2000 RAID Question

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

8. Solaris

X4100 Bios RAID question

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

9. AIX

RS6000 SSA Raid question

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
Login or Register to Ask a Question