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 Greg Hosler

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

<disclaimer>I haven't used RHEL3 since about U4+</disclaimer>

RHEL3 did not have ext2online resize command, and required volumes to be
offline to be resized. You then used e2fsadm (as I recall) to resize both
the volumn as well as the partition.

in your case, you shouldn't need to make a new volume, just add more space
to the original volume.

The tricky part will be resizing the lv, though.

I can't think of any way to do this from a mounted running system.

Several ideas which do pop into mind follow (none are that elegant though):

       - boot into rescue mode (from disc1: linux rescue), and see if
         e2fsadm is on the disc, and if it iss, try that. Not sure if
         that will work, or not. If the rescue cd will recognize your
         lvm when it mounts your file systems, then you _might_ be ok.

       - install a simple install onto a spare disk, on a spare machine.
         borrow your root disks/volumes from your main system, plug them in
         as secondary disks on the new system, and do the extension there.

         (I can think of all kinds of problems you might encounter, none of
         them pleasant, but it *might* work.)

needless to say, before any of the above, you really want to backup your system.

on the other hand, the installer can do this, so it probably should work (and
since the installer can do this, it _should_ work from a rescue cd, since that's
the base set of utilities that the installer happens to use :)

lvm on RHEL3 and lvm on RHEL4 are 2 different animals. From what I undserstand,
they come from completely different code bases. I would probably not expect
ext2online from lvm2 (rhel4) to work on rhel3. I do not recall if there was
work going on on ext2online for lvm1 (rhel3) or not.

best rgds (and best wishes!),

-Greg Hosler


On 04-Oct-2005 (See http://Oct-2005.ora-code.com) Collins, Kevin (MindWorks) wrote:
>> Hi,
>>
>>       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?
>>
>> 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...
>>
>> Can I fix this? Is the ext2online command functional on RHEL 3? I'd
>> prefer not to redo thepost work I have already completed.
>>
>> Thanks,
>>
>> Kevin

+-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------+

Please also check the log file at "/dev/null" for additional information.
               (from /var/log/Xorg.setup.log)

| Greg Hosler                                   greg@(protected)    |
+-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------+

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