SCIENTIFIC-LINUX-USERS Archives

August 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Connie Sieh <[log in to unmask]>
Reply To:
Connie Sieh <[log in to unmask]>
Date:
Tue, 2 Aug 2005 10:46:55 -0500
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (37 lines)
Joakim,

On Tue, 2 Aug 2005, Joakim Sernbrant wrote:

> When I installed SL4.0 it created one logical volume for / which is not
> suitable for a production environment. Instead of reinstalling I
> wanted to try to resize the volume so I could create new volumes in
> the volume group instead. The main issue I ran into was that resize2fs
> is not in e2fsprogs-1.35-11.6.EL4 (its in e2fsprogs-1.32-15.1 on my
> 3.x machines). Don't know why.

Seems like the upstream vendor forgot it.  It is in 
e2fsprogs-1.35-12.1.EL4 which is part of Update 1.

ftp://ftp.scientificlinux.org/linux/scientific/41/i386/SL/RPMS/

-Connie Sieh
> 
> Steps to follow (I resized / to 8G):
> 
> BACKUP!
> download and build http://e2fsprogs.sourceforge.net/
> boot from cdrom to rescue mode (choose not to mount)
> lvm vgchange -ay
> mount /dev/VolGroup00/.. /somewhere
> copy the resize2fs binary from /somewhere
> unmount /somewhere
> e2fsck -f -v /dev/VolGroup00/..
> resize2fs /dev/VolGroup00/.. 8G
> lvm lvreduce -L 8G /dev/VolGroup00/..
> e2fsck -f -v /dev/VolGroup00/.. (to be sure)
> 
> Done, now you can create volumes with lvcreate.
> 
> Joakim
> 

ATOM RSS1 RSS2