On Mon, 2004-07-19 at 07:36, Ash wrote:
> Hi 
> I recently started using JFS and had a few basic
> questions to ask:
> 
> 1. I could not see any "Size" option in mkfs.jfs. I
> presume that means the FS I create will always fill up
> the available partition size. Is there any way to
> explicitly specify the size of the FS being created ?

Not currently.  I have in the past hacked up mkfs to do this for
testing, but I didn't really anticipate a public need for this.  It
would be an easy feature to add.

> 2. From the docs, I read that resize is possible with
> "mount -o remount,resize /mount point". I tried
> specifying resize=<some number> but it does not seem
> to work and gives me "bad option" errors.

That should work.  <some number> should be the number of 4K blocks.  If
the new size is larger than the partition, remount fails with the "bad
option" message.  You may get a better message from dmesg.

>  Putting #1
> and #2 together, it looks like if I increase the
> partition size of an existing JFS partition and then
> do a "mount remount,resize", it will basically
> increase the size of my FS to the new partition size.
> Is this correct ?
Yes

>  Is there any option in this case to
> specify size explicitly ?
resize=<new number of blocks> is supposed to work.
> 
> 3. Is there any  way to shrink the FS ?

No.
> 
> 4. What are the defragmentation issues? How do I find
> out to what extent is my FS defragmented ? Is there
> any tool to defrag a JFS partition.

Not yet.  One has been on my todo list, but hasn't received much
attention.  :^(

> Any help/docs/pointers will be greatly appreciated.
> 
> Thanks
> Ashish

Thanks,
Shaggy
-- 
David Kleikamp
IBM Linux Technology Center

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to