Difference between revisions of "OpenFiler"

Jump to navigation Jump to search
1,234 bytes added ,  09:11, 24 November 2009
m
→‎Create iSCSI Disk: Final corrections
m (→‎Create iSCSI Disk: Added "proc don't work" note)
m (→‎Create iSCSI Disk: Final corrections)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
=== Terminology ===
* '''Physical Volume''' - Assigned space on a physical disk, to be used in a Volume Group
* '''Volume Group''' - Contains the Physical Volumes from which a Logical Volume can be created
* '''Logical Volume''' - What's presented to the outside world as storage (LUN)
== Set-up ==
== Set-up ==
=== Installation ===
=== Installation ===
Line 35: Line 41:


=== Create iSCSI Disk ===
=== Create iSCSI Disk ===
'''Either there is something missing from this proc, or there's a bug in the current version of code, as the iSCSI share never gets mounted, so isn't returned to a SendTargets query'''


# Login to OpenFiler (user/pass openfiler/password)
# Login to OpenFiler (user/pass openfiler/password)
Line 42: Line 46:
## Go to '''Volumes''', and to the '''Create a new volume group''' section
## Go to '''Volumes''', and to the '''Create a new volume group''' section
## Click on the '''create new physical volumes''' link
## Click on the '''create new physical volumes''' link
## In the resulting '''Block Device Management''' page, edit the disk that we want to create the iSCSI storage on.
## In the resulting '''Block Device Management''' page, edit the disk that we want to create the iSCSI storage on (should have 0 existing partitions).
## Find the '''Create a partition in /dev/sd''x''''' section and hit '''Create''' (default options)
## Find the '''Create a partition in /dev/sd''x''''' section and hit '''Create''' (default options)
# Then create a volume group for iSCSI use...
# Then create a volume group for iSCSI use...
Line 50: Line 54:
## Go to '''Add Volume''', and find the '''Create a volume in ''volgrp''''' section
## Go to '''Add Volume''', and find the '''Create a volume in ''volgrp''''' section
## Give the volume a name (eg iSCSIvolgrp), select all space, change Filesystem to '''iSCSI''', and hit '''Create'''
## Give the volume a name (eg iSCSIvolgrp), select all space, change Filesystem to '''iSCSI''', and hit '''Create'''
# Create the iSCSI Target...
## Go to '''iSCSI Targets''' and click on '''Add''' to create a IQN with the default name
## Go to the '''LUN Mapping''' tab, and click '''Map''' to map the volume to the IQN
## Go to the '''Network ACL''' tab, and ensure that connections are allowed
# Create network share
# Create network share
## On '''System''' tab, find '''Network Access Configuration'''
## On '''System''' tab, find '''Network Access Configuration'''
Line 55: Line 63:
# Enable iSCSI target
# Enable iSCSI target
## On '''Services''' tab, '''Enable''' iSCSI target server
## On '''Services''' tab, '''Enable''' iSCSI target server
## Go to '''Volumes''' and '''iSCSI Targets'''
## Click on add to create the default name IQN


== Troubleshooting ==
== Troubleshooting ==
=== High Memory Usage ===
Openfiler will cache all throughput, so as the NAS is used it will fill available memory.  This is normal, and to be expected.  Physical memory will be freed as required by other processes.  If you suspect a problem, login to the console and run the <code>top</code> command. As long as the amount of swap memory in use is low there is no problem.
See https://forums.openfiler.com/viewtopic.php?id=1017 for (a little) more info.
If running OpenFiler on a VM, you may want to minimise the amount of physical memory assigned to the NAS.  In which case keep an eye on the swap usage as you decrease the assigned physical memory, once it begins to rise you've gone a little too far.
=== Failed to get disk partition information ===
=== Failed to get disk partition information ===
To fix "Failed to get disk partition information" error when mounting iSCSI partition, see [http://ict-freak.nl/2009/03/14/vmware-failed-to-get-disk-partition-information/ this fix].
To fix "Failed to get disk partition information" error when mounting iSCSI partition, see [http://ict-freak.nl/2009/03/14/vmware-failed-to-get-disk-partition-information/ this fix].

Navigation menu