public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs_growfs doesn't grow on 2TB raid
@ 2009-06-10 10:52 jack the ripper
  2009-06-10 11:09 ` Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: jack the ripper @ 2009-06-10 10:52 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 2521 bytes --]


Hey all,





I ran against a problem today. I had a raid5 array with 5x500GB and
I've grown the array to 6x500GB. So far I always used this method to
add a disk to my raid setup:





    * Partition the disk with one fd partition


    * mdadm --add /dev/mddata1 /dev/sdf1 


    * mdadm --grow /dev/mddata1 --raid-devices=x


    * cryptsetup luksOpen /dev/mddata1 data1 


    * xfs_check /dev/mapper/data1 


    * mount the disk


    * xfs_growfs /dev/mapper/data1 




But at the last step, when I do xfs_growfs, nothing happens. I
found out about the -d option and this is what I get (pay attention to
the last line):





		  
RoSe linux # xfs_growfs /dev/mapper/data1 -d


meta-data=/dev/mapper/data1      isize=256    agcount=9, agsize=61047928 blks


         =                       sectsz=512   attr=2


data     =                       bsize=4096   blocks=488383679, imaxpct=25


         =                       sunit=0      swidth=0 blks


naming   =version 2              bsize=4096   ascii-ci=0


log      =internal               bsize=4096   blocks=32768, version=2


         =                       sectsz=512   sunit=0 blks, lazy-count=0


realtime =none                   extsz=4096   blocks=0, rtextents=0


data size unchanged, skipping	




After searching around on the net I found out that I probably hit
"a" 2TB limit but I checked my kernel support and that seems to be ok:





		  RoSe linux # zgrep -i efi /proc/config.gz


CONFIG_EFI=y


CONFIG_FB_EFI=y


CONFIG_EFI_VARS=y


CONFIG_EFI_PARTITION=y	




Then I caught some hints about mbr and gpt, but is this also valid
with a software raid? That's some kind of a virtual drive, isn't it?
What can I do to bread this 2TB limit, or is it something else that
causes the grow to fail?





Proof that there is more size available:





		  


RoSe linux # mdadm -D /dev/mddata1


/dev/mddata1:


        Version : 0.90


  Creation Time : Sat May 30 19:25:26 2009


     Raid Level : raid5


     Array Size : 2441919680 (2328.80 GiB 2500.53 GB)


	





		  RoSe linux # df --si


Filesystem             Size   Used  Avail Use% Mounted on


/dev/mapper/data1      2.1T   2.0T    63G  97% /mnt/data1
_________________________________________________________________
Je hele online leven op één stek met Windows Live
http://www.microsoft.com/belux/nl/windows/windowslive/default.aspx

[-- Attachment #1.2: Type: text/html, Size: 4152 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-06-10 15:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-10 10:52 xfs_growfs doesn't grow on 2TB raid jack the ripper
2009-06-10 11:09 ` Christoph Hellwig
2009-06-10 11:22   ` jack the ripper
2009-06-10 11:44     ` Christoph Hellwig
2009-06-10 12:12 ` Emmanuel Florac
2009-06-10 12:16 ` Michael Monnerie
2009-06-10 12:30   ` jack the ripper
2009-06-10 13:05     ` Michael Weissenbacher
2009-06-10 15:54       ` jack the ripper
2009-06-10 13:37 ` Eric Sandeen
2009-06-10 15:06   ` jack the ripper
2009-06-10 15:43     ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox