xfs_growfs doesn't grow on 2TB raid

jack the ripper evil_metalpeet at hotmail.com
Wed Jun 10 10:54:20 CDT 2009


I had not done the reboot (I'm not used to that anymore with linux). I did now though and everything is solved:

RoSe v1per # /root/mount.data1
mdadm: /dev/mddata1 has been started with 6 drives.
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.

RoSe v1per # xfs_growfs /mnt/data1/
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 blocks changed from 488383679 to 610479663

RoSe v1per # df --si
Filesystem             Size   Used  Avail Use% Mounted on
udev                    11M   349k    11M   4% /dev
shm                    1.1G      0   1.1G   0% /dev/shm
/dev/mapper/data1      2.6T   1.9T   655G  74% /mnt/data1

Thank you all for helping me so quickly and sorry for bothering all of you with the solution being so simple!

> Date: Wed, 10 Jun 2009 15:05:36 +0200
> From: mw at dermichi.com
> To: evil_metalpeet at hotmail.com
> CC: xfs at oss.sgi.com
> Subject: Re: xfs_growfs doesn't grow on 2TB raid
> 
> > Can you confirm that I need GPT for my software raid?
> You don't need GPT for software RAID unless one of your disks is >2TB. For example I am running a 3TB XFS file system directly on /dev/md0. Have you done a reboot, maybe the new size has not really been applied? Never tried it with LUKS/cryptsetup though, maybe it won't to above 2GB.
> 
> # df -h /dev/md0
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md0              2.8T  1.5T  1.4T  53% /san1
> 
> hth Michael

_________________________________________________________________
Je hele online leven op één stek met Windows Live
http://www.microsoft.com/belux/nl/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090610/745d1df3/attachment.htm>


More information about the xfs mailing list