> On Thursday 29 August 2002 15:35, Felipe Coelho wrote:
> 
> > > 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...).
> 
> I'm sure it's something earlier than the 1.0.21 version, which we 
> released on August 12th.
> 
> To update it would require rebuilding the kernel after installing and 
> updating the kernel source.  The latest JFS source is available at our 
> website: //oss.software.ibm.com/jfs/.  There is a "patch instructions" 
> link on the webpage with instructions if you are inclined to attempt to 
> do this.
> 
> > 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?
> 
> There is no utility at the moment.  When written, a resize utility would 
> just make sure that the volume is mounted and it would issue the same 
> mount command anyway.
> 
> > > 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.
> 
> I'm not familiar with the details of PM or Parted.  Can you use them to 
> resize the partition even though they can't resize the file system, or 
> do they refuse to resize the volume at all if JFS is there?

That IS the point. I didn't tested PM on Linux, my experience comes from shrinking a 
FAT32 partition when I first installed Linux (Mandrake at that time). For FAT32, it 
worked perfectly. Anyway, the only Linux filesystem it sees is ext2. So, when I 
installed Slackware, there was already a Linux partition there, I just had to reformat 
it to JFS (no dealing with changing sizes). I'd like to know what's the advantage of 
resizing a filesystem if there's not such a way to resize the partition in which it 
lives. Can LVM achieve this  - to change the physical partition size (I'm not using 
LVM right now - I've heard I'd have to convert my filesystem to LVM - is that true?)?

PS: Just for curiosity...how new is JFS on Linux ? I know it's quite old on AIX, it 
was a great surprise when Slackware prompted me with the option to use it...


> 
> >
> > Thanks for your help - and for the quick answer,
> 
> You're welcome.  This will be easier in the future when the resize 
> function makes it into the distributions.  It's just too new right now.
> -- 
> 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