- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Serviceguard for Linux Adds Support of the XFS Fil...
Operating System - Linux
1748232
Members
3518
Online
108759
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 10:52 AM
12-08-2004 10:52 AM
Serviceguard for Linux Adds Support of the XFS File System
Serviceguard for Linux will support the XFS file system if the Linux distribution vendor supports and delivers that file system.
As of this writing SUSE supports XFS, Red Hat does not.
Package Control Scripts contain references to the filesystem used by Serviceguard.
To use XFS in a Serviceguard package simply insert xfs into the FS_TYPE variable. Any additional fsck or mount options can be specified in the FS_FSCK_OPT, FS_MOUNT_OPT and FS_UMOUNT_OPT variables. In most implementations, the FS_FSCK_OPT variable for XFS will be blank. This is because XFS performs recovery at mount time and thus fsck on an XFS filesystem is not required. A sample usage with XFS would be:
LV[0]=/dev/vg0/lvol1
FS[0]=/pkga1
FS_TYPE[0]=”xfs”
FS_MOUNT_OPT[0]=”-o rw”
FS_UMOUNT_OPT[0]=””
FS_FSCK_OPT[0]=””
The Package Control Script template has a comment section that shows examples of filesystem interaction. The following example has been updated for support of XFS:
# FILESYSTEMS
# The filesystems are defined as entries specifying the logical
# volume, the mount point, the file system type, the mount,
# umount and fsck options.
# Each filesystem will be fsck'd prior to being mounted.
# The filesystems will be mounted in the order specified during package
# startup and will be unmounted in reverse order during package
# shutdown. Ensure that volume groups referenced by the logical volume
# definitions below are included in volume group definitions.
#
# Specify the filesystems which are used by this package. Uncomment
# LV[0]=""; FS[0]=""; FS_TYPE[0]=""; FS_MOUNT_OPT[0]="";
# FS_UMOUNT_OPT[0]=""; FS_FSCK_OPT[0]="" and fill in
# the name of your first logical volume, filesystem, type, mount,
# umount and fsck options for the file system.
# You must begin with LV[0], FS[0],
# FS_TYPE[0], FS_MOUNT_OPT[0], FS_UMOUNT_OPT[0], FS_FSCK_OPT[0]
# and increment the list in sequence.
#
# Valid types for FS_TYPE are 'ext2' , ‘ext3’. 'reiserfs', and ‘xfs’.
#
# For example, if this package uses the following:
# logical volume: /dev/vg01/lvol1 /dev/vg01/lvol2
# mount point: /pkg1a /pkg1b
# filesystem type: ext2 reiserfs
# mount options: read/write read/write
#
# Then the following would be entered:
# LV[0]=/dev/vg01/lvol1; FS[0]=/pkg1a; FS_TYPE[0]="ext2";
# FS_MOUNT_OPT[0]="-o rw"; FS_UMOUNT_OPT[0]=""; FS_FSCK_OPT[0]="";
#
# LV[1]=/dev/vg01/lvol2; FS[1]=/pkg1b; FS_TYPE[1]="reiserfs";
# FS_MOUNT_OPT[1]="-o rw"; FS_UMOUNT_OPT[1]=
As of this writing SUSE supports XFS, Red Hat does not.
Package Control Scripts contain references to the filesystem used by Serviceguard.
To use XFS in a Serviceguard package simply insert xfs into the FS_TYPE variable. Any additional fsck or mount options can be specified in the FS_FSCK_OPT, FS_MOUNT_OPT and FS_UMOUNT_OPT variables. In most implementations, the FS_FSCK_OPT variable for XFS will be blank. This is because XFS performs recovery at mount time and thus fsck on an XFS filesystem is not required. A sample usage with XFS would be:
LV[0]=/dev/vg0/lvol1
FS[0]=/pkga1
FS_TYPE[0]=”xfs”
FS_MOUNT_OPT[0]=”-o rw”
FS_UMOUNT_OPT[0]=””
FS_FSCK_OPT[0]=””
The Package Control Script template has a comment section that shows examples of filesystem interaction. The following example has been updated for support of XFS:
# FILESYSTEMS
# The filesystems are defined as entries specifying the logical
# volume, the mount point, the file system type, the mount,
# umount and fsck options.
# Each filesystem will be fsck'd prior to being mounted.
# The filesystems will be mounted in the order specified during package
# startup and will be unmounted in reverse order during package
# shutdown. Ensure that volume groups referenced by the logical volume
# definitions below are included in volume group definitions.
#
# Specify the filesystems which are used by this package. Uncomment
# LV[0]=""; FS[0]=""; FS_TYPE[0]=""; FS_MOUNT_OPT[0]="";
# FS_UMOUNT_OPT[0]=""; FS_FSCK_OPT[0]="" and fill in
# the name of your first logical volume, filesystem, type, mount,
# umount and fsck options for the file system.
# You must begin with LV[0], FS[0],
# FS_TYPE[0], FS_MOUNT_OPT[0], FS_UMOUNT_OPT[0], FS_FSCK_OPT[0]
# and increment the list in sequence.
#
# Valid types for FS_TYPE are 'ext2' , ‘ext3’. 'reiserfs', and ‘xfs’.
#
# For example, if this package uses the following:
# logical volume: /dev/vg01/lvol1 /dev/vg01/lvol2
# mount point: /pkg1a /pkg1b
# filesystem type: ext2 reiserfs
# mount options: read/write read/write
#
# Then the following would be entered:
# LV[0]=/dev/vg01/lvol1; FS[0]=/pkg1a; FS_TYPE[0]="ext2";
# FS_MOUNT_OPT[0]="-o rw"; FS_UMOUNT_OPT[0]=""; FS_FSCK_OPT[0]="";
#
# LV[1]=/dev/vg01/lvol2; FS[1]=/pkg1b; FS_TYPE[1]="reiserfs";
# FS_MOUNT_OPT[1]="-o rw"; FS_UMOUNT_OPT[1]=
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP