xfs
[Top] [All Lists]

Re: partition > 2 gigabyte

To: Steve Lord <lord@xxxxxxx>
Subject: Re: partition > 2 gigabyte
From: Reinhard Knecht <rkn@xxxxxx>
Date: Thu, 15 Mar 2001 18:35:44 +0100
Cc: linux-xfs@xxxxxxxxxxx
References: <200103151546.f2FFkEc19676@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
i don't mix up the kernel and the tools but i got it working now.
before i compiled the xfs as module, now i compiled it into the kernel and it works (gcc 2.91.66).
btw, what's with the acl's?
they are not available in the beta?

thank's anyway...
 

Steve Lord wrote:

You mention downloading the beta and the cvs tree, are you running commands
from the beta with the kernel from the cvs tree?

There will be problems if you are doing this, although your mkfs output
does not go with that. Can you check the /dev entry for hdb2, it should look
like this:

brw-rw----    1 root     disk       3,  66 Aug 24  2000 /dev/hdb2

Also, if you do need to rebuild user space commands from the cvs tree
it is fairly easy. First you need to install the e2fsprogs-devel code,
this is fairly easy to locate on the net if you do not have it (go
to freshmeat and do a search).

cd into the cmd/xfsprogs directory and type

./Makepkgs

this will build the rpm files for the commands, you can just do an rpm -U
with these packages. Even though the name has changed from the beta it
will still update on top of the beta rpms.

Steve

>> hello,
>> i've downloaded the linux-2.4-xfs and the linux-2.4-xfs-beta from the cvs some day's ago.
>> i've got them compiled with gcc-2.95.2 but when i try to create a filesystem on partitions larger than 2 gig, i get the following:
>> belana:~ # mkfs.xfs /dev/hdb2
>> /dev/hdb2: Invalid argument
>> can't get size of data subvolume
>> Usage: mkfs.xfs
>> /* blocksize */         [-b log=n|size=num]
>> /* data subvol */       [-d agcount=n,agsize=n,file,name=xxx,size=num,
>>                             sunit=value,swidth=value,unwritten=0|1]
>> /* inode size */        [-i log=n|perblock=n|size=num,maxpct=n]
>> /* log subvol */        [-l agnum=n,internal,size=num,logdev=xxx]
>> /* naming */            [-n log=n|size=num|version=n]
>> /* prototype file */    [-p fname]
>> /* quiet */             [-q]
>> /* version */           [-V]
>> /* realtime subvol */   [-r extsize=num,size=num,rtdev=xxx]
>>                         devicename
>> devicename is required unless -d name=xxx is given
>> internal 1000 block log is default unless overridden or using a volumemanager with log
>> num is xxx (bytes), or xxxb (blocks), or xxxk (xxx KB), or xxxm (xxx MB)
>> value is xxx (512 blocks)
>> for the entire device (/dev/hdb) it works.
>> with gcc-2.91.66 (egcs 1.12) i can't compile the kernel at all.
>> any suggestions?

-- 
Reinhard Knecht                              Reinhard.Knecht@xxxxxx
International Electronics & Engineering                  Luxembourg
Tel: (+352) 42 47 37-332                   Fax: (+352) 42 47 37-200
 
<Prev in Thread] Current Thread [Next in Thread>