2,187
edits
m (→Create iSCSI Disk: Minor proc correction) |
m (→Set-up: Addded "Create NFS Disk") |
||
Line 9: | Line 9: | ||
## Change line 94 of <code> /opt/openfiler/var/www/includes/network.inc </code> to | ## Change line 94 of <code> /opt/openfiler/var/www/includes/network.inc </code> to | ||
## <code> exec("sudo ifconfig -a | grep 'eth'",$output); </code> | ## <code> exec("sudo ifconfig -a | grep 'eth'",$output); </code> | ||
=== Create NFS Disk === | |||
# Login to OpenFiler (user/pass openfiler/password) | |||
# First create a partition... | |||
## Go to '''Volumes''', and to the '''Create a new volume group''' section | |||
## Click on the '''create new physical volumes''' link | |||
## In the resulting '''Block Device Management''' page, edit the disk that we want to create the NFS storage on. | |||
## Find the '''Create a partition in /dev/sd''x''''' section and hit '''Create''' (default options) | |||
# Then create a volume group for NFS use... | |||
## Go to '''Volume Groups''' (right-hand menu) and find the '''Create a new volume group''' section | |||
## Give the volume group a name (eg volgrp1), select the partition/physical volume and hit '''Add volume group''' | |||
## Click on the '''create new physical volumes''' link | |||
## Go to '''Add Volume''', and find the '''Create a volume in ''volgrp''''' section | |||
## Give the volume a name (eg nfs), select all space, change Filesystem to '''ext3''', and hit '''Create''' | |||
# Create network share | |||
## On '''System''' tab, find '''Network Access Configuration''' | |||
## Add in the local network address, or specify individual NFS client IP address, etc, and hit '''Update''' | |||
# Enable NFS share | |||
## On '''Services''' tab, '''Enable''' NFSv3 server | |||
## Go to the '''Shares''' tab, and create a new share (eg share) under the NFS mount | |||
## Once created, click on the share name to edit it | |||
## Enable RO or RW NFS access (as required) for the specified networks/hosts | |||
## Click '''Update''', then return using the '''Back to shares list''' option | |||
# Use the entire mount path (eg /mnt/volgrp1/nfs/share) when adding the share to an ESX | |||
=== Create iSCSI Disk === | === Create iSCSI Disk === |