LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-16-2010, 02:19 AM   #1
StamPit
LQ Newbie
 
Registered: Mar 2010
Location: Saint-Petersburg, Russia
Distribution: Gentoo Linux
Posts: 4

Rep: Reputation: 0
md device: online resizing


Hello!

I have md device (raid6), built on top of lvm. How to resize online md device, if i change lv`s size?

I found one solution: fail and resync each device in array (this procedure updates metadata), then grow md device with option -z max. But this way is dangerous and *very* slow.

Is there another way?


--
Sorry for my english =)
 
Old 03-16-2010, 02:52 AM   #2
timvandijk039
Member
 
Registered: Jul 2009
Location: The Netherlands
Distribution: Debian/Ubuntu and RHEL/CentOS
Posts: 42

Rep: Reputation: 18
Growing RAID array

Hi StamPit,

To my knowledge it's the other way around. The LVM is on top of the RAID array.

Here's an URL on which the RAID "grow" process is explained without failing a device. Never tried it though so this could also be a slow process.

http://scotgate.org/2006/07/03/growi...5-array-mdadm/

Hope this helps.

Best regards,

Tim
 
Old 03-16-2010, 03:10 AM   #3
StamPit
LQ Newbie
 
Registered: Mar 2010
Location: Saint-Petersburg, Russia
Distribution: Gentoo Linux
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, Tim.

But i need extreme flexibility and i don`t know how much disk space i need on each partition, so i decided to use strange scheme: physical device -> LVM -> md RAID -> another LVM.
 
Old 03-16-2010, 03:17 AM   #4
timvandijk039
Member
 
Registered: Jul 2009
Location: The Netherlands
Distribution: Debian/Ubuntu and RHEL/CentOS
Posts: 42

Rep: Reputation: 18
StamPit,

You may also want consider using a commercial solution such as Netapp (expensive) or QNAP (relative cheap). Both solutions offer extreme storage flexibility and manageability.

http://qnap.com/

Hope this helps (and good luck!)

Tim
 
  


Reply

Tags
mdadm, raid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
quorum device coudn't be online qrshat Solaris / OpenSolaris 0 06-18-2009 03:38 AM
LVM2 - CentOS 4.4 - Online resizing grant-skywalker Linux - General 6 03-27-2007 10:58 PM
Online ext3 FS Resizing? eglow Linux - Software 2 11-04-2006 10:55 AM


All times are GMT -5. The time now is 09:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration