Link to home
Start Free TrialLog in
Avatar of CCBIL
CCBILFlag for United States of America

asked on

Openfiler storage configuration

I have a configuration question that is more advisory in nature than how-to.

I have an Openfiler box that will be used for archival (non-live production) storage for an application that runs independently on four servers.  Each server will have its own LUN to archive to.  I know how to create partitions, volumes, and LUNs.

Since Openfiler doesn't do thin provisioning, I have to estimate up front how much space each server will need for archiving.   However, It could turn out after putting the archive box in place that one server actually needs more space and another might need less, and I want to make resizing each server's space as painless as possible.  (It's a new system and we have no history for how much space each server will need.)

So my question is, should I make the free disk space one big partition and one big volume and split the space up at the LUN level, or the volume level,  or should I make each server's space separate from the partition level down?

My instincts are to do the former, throwing all the space (not including the OS) into a single partition and make that partition a single volume, which I then split up into four LUNs, one for each server.  Any advice?
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

>  one big volume and split the space up at the LUN level,
Use LVM (Logic Volume Management) for each Linux server.
Then you can painlessly resize the filesystem without reboot the system.

Here is a beginner guide of LVM
http://www.howtoforge.com/linux_lvm

Basically, when you need more disk space, you can add more LUN to the server, and format it as PV and add to the existing volume group. Then extend the logic volume size painlessly (filesystem on top of logic volume just extend itself).
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CCBIL

ASKER

The original advice said to use one big volume and multiple LUNs, but in Openfiler it appears volumes and LUNs have a one-to-one relationship.  I created a single large volume group, then created volumes for each LUN in my plan, then mapped a LUN to each volume.  So in my case, not entirely accurate but it definitely put me on the right path toward solving my problem.  I appreciate the help very much!