Sponsored Content
Full Discussion: Build NFS Server on CentOS
Top Forums UNIX for Advanced & Expert Users Build NFS Server on CentOS Post 303025921 by Peasant on Thursday 15th of November 2018 07:00:40 AM
Old 11-15-2018
Can you clarify, do you need two boxes with NFS as clustered resource or ?
For snapshots and stuff (outside cloud provider), ZFS filesystem should offer the same, if used on NFS server as filesystem.
There is also an options of LVM snapshots.

You can use it on open solaris implementations such as OmniOS or modern linux with openzfs implementation.
OpenZFS

This is what is proven and working.

There is BRTFS as well as a GPL COW filesystem, with snapshots, which i cannot suggest, since i'm not sure if it is mature enough for production usage.

Regards
Peasant.

Last edited by Peasant; 11-15-2018 at 08:03 AM.. Reason: Forgot lvm capabilities.
 

8 More Discussions You Might Find Interesting

1. Solaris

NFS write failed for server.....error 11 (RPC: Server can't decode arguments)

Hello! I have a Linux nfs server (called server100 below) with a export nfs. My problem is that the Solaris client (called client100 below) doesn't seems to like it. In the Solaris syslog I got following messages (and after a while the solaris client behave liked its hanged/to buzy). Also see... (3 Replies)
Discussion started by: sap4ever
3 Replies

2. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

3. UNIX for Advanced & Expert Users

Mail server in centos!!

Hi all!! 1. I am totally new to Mail server but now in our management decided to run own mail server, still now we are running our mail server using godaddy!! if we transfer all mail accounts to here means what are the steps i need to do?? 2. I have basic idea in postfix , which... (2 Replies)
Discussion started by: anishkumarv
2 Replies

4. Linux

Moving Whole OS Centos Server

I currently have a web server its on a small harddrive I didn't know my site would grow so fast but now I need a bigger hard drive. Instead of adding another harddrive (host charge monthly of how many hard drives connected to server) is there anyway to just move the whole os to a bigger hard drive... (2 Replies)
Discussion started by: awww
2 Replies

5. Web Development

Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini)

Hello everyone, I would like to setup a lamp server from a minimal distro and to compile PHP, MySQL and Apache myself. I have chosen CentOS minimal for the OS and I am trying to build the stack by hand... But well, it appears I need some help! First: I am looking for good and recent... (3 Replies)
Discussion started by: freddie50
3 Replies

6. UNIX for Dummies Questions & Answers

NFS issue with autofs in CentOS 6.3

I am running CentOS 6.3 as a VM on a host which has the same installation. I configured my NFS server and I am guessing it works. I say guessing because I can mount the desired folder with mount command on my client machine. So, when I run: mount -t nfs -o vers=3 vm2.domain.com:/nethome /nethit... (7 Replies)
Discussion started by: bashily
7 Replies

7. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

8. UNIX for Beginners Questions & Answers

FreeBSD vs CentOS as server

I have a HP Proliant server with centOS. This is the software that I run: - SSH + SFTP - NGINX - PHP7 - Bitcoind - MYSQL Would you recommend FreeBSD or CentOS for this software. Also how hard is it to set this up with FreeBSD compaired to CentOS? I never used FreeBSD before, is it hard... (3 Replies)
Discussion started by: jwz104
3 Replies
OCF_HEARTBEAT_FILESY(7) 					OCF resource agents					   OCF_HEARTBEAT_FILESY(7)

NAME
ocf_heartbeat_Filesystem - Manages filesystem mounts SYNOPSIS
Filesystem [start | stop | notify | monitor | validate-all | meta-data] DESCRIPTION
Resource script for Filesystem. It manages a Filesystem on a shared storage medium. The standard monitor operation of depth 0 (also known as probe) checks if the filesystem is mounted. If you want deeper tests, set OCF_CHECK_LEVEL to one of the following values: 10: read first 16 blocks of the device (raw read) This doesn't exercise the filesystem at all, but the device on which the filesystem lives. This is noop for non-block devices such as NFS, SMBFS, or bind mounts. 20: test if a status file can be written and read The status file must be writable by root. This is not always the case with an NFS mount, as NFS exports usually have the "root_squash" option set. In such a setup, you must either use read-only monitoring (depth=10), export with "no_root_squash" on your NFS server, or grant world write permissions on the directory where the status file is to be placed. SUPPORTED PARAMETERS
device The name of block device for the filesystem, or -U, -L options for mount, or NFS mount specification. (required, string, no default) directory The mount point for the filesystem. (required, string, no default) fstype The optional type of filesystem to be mounted. (required, string, no default) options Any extra options to be given as -o options to mount. For bind mounts, add "bind" here and set fstype to "none". We will do the right thing for options such as "bind,ro". (optional, string, no default) statusfile_prefix The prefix to be used for a status file for resource monitoring with depth 20. If you don't specify this parameter, all status files will be created in a separate directory. (optional, string, default .Filesystem_status/) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 60. stop Stops the resource. Suggested minimum timeout: 60. notify Suggested minimum timeout: 60. monitor Performs a detailed status check. Suggested minimum timeout: 40. Suggested interval: 20. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a Filesystem resource using the crm(8) shell: primitive example_Filesystem ocf:heartbeat:Filesystem params device=string directory=string fstype=string op monitor depth="0" timeout="40" interval="20" SEE ALSO
http://www.linux-ha.org/wiki/Filesystem_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_FILESY(7)
All times are GMT -4. The time now is 02:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy