RE: Volume expansion

Ben Spencer <[email protected]>
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
You may be able to do this without LVM (unless you really want to use
LVM -- then, as you see, it can be a bit more interesting).

You stated that you can grow the LUN. You didn't mention the file system
type, so I will assume ext3.

1) grow the LUN on the SAN
2) If needed, reboot the system so that it will really see the new size
(though it won't appear just yet). This may be optional depending on
what your SAN is.
3) umount /dev/sde1
4) resize2fs /dev/sde1
5) follow screen suggestions (usually an e2fsck)
6) mount /dev/dse1

Benji
---
Benji Spencer
System Administrator
Ph: 312-329-2288

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ed Wilts
Sent: Thursday, June 08, 2006 12:33 PM
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:[email protected]
Member #1, Red Hat Community Ambassador Program

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.