LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-07-2012, 03:01 AM   #1
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Rep: Reputation: 15
Question is this is a RAID problem ??


Hello there,

i just reinstalled linux OS (CentOS 5.8) & with RAID level 1 implemented

this is my second time dealing with RAID level 1 !

now, i have the following file systems

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/md2              100G  1.1G   94G   2% /
/dev/md1              496M   41M  430M   9% /boot
/dev/md3              2.0T  199M  1.9T   1% /vz
as you can see the server is HN which going to use OpenVZ virtualization software

i have installed OpenVZ but it couldnt start yet becuase RAID is resyncing MD3 but it taking long time & so other MDs are delayed until MD3 finish !!

as shown

Code:
md0 : active raid1 sdb1[1] sda1[0]
      33553344 blocks [2/2] [UU]
        resync=DELAYED

md1 : active raid1 sdb2[1] sda2[0]
      524224 blocks [2/2] [UU]
        resync=DELAYED

md3 : active raid1 sdb5[1] sda5[0]
      2146434944 blocks [2/2] [UU]
      [===========>.........]  resync = 58.6% (1257908224/2146434944) finish=149.3min speed=99159K/sec

md2 : active raid1 sdb3[1] sda3[0]
      104857536 blocks [2/2] [UU]
        resync=DELAYED
my question now :

is the resync process will always bother me everytime when we put or install something in /vz (MD3)?

or this is just will happen once after enabling RAID ?

or this is because the MD3 array size is too big (its actuall size is 2 TB * 2)?

or this is a problem in RAID ?

ps, i have raised up RAID writing limits to be 1 GB per/s

please all accept my best regards,,
 
Old 05-07-2012, 04:38 AM   #2
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
No, it wont do this every time you install or put something on the /VZ mount point. The only time it should rebuild or resync is when a new disk is added to the array... If you take these exact disks/partitions and put them in to another linux system, mdadm should find and set them up properly with out a resync/rebuild.
 
Old 05-07-2012, 08:52 AM   #3
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Original Poster
Rep: Reputation: 15
Thumbs up

Hello zer0signal,

first, thank you man so much for your kind help

second, i have a nother question please

should i didnt write or install something in a raid array while it resync ?

because when the resync process was currently working i installed OpenVZ ,which installed in /vz partition (MD3), but i didnt found OpenVZ run time script also didnt found any structures or folders under /vz

so, is this because i shouldnt write or install something on raid array when it is resyncing & instead have to wait resync process to be finished ?

please accept my best regards
 
Old 05-07-2012, 02:09 PM   #4
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
Writing to that Partition while its rebuilding/resync is not going to hurt anything.... But you wont get the performance till its done resyncing, I normally just let the rebuild run and then play with it once its done.


Did you format the /VZ partition yet?

mkfs.ext4 /dev/md3

?
 
Old 05-07-2012, 02:24 PM   #5
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Original Poster
Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by zer0signal View Post
Writing to that Partition while its rebuilding/resync is not going to hurt anything.... But you wont get the performance till its done resyncing, I normally just let the rebuild run and then play with it once its done.


Did you format the /VZ partition yet?

mkfs.ext4 /dev/md3

?
Hello zer0signal,

yeah man the /vz partition exists with ext4 filesystem

but when installed OpenVZ while resync is working i didnt found OpenVZ init script niether found any directories under /vz

now, i did nothing except waiting for resync process to be finished

then i will reinstall OpenVZ again & see what will happen !!

please accept my best regards,,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Intro to Nested-RAID: RAID-01 and RAID-10 LXer Syndicated Linux News 0 01-08-2011 12:12 AM
Chosing a RAID for NAS: HW Raid, FRAID, SW Raid StefanAO Linux - Server 2 08-29-2009 11:43 PM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
Raid Problem Fedora Core 3, RAID LOST DISKS ALWAYS icatalan Linux - Hardware 1 09-17-2005 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration