Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
resize "/ " under LVM

resize "/ " under LVM

2005-10-05       - By Collins, Kevin (MindWorks)

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

John,

  thanks - not sure why it didn't occur to me to do a rescue disk
attempt at extending :)

I'll give that a shot.

Thanks,

Kevin

-- --Original Message-- --
From: taroon-list-bounces@(protected)
[mailto:taroon-list-bounces@(protected)] On Behalf Of John Haxby
Sent: Wednesday, October 05, 2005 8:56 AM
To: Discussion of Red Hat Enterprise Linux 3 (Taroon)
Subject: Re: resize "/" under LVM

Collins, Kevin (MindWorks) wrote:

> I can't believe nobody has any help to offer on this... Usually, there

> is a response to everything. Anyone?

Well, I looked at the original message and thought "oh dear, what a
mess, where to start?"

>         I just used kickstart to install 3 systems with U6. I used the

> same partition sizes as I had previously used with RH9, and
> unfortunately I now have about 700 bytes free in "/". Is it possible
> to extend this filesystem under LVM?
>
On RHEL3, I'd do this by booting a rescue disk and extending the logical

volume and file system off line.   In fact, I have done just that at
least once and it works just fine.

> I tried creating a new LVOL (lvolslash) that is bigger, copying all
> the contents of /  (lvol1) to it, changing /etc/fstab and
> /etc/grub.conf to point to the new lvolslash. The system reboots fine,

> and a "df" shows my new lvol mounted as root. However, the df also
> shows the size of my original lvol1 and says it is mounted when I try
> to resize2fs it...
>
Did you re-run mkinitrd?   (The linuxrc in there contains a line to
mount the root logical volume as /sysroot.)   That *might* fix things up

and then you can delete the old logical volume.  If not, undo what
you've done so far, delete the new logical volume and go back to doing
an off-line resize.

> Can I fix this? Is the ext2online command functional on RHEL 3? I'd
> prefer not to redo thepost work I have already completed.
>
ext2online isn't available (or doesn't work, or both) for RHEL3, you
need to do file system resizing off line.   If it's the root file system

that means booting off a rescue disk.

jch

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list



--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list