Volume Management with Openfiler SAN
Once you've installed and made some basic configurations to your Openfiler SAN, you'll be ready to add Volumes and make some RAID configurations. Log on to your Openfiler SAN Management console to get started.
Install hard drives
- Shutdown the SAN.
- Install physical hard drives.
- Power up the SAN.
You probably want clean hard drives to start with. I recommend using Parted Magic on a USB stick, for when Openfiler doesn't allow deletion of partitions on a new hard drive.
Create physical volumes
- Go to Volumes > Block Devices.
- In the Edit Disk column click the new hard drive that you've just installed (eg. /dev/sdb).
- Typically you will create one Primary, Physical volume using all cylinders.
- Or a Primary RAID array member using all cylinders.
- Click Create when you've made your edits.
- Go Back to the list of physical storage devices and repeat for other drives.
If you created at least 2 Primary RAID array members in the previous step you can perform the following:
- Go to Volumes > Software Raid.
- Choose RAID array type
- RAID 0, RAID 1, RAID 5, RAID 6 or RAID 10.
- Select your devices to be part of the RAID array.
- You can include at least one spare RAID device.
- Click Add array.
A Volume Group starts out by grouping physical volumes, so now that you have physical volumes (RAID or Single Primary volumes) you can create volume groups from that physical storage.
Create a new volume group
- Go to Volumes > Volume Groups.
- In the Create a new volume group section, enter a meaningful name for the group.
- Select physical volumes to add.
- Click Add volume group.
You now have an empty volume group (ie. it's made up of physical volumes, but there aren't any logical volumes created yet).
- Go to Volumes > Add Volume.
- Select the Volume Group you just created from the drop-down and click Change.
- In the Create a volume in... section, enter a new Volume Name.
- Enter a Volume Description.
- Set the Required Space (MB).
- Consider your snapshot requirements.
- Set the Filesystem / Volume type.
- XFS: Very large file systems (TBs and above).
- Ext3: Standard Linux filesystem.
- iSCSI: Filesystem that will be accessed by another system over TCP/IP (see setting up iSCSI target).
- Click Create.
- This might take some time depending on how large your volume is.
- Repeat to create more volumes inside this volume group.
Thanks for visiting.