LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-23-2009, 05:11 PM   #1
cannonrj
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Increasing the size of an IBM SAN partition - RHEL4u4


My first post, might as well start with a doozy... Apologies if you get bogged down in too much detail.

We have and IBM Blade Center, with some blades running Oracle on RHEL4u4. Attached to the blade center are a couple of IBM storage units, (DS4700 and DS4300), on redundant fiber. The blade is running RDAC to sort out failover. The result of this is, when I create a logical drive on the DS4300, I see a single device at the blade, (/dev/sdb1), ready for all the standard Linux commands like fdisk, pvcreate, mke2fs, lvcreate, (you get the idea).

So, here's my problem. I created a logical drive with 200 GB of space available. Initially, I allocated 100 GB, which can be seen by the server. Using fdisk, I created a partition, (Linux LVM), using all the space I could see. I then created the requisite physical volume, volume group, logical volume, and ext3 file system on top of that. No problem, so far.

As file systems do, this one began to fill up, so I went to the IBM Storage Manager Client and increased the size of the logical drive, adding some of that reserve of extra disk space. When I execute:

# fdisk -l

I can see the extra space, it's there.

IBM was nice enough to include on line instructions on how to increase the size of everything PROVIDED you started with an ext2 or ext3 file system at the bottom of the chain. I didn't do that, I started with LVM physical volumes. (I wanted the option of increasing the size of the file system on the fly when there was space available.

Before you ask, "why don't you call IBM and ask them", I'm sad to say that our maintenance contract has expired, and while I hope it is renewed soon, it won't be for a while.

I have commands like /sbin/parted and /user/sbin/mppBusRescan, at my disposal, but since this is a production machine, I would just as soon get some insight from those who might have actually done this before diving in. Maybe you didn't let your support expire like we did. :-(

Thanks in advance for any help you can provide.

Jeff
 
Old 02-07-2009, 06:14 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

you can do it in 2 ways.

Create a new partition or resize the old. This can sometimes a little bit tricky because the kernel does not remember partition size changes on the fly. Use pvcreate to create a physical volume on this, add them to the logical volume and use lvextend to extend the volume.

Or you can take a look at EVMS.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing size of / partition. p_s_shah Linux - Server 4 11-20-2008 06:21 PM
Connection a RHEL4U4 Server to the SAN via Emulex FC Crash Linux - Enterprise 2 10-22-2007 03:12 PM
increasing partition size Don Powell Linux - Hardware 3 06-23-2005 09:14 AM
Increasing partition size?? petey *BSD 5 04-25-2002 07:24 AM
Increasing Partition Size? petey Linux - General 1 04-24-2002 11:33 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration