Este contenido no está disponible en el idioma seleccionado.

3.2. Initial Setup Tasks


Initial GFS setup consists of the following tasks:
  1. Setting up logical volumes
  2. Making a GFS files system
  3. Mounting file systems
Follow these steps to set up GFS initially.
  1. Using LVM, create a logical volume for each Red Hat GFS file system.

    Note

    You can use init.d scripts included with Red Hat Cluster Suite to automate activating and deactivating logical volumes. For more information about init.d scripts, refer to Configuring and Managing a Red Hat Cluster.
  2. Create GFS file systems on logical volumes created in Step 1. Choose a unique name for each file system. For more information about creating a GFS file system, refer to Section 4.1, “Creating a File System”.
    You can use either of the following formats to create a clustered GFS file system:
    gfs_mkfs -p lock_dlm -t ClusterName:FSName -j NumberJournals BlockDevice
    mkfs -t gfs -p lock_dlm -t LockTableName -j NumberJournals BlockDevice
    You can use either of the following formats to create a local GFS file system:
    gfs_mkfs -p lock_nolock -j NumberJournals BlockDevice
    mkfs -t gfs -p lock_nolock -j NumberJournals BlockDevice
    For more information on creating a GFS file system, see Section 4.1, “Creating a File System”.
  3. At each node, mount the GFS file systems. For more information about mounting a GFS file system, see Section 4.2, “Mounting a File System”.
    Command usage:
    mount BlockDevice MountPoint
    mount -o acl BlockDevice MountPoint
    The -o acl mount option allows manipulating file ACLs. If a file system is mounted without the -o acl mount option, users are allowed to view ACLs (with getfacl), but are not allowed to set them (with setfacl).

    Note

    You can use init.d scripts included with Red Hat Cluster Suite to automate mounting and unmounting GFS file systems. For more information about init.d scripts, refer to Configuring and Managing a Red Hat Cluster.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.