7 step 7: backing up the system database, 2 creating a file system - sfs20 storage, Step 7: backing up the system database -14 – HP StorageWorks Scalable File Share User Manual
Page 98: 2 creating a file system — sfs20 storage -14, E section 5.2.), Ee section 5.1.7), Section 5.1.7, 2 creating a file system — sfs20 storage

Creating and modifying file systems
5–14
5.1.7 Step 7: Backing up the system database
Back up the system database, as follows:
1.
Back up the database, as follows:
# sfsmgr
.
.
.
sfs> create database_backup
2.
Save the backup file to an external system, as shown in the following example, where the full name of
the backup file is
/var/hpls.local/hplsdb_20040311-1041.tar.gz
, the external system
host address is
16.123.123.1
, and the account on the host is named
fred
:
# scp /var/hpls.local/hplsdb_200403011-1041.tar.gz \
[email protected]:/home/fred
5.2 Creating a file System — SFS20 storage
This section describes how to create a file system on an HP SFS system that uses SFS20 storage. (For
information on creating a file system on an HP SFS system that uses EVA4000 storage, see Section 5.1.)
To create a file system on an HP SFS system that uses SFS20 storage, perform the following tasks:
1.
Assign roles to LUNs (optional) (see Section 5.2.1).
2.
Identify file system information (see Section 5.2.2).
3.
Use the
create filesystem
command to create the file system (see Section 5.2.3).
4.
Back up the system database (see Section 5.2.4).
5.2.1 Step 1: Assigning roles to LUNs — SFS20 storage (optional)
When you use the
configure array array_number
command to configure an SFS20 storage array
during system installation, the system automatically assigns roles to the LUNs that are created by the
configure array array_number
command (refer to Appendix J of the HP StorageWorks Scalable
File Share System Installation and Upgrade Guide for more information on the
configure array
array_number
command). Specifically, the
configure array array_number
command creates
LUNs with an MDS role on SFS20 arrays that are attached to the MDS server and creates LUNs with an
OST role on SFS20 arrays that are attached to Object Storage Servers. You can use the
show lun
command to find out the role of each LUN, as follows:
sfs> show lun
LUN Array Role Used by Size(GB) Preferred Server Visible to
--- ----- ----- ---------- -------- ---------------- ----------
1 1 service south1 1 - south[1-2]
2 1 adm south1 40
- south[1-2]
3 1 mds - 1050 south2 south[1-2]
4 2 svcspare - 1 - south[1-2]
5 2 admspare - 40
- south[1-2]
6 2 mds - 1050 south2 south[1-2]
7 3 service south3 1 - south[3-4]
8 3 ost - 1050 south3 south[3-4]
9 4 svcspare - 1 - south[3-4]
10 4 ost - 1050 south4 south[3-4]
11 5 service south5 1 - south[5-6]
12 5 ost - 1050 south5 south[5-6]
13 6 svcspare - 1 - south[5-6]
14 6 ost - 1050 south6 south[5-6]