Red Hat GLOBAL FILE SYSTEM 5.2 Guida di Installazione

Navigare online o scaricare Guida di Installazione per Manuali per software Red Hat GLOBAL FILE SYSTEM 5.2. Red Hat GLOBAL FILE SYSTEM 5.2 Installation guide Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - Red Hat Global File

Global File SystemRed Hat Global FileSystem5.2Global_File_SystemISBN: N/APublication date: May 2008

Pagina 2 - Global File System

Bugzilla component: Documentation-clusterBook identifier: Global_File_System(EN)-5.2 (2008-05-21T15:10)By mentioning this manual's identifier, we

Pagina 3

GFS OverviewThe Red Hat GFS file system is a native file system that interfaces directly with the Linux kernelfile system interface (VFS layer). A GFS

Pagina 4

1. New and Changed FeaturesThis section lists new and changed features included with the initial release of Red HatEnterprise Linux 5.• GULM (Grand Un

Pagina 5

The GFS SAN configuration in Figure 1.1, “GFS with a SAN” provides superior file performancefor shared files and file systems. Linux applications run

Pagina 6

Figure 1.2. GFS and GNBD with a SANFigure 1.3, “GFS and GNBD with Directly Connected Storage” shows how Linux clientapplications can take advantage of

Pagina 7 - 2. Related Documentation

Figure 1.3. GFS and GNBD with Directly Connected Storage3. GFS Software ComponentsTable 1.1, “GFS Software Subsystem Components” summarizes the GFS so

Pagina 8 - 3. Document Conventions

4. Before Setting Up GFSBefore you install and set up GFS, note the following key characteristics of your GFS filesystems:GFS nodesDetermine which nod

Pagina 9 - 4. Feedback

Getting StartedThis chapter describes procedures for initial setup of GFS and contains the following sections:• Section 1, “Prerequisite Tasks”• Secti

Pagina 10

2. Create GFS file systems on logical volumes created in Step 1. Choose a unique name foreach file system. For more information about creating a GFS f

Pagina 11 - GFS Overview

Managing GFSThis chapter describes the tasks and commands for managing GFS and consists of thefollowing sections:• Section 1, “Creating a File System”

Pagina 12 - 1. New and Changed Features

This book provides information about installing, configuring, and maintaining Red Hat GFS (RedHat Global File System) for Red Hat Enterprise Linux 5.2

Pagina 13 - 2.2. Economy and Performance

system options.UsageWhen creating a clustered GFS filesystem, you can use either of the following formats:gfs_mkfs -p LockProtoName -t LockTableName -

Pagina 14

required for each node that mounts the file system. (More journals than are needed can bespecified at creation time to allow for future expansion.)Blo

Pagina 15 - 3. GFS Software Components

gfs_mkfs -p lock_dlm -t alpha:mydata2 -j 8 /dev/vg01/lvol1mkfs -t gfs -p lock_dlm -t alpha:mydata2 -j 8 /dev/vg01/lvol1Complete OptionsTable 3.1, “Com

Pagina 16 - 4. Before Setting Up GFS

Flag Parameter Description-t LockTableNameUsed in a clustered file system. This parameter hastwo parts separated by a colon (no spaces) asfollows: Clu

Pagina 17 - Getting Started

-o aclGFS-specific option to allow manipulating file ACLs.BlockDeviceSpecifies the block device where the GFS file system resides.MountPointSpecifies

Pagina 18

Option Descriptionignore_local_fsCaution: This option should not be usedwhen GFS file systems are shared.file system. By default, using lock_nolockaut

Pagina 19 - Managing GFS

3. Unmounting a File SystemThe GFS file system can be unmounted the same way as any Linux file system — by using theumount command.NoteThe umount comm

Pagina 20

gfs_tool gettune MountPointMountPointSpecifies the directory where the GFS file system is mounted.ExamplesIn this example, all GFS tunable parameters

Pagina 21 - Examples

statfs_fast = 05. GFS Quota ManagementFile-system quotas are used to limit the amount of file system space a user or group can use. Auser or group doe

Pagina 22 - Complete Options

gfs_quota warn -g Group -l Size -f MountPointUserA user ID to limit or warn. It can be either a user name from the password file or the UIDnumber.Grou

Pagina 23 - 2. Mounting a File System

Global File System: Red Hat Global File SystemCopyright © 2008 Red Hat, Inc.Copyright © 2008 Red Hat, Inc. This material may only be distributed subje

Pagina 24 - Complete Usage

gfs_quota get -u User -f MountPointDisplaying Quota Limits for a Groupgfs_quota get -g Group -f MountPointDisplaying Entire Quota Filegfs_quota list -

Pagina 25

The hard limit set for the user or group. This value is zero if no limit has been set.ValueThe actual amount of disk space used by the user or group.C

Pagina 26 - 3. Unmounting a File System

You can use the gfs_quota sync command to synchronize the quota information from a nodeto the on-disk quota file between the automatic updates perform

Pagina 27

enforcement is done by changing a tunable parameter, quota_enforce, with the gfs_toolcommand. The quota_enforce parameter must be disabled or enabled

Pagina 28 - 5. GFS Quota Management

quota_account tunable parameter to 0. This must be done on each node and after each mount.(The 0 setting is not persistent across unmounts.) Quota acc

Pagina 29

# gfs_tool settune /gfs quota_account 1# gfs_quota init -f /gfs6. Growing a File SystemThe gfs_grow command is used to expand a GFS file system after

Pagina 30 - Command Output

After running the gfs_grow command, you can run a df MountPoint command on the filesystem to check that the new space is now available in the file sys

Pagina 31 - 5.3. Synchronizing Quotas

7. Adding Journals to a File SystemThe gfs_jadd command is used to add journals to a GFS file system after the device where thefile system resides has

Pagina 32

SB multihost format = 1401Block size = 4096Journals = 8Resource Groups = 76Mounted lock proto = "lock_dlm"Mounted lock table = "tng3-cl

Pagina 33 - Comments

Complete Usagegfs_jadd [Options] {MountPoint | Device} [MountPoint | Device]MountPointSpecifies the directory where the GFS file system is mounted.Dev

Pagina 34

Global File System

Pagina 35 - 6. Growing a File System

Direct I/O is a feature of the file system whereby file reads and writes go directly from theapplications to the storage device, bypassing the operati

Pagina 36

FileSpecifies the file where the directio flag is assigned.ExampleIn this example, the command sets the directio flag on the file named datafile in di

Pagina 37

DirectorySpecifies the directory where the inherit_directio flag is set.ExampleIn this example, the command sets the inherit_directio flag on the dire

Pagina 38

gfs_tool setflag inherit_jdata Directorygfs_tool clearflag inherit_jdata DirectorySetting and Clearing the jdata Flaggfs_tool setflag jdata Filegfs_to

Pagina 39 - 8. Direct I/O

Each file inode and directory inode has three time stamps associated with it:• ctime — The last time the inode status was changed• mtime — The last ti

Pagina 40 - 8.2. GFS File Attribute

10.2. Tune GFS atime QuantumWhen atime updates are enabled, GFS (by default) only updates them once an hour. The timequantum is a tunable parameter th

Pagina 41 - 8.3. GFS Directory Attribute

UsageStart Suspensiongfs_tool freeze MountPointEnd Suspensiongfs_tool unfreeze MountPointMountPointSpecifies the file system.ExamplesThis example susp

Pagina 42 - 9. Data Journaling

MountPointSpecifies the file system to which the action applies.ExampleThis example reports extended file system usage about file system /mnt/gfs.[roo

Pagina 43 - 10. Configuring atime Updates

The number of gfs_glock structures that currently exist in gfs.locks heldThe number of existing gfs_glock structures that are not in the UNLOCKED stat

Pagina 44 - 10.1. Mount with noatime

glocks reclaimedThe number of glocks which have been reclaimed.glock dq callsThe number of glocks released since the file system was mounted.glock pre

Pagina 45 - 10.2. Tune GFS atime Quantum

Introduction ... vii1. Audience ...

Pagina 46

MountPointSpecifies the file system to which the action applies.ExampleThis example reports statistics about the file system mounted at /mnt/gfs.[root

Pagina 47 - 12.2. Displaying GFS Counters

NoteThe information that the gfs_tool stat command displays reflects internal filesystem information. This information is intended for development pur

Pagina 48

di_entries = 0no_formal_ino = 0no_addr = 0di_eattr = 0di_reserved =00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00

Pagina 49

other command options.Usagegfs_fsck -y BlockDevice-yThe -y flag causes all questions to be answered with yes. With the -y flag specified, thegfs_fsck

Pagina 50

Starting pass1cLooking for inodes containing ea blocks...Pass1c completeStarting pass2Checking directory inodes.Pass2 completeStarting pass3Marking ro

Pagina 51

VariableSpecifies a special reserved name from a list of values (refer to Table 3.5, “CDPN VariableValues”) to represent one of multiple existing file

Pagina 52 - 13. Repairing a File System

n01# cd /gfsn01# mkdir n01 n02 n03n01# ln -s @hostname logn01# ls -l /gfslrwxrwxrwx 1 root root 9 Apr 25 14:04 log -> @hostname/drwxr-xr-x 2 root r

Pagina 53

IndexAadding journals to a file system, 27atime, configuring updates, 33mounting with noatime, 34tuning atime quantum, 35audience, viiCCDPN variable v

Pagina 54

Iinitial taskssetup, initial, 7introduction, viiaudience, viiMmanaging GFS, 9maximum size, GFS file system, 1, 6mount table, 14mounting a file system,

Pagina 56 - Chapter 3. Managing GFS

IntroductionThe Global File System Configuration and Administration document provides information aboutinstalling, configuring, and maintaining Red Ha

Pagina 57

• Using GNBD with Global File System — Provides an overview on using Global Network BlockDevice (GNBD) with Red Hat GFS.• Linux Virtual Server Adminis

Pagina 58

Additionally, the manual uses different strategies to draw your attention to pieces of information.In order of how critical the information is to you,

Commenti su questo manuale

Nessun commento