I am more than a little confused about the need to resize (shrink) a filesystem<br>in addition to shrinking the partition<br><br><br>---from man resize_reiserfs<br>SYNOPSIS<br>       resize_reiserfs [ -s [+|-]size[K|M|G] ] [ -j dev ] [ -fqv ] device<br>
<br>DESCRIPTION<br>       The resize_reiserfs tool resizes an unmounted reiserfs file system.  It<br>       enlarges or shrinks an reiserfs file system located on a device....<br><br>If the -s option is not specified, the filesystem will<br>
       be  resized  to fill the given device.<br><br><br> If  you  wish to shrink a reiserfs partition, first use resize_reiserfs<br>       to shrink the file system. You may then use  cfdisk(8)  to  shrink  the<br>       device.  When  shrinking  the  size of the device, make sure you do not<br>
       make it smaller than the reduced size of the reiserfs filesystem.<br>--- end man page---<br><br><br>I had thought that the size of a filesystem was just the amount<br>of stuff in there as given by df in the Used column<br>
eg on my external usb /dev/sdc1  which is one large reiserfs partition<br>[root@bootp ~]# df -kh<br>Filesystem            Size  Used Avail Use% Mounted on<br>...<br>/dev/sdc1             233G   16G  218G   7% /media/disk-1<br>
<br>so, to me that meant the &quot;size of the filesystem&quot; was given in Used = 16G<br>but it now seems that is wrong? ie <br>&quot;size of the filesystem&quot; is actually the entire diskpartition =233G ?<br><br><br>
so if I want to shrink dev/sdc1 partition down to 50G<br> I must <br>1) shrink the filesystem first using resize_reiserfs also to 50G ?<br>2) then use cfdisk to shrink the partition to 50G ?<br><br>If that is correct, will I retain or lose my current data in that 16G Used?<br>
<br><br>Is it easier/better to use parted,gparted... for shrinking reiserfs partitions?<br><br>there was one recent  msg on this list  from Mikkel I think<br>saying parted  can handle resizing both partitions and filesystems?<br>
If that is right, it seems less chance for error compared to using two separate tools.<br><br>One thing i found on google  a 2007 gparted manual<br>says  libreiserfs   is needed<br>Is there any way to get  libreiserfs  on my fc5 system?<br>
There are apparently live cds,knoppix, gparted,...<br> will these have everything needed including libreiserfs?<br><br>thanks for any help, pointers,....<br>Jack<br><br>