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.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
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
 
Volume expansion

Volume expansion

2006-06-08       - By Collins, Kevin [MindWorks]

 Back
Reply:     1     2     3     4     5     6     7  

Sorry, step 9 really should be to use fsadm to extend the lvol AND the
filesystem...

Kevin

-- --Original Message-- --
From: taroon-list-bounces@(protected)
[mailto:taroon-list-bounces@(protected)] On Behalf Of Collins, Kevin
[MindWorks]
Sent: Thursday, June 08, 2006 10:54 AM
To: Discussion of Red Hat Enterprise Linux 3 (Taroon)
Subject: RE: Volume expansion

Ed,

  if you are on a partition now, there is no way to get to LVM
without copying the data. However, if your goal is to add 400GB more and
you are willing to copy the data, you can get there without needing
800GB more space.

The steps would be:

1) present new 400GB LUN to server (i.e., as /dev/sde2)
2) pvcreate /dev/sde2 (inits the disk for use in LVM)
3) vgcreate using /dev/sde2 (creates your volume group, which will then
have 400GB available)
4) lvcreate a 400GB logical volume
5) mkfs the new lvol
6) copy data from /dev/sde1 to new filesystem and validate
7) pvcreate /dev/sde1 (init disk for use in LVM - data IS WIPED!)
8) vgextend /dev/sde1 in VG
9) lvextend lvol by 400GB

Hope that helps.

Kevin

-- --Original Message-- --
From: taroon-list-bounces@(protected)
[mailto:taroon-list-bounces@(protected)] On Behalf Of Ed Wilts
Sent: Thursday, June 08, 2006 10:33 AM
To: taroon (RHEL 3)
Subject: Volume expansion

I'll admit to not having done much with LVM and now I need to know it...
I've got a 400GB disk (/dev/sde1) mounted on /foo.  I want to double
the volume size without creating a new volume and moving the existing
data over.  I can't just move some directories to the new volume - it
has to be one big volume when I'm done.  Any suggestions on how best to
do this with LVM in RHEL 3?  This is a SAN-based volume and it's
possible that I can grab another 400GB on the same frame and grow the
LUN if that makes it easier.

Thanks,
       .../Ed
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts@(protected)
Member #1, Red Hat Community Ambassador Program

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



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