Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f6JDAEG12393 for linux-xfs-outgoing; Thu, 19 Jul 2001 06:10:14 -0700 Received: from relay.xlink.net (relay.xlink.net [193.141.40.5]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f6JDA9V12353 for ; Thu, 19 Jul 2001 06:10:09 -0700 Received: from lizard.webland.de (lizard.webland.de [194.122.76.201]) by relay.xlink.net (8.9.3/8.8.7) with ESMTP id PAA09889; Thu, 19 Jul 2001 15:09:56 +0200 (MET DST) Received: (from uucp@localhost) by lizard.webland.de (8.8.8/8.8.7) id PAA10021; Thu, 19 Jul 2001 15:09:56 +0200 (MET DST) >Received: from mobile.sauter-bc.com (unknown [10.1.6.21]) by basel1.sauter-bc.com (Postfix) with ESMTP id F119757306; Thu, 19 Jul 2001 15:19:18 +0200 (CEST) Received: from ch.sauter-bc.com (support.cad.sba [10.1.200.117]) by mobile.sauter-bc.com (Postfix) with ESMTP id 6A8BC25835; Thu, 19 Jul 2001 15:27:10 +0200 (CEST) Message-ID: <3B56DC0F.FD406DC1@ch.sauter-bc.com> Date: Thu, 19 Jul 2001 15:09:35 +0200 From: Simon Matter Organization: Sauter AG, Basel X-Mailer: Mozilla 4.77 [de] (X11; U; Linux 2.2.19-6.2.7 i686) X-Accept-Language: de-CH, en MIME-Version: 1.0 To: DaiGS Cc: theadadv@linuxone.co.kr, linux-xfs@oss.sgi.com Subject: Re: [Q] xfs_growfs erro References: <019501c1100f$7b854550$2fcca8c0@gibson> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk > DaiGS schrieb: > > Hi. > > I setup SGI XFS Release 1.0.1 & RedHat 7.1 & LVM 0.9.1Beta. > > I want to grow & decrease LVM XFS partition. > I make 1024M LVM partition, and run mkfs.xfs. > I have 1024M xfs partition. > After I use 'lvextend tool', grow my test lvm partion to 2048M. > And I use xfs_growfs, grow block size 300000. > XFS partition is 1195200Kbyte now. > And I think more big partion, but my computer is below error. > > xfs_growfs -D 300001 /mnt/01 > meta-data=/mnt/01 isize=256 agcount=10, agsize=32768 > blks > data = bsize=4096 blocks=300000, > imaxpct=25 > = sunit=0 swidth=0 blks, > unwritten=0 > naming =version 2 bsize=4096 > log =internal bsize=4096 blocks=1200 > realtime =none extsz=65536 blocks=0, rtextents=0 > xfs_growfs: ioctl failed - XFS_IOC_FSGROWFSDATA: Unknown error 990 > > What means above error? > What's problem? > > Please Reply. > Thank you. > =================================================================== > > Hi..... > > The same to me ......I got the same problem like > that "xfs_growfs: ioctl failed - XFS_IOC_FSGROWFSDATA: Unknown error > 990". > > In the following, I looked up many HOWTO about that. > And found some message in "XFS mailing list". > The one is that after each xfs_growfs run xfs_repair. > But on above situation, you can not successfully finish xfs_grow, > which the to me. > At this time, I tried a way to successful growing, that is I run > xfs_repair before run xfs_growfs, and there > was a wonder result, I sloved the problem on run xfs_growfs. I can > grow my XFS arbitrarily now...... > > I did not stand to the normal setp to do it, but I did successfully, > WHY....????? > Hi, I don't know what your problem is exactly but as stated in the FAQ at least someone was having problem with growing filsystems more than once. I did not get this problem even when growing 10 times but what I saw now is that you specified the amount to grow with the -D option and this could be the reason why it breaks. If the filesystem is okay and mountable now, could you try the following: - Reduce the Logical Volume to ~1500M - grow the fs with xfs_growfs /mnt/01 , fs should then be exactly the size of the volume. - Extend the volume to 1600M - grow the fs with xfs_growfs /mnt/01 - Extend the volume to 1700M - grow the fs with xfs_growfs /mnt/01 If this works it means that maybe the xfs_growfs -D option can be dangerous in certain situations. -Simon