>>> On Thu, Nov 8, 2007 at  6:44 PM, in message
<[EMAIL PROTECTED]>, Fred
Schmidt <[EMAIL PROTECTED]> wrote: 
-snip-
> So what is the best way of reducing the size of an ext3 filesystem then?

That's going to depend largely on what is making up the underlying block 
device.  If it's an LVM Logical Volume, it's very easy:
- Unmount the file system
- lvreduce the logical volume
- e2fsck -f /dev/vgname/lvname
- resize2fs /dev/vgname/lvname
- Remount the file system
If it's not on LVM, things get harder.

> Mount the disk on another Linux system and copy to a new, smaller
> filesystem?

Probably not.

> Or can this be done on the Linux system itself?

Most likely.  Are you running z/VM, or is this in an LPAR?  (Please let it be 
on z/VM...)

> Where can I find some information on the steps to go about doing this, as
> I'm no Linux guru?

You can get an idea of what's involved at 
http://linuxvm.org/Info/HOWTOs/movefs.html  You'll need to mentally adjust for 
some relatively small differences between breaking a file system out of the 
root file system, and just copying one to another piece of disk.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to