Re: mdadm --grow Hard Drive Size Puzzle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 30 Sep 2012 21:55:27 -0700 Aaron Greenspan <aarong@xxxxxxxxxxxxxxxxx>
wrote:

> Neil,
> 
> The kernel I'm using is...
> 
> [root@kermit plainsite]# uname -a
> Linux kermit.thinkcomputer.com 2.6.32-71.el6.i686 #1 SMP Fri Nov 12 04:17:17 GMT 2010 i686 i686 i386 GNU/Linux
> 
> However, I have downloaded an update that I can install and hopefully that will fix the issue.

You don't actually need to install a new kernel - though it certainly won't
hurt.

Just reboot and you will be able to resize the array.

> 
> One other question: why do df, /proc/mdstat, and other utilities always list the RAID arrays in random order? I'm always expecting md0 to show up first, followed by md1, md2, etc. but this is rarely actually the way that the arrays are ordered. It makes it kind of confusing when different utilities do things differently.

I think the correct word is "arbitrary", not "random".

Just adjust your expectations.  Don't expect any particular order, and then
it won't look wrong.

Things tends to be listed in the order they are created, or the reverse of
that.  Though in some cases it might be the ordering of some hash of some
value.

If you want something sorted, use "sort" :-)

NeilBrown



> 
> Thanks for your help,
> 
> Aaron
> 	
> Aaron Greenspan
> President & CEO
> Think Computer Corporation
> 
> telephone +1 415 670 9350
> toll free +1 888 815 8599
> fax +1 415 373 3959
> e-mail aarong@xxxxxxxxxxxxxxxxx
> web http://www.thinkcomputer.com

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux