> On Thursday 29 August 2002 13:37, Felipe Coelho wrote:
> > I just read this post as I'm looking for a way to resize my JFS
> > filesystem (root filesystem in a Slackware box). I have a dual boot
> > win98/linux box and my HD has 20GB, being 16 for Win and 4 for linux.
> > I realized 4GB is not enough for linux, so I decided to shrink my
> > windows partition by 1 or 2GB, and increase my linux partition using
> > the free space. It's said in the post that resizing JFS would be
> > available at the end of May. Does anybody knows if it is possible by
> > now?
> Yes, it's possible if you update your kernel with JFS 1.0.21. If you're
> keeping up with the bleeding edge kernels, the 2.4.20-pre4 and 2.5.31
> and later kernels include the resize function.
How do I do this? I installed JFS from the beginning, Slackware 8.1 comes with a set of pre-compiled kernels, I selected one (version 2.4.18) with JFS support, formatted as JFS and it's working. I don't even know what version of JFS I am using (although I have to admit I had never tried to discover it anyway...).BTW, supposing I'm using the correct version, what's the path to follow, is the 'mount resize' the only way or there's some kind of utility out there?
> > What about the "mount resize option"? If I use it with no args,
> > will it be resized to all the space left on my HD?
> It will resize it to the size of the linux partition, so you will need
> to first resize the partition, then run the command "mount
> -oremount,resize /dev/partition".
> Resizing the partition is the tricky bit. You may be able to do it with
> Partition Magic or parted. It should be easier if you are using LVM.
> I haven't used any of these myself, so I can't give you much help here.
That's what I'm trying to discover. AFAIK, neither PM nor Parted support JFS resizing. I have LVM installed but I didn't used it yet - not on Linux, I used it in HP-UX inside SAM.
> > BTW, how should I
> > use it? Is it enough just adding it in the /etc/fstab ? Any
> > suggestions?
> The resize option is only valid with the remount option and the volume
> must be mounted read/write.
> > Thanks in advance - (and sorry for 2 many questions...),
> > Felipe.
> David Kleikamp
> IBM Linux Technology Center
Thanks for your help - and for the quick answer,