LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2011, 05:52 PM   #1
somsharan
LQ Newbie
 
Registered: Apr 2011
Location: banglore
Posts: 4

Rep: Reputation: 0
Smile increasing array partition


Here i am trying to increase the array partition using the commands of mdadm such as:
mdadm --grow /dev/md0 --size="60000"
and resizing it using resize2fs and then adding a array or
the /dev/md0 which i created using dd command

Problem here is it does not increasing the size of array partition from 20m ,which i used for only one loop device but after adding 2 or 3 more i am unable to increase the size of the array partition . even after sync all those.....

Plz help me out it's very urgent.....

Last edited by somsharan; 04-25-2011 at 05:54 PM.
 
Old 04-25-2011, 07:21 PM   #2
spankbot
Member
 
Registered: Aug 2007
Posts: 133

Rep: Reputation: 16
Quote:
Originally Posted by somsharan View Post
Here i am trying to increase the array partition using the commands of mdadm such as:
mdadm --grow /dev/md0 --size="60000"
and resizing it using resize2fs and then adding a array or
the /dev/md0 which i created using dd command

Problem here is it does not increasing the size of array partition from 20m ,which i used for only one loop device but after adding 2 or 3 more i am unable to increase the size of the array partition . even after sync all those.....

Plz help me out it's very urgent.....
Without knowing more about your raid array, it's difficult to help. However I have found these instructions useful in the past.

http://www.howtoforge.com/how-to-res...-software-raid
 
Old 04-26-2011, 02:26 PM   #3
somsharan
LQ Newbie
 
Registered: Apr 2011
Location: banglore
Posts: 4

Original Poster
Rep: Reputation: 0
The commands present in that link i have done it earlier only but not got the result...
I will till u in detail

i have used dd if=/dev/zero 0f=disk0 bs=1M count=256
and used losetup for this
i have repeated this and created about 5 of them by name disk0-5,
and used mdadm command and created a raid 1 using two of the above arrays or disk's of

now what i want is to increase the size of that raid which here it shows only 20m i used the given commands present in the link
but it does not increase and shows error that it's not enough memory ,and also after sync all disk to one raid the memory
used is not increasing for the for the given array....

plz help....
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "Insert" & "Delete" key returns "~" in a terminal. sharky Linux - General 15 04-26-2011 08:36 AM
"Multicolumn" or "tiles", or even "list" icon view on desktop, in any DE? the dsc Linux - Desktop 3 02-20-2010 09:25 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 07:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 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