[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] NFSv4 pseudofilesystem



Hello all!

A little question.
It is possible to make a clustered NFSv4 service equal non clustered configuration like this:
/dev/sda1 ---> shared storage (GFS is  not available)
/dev/sdb1 ---> shared storage (GFS is not available)


mkdir -p /fs/{software,video}
mkdir  /{software.video}
mount /dev/sda1 /video
mount /dev/sdb1 /software
mount --bind /video /fs/video
mount --bind /software /fs/software

cat /etc/exports ---->

/fs     192.168.1.0/24(rw,nohide,insecure,no_subtree_check,fsid=0)
/fs/video 192.168.1.0/24(rw,nohide,insecure,no_subtree_check)
/fs/software 192.168.1.0/24(rw,nohide,insecure,no_subtree_check)
--->
Attempt to export with RHCS only one directory with  fsid=0 was succesfull.
This configuration ( with only one directory export ) works fine:
           <resources>
                        <fs device="/dev/sda1" force_fsck="0" force_unmount="0" fsid="46982" fstype="ext3" mountpoint="/video" name="fs_sda1" options
="" self_fence="0"/>
                        <ip address="192.168.1.8" monitor_link="1"/>
                        <nfsexport name="video"/>
                        <nfsclient name="wc_client" options="rw,insecure,sync,fsid=0,nohide,no_subtree_check" target="192.168.1.0/24"/>
                </resources>
                <service autostart="1" domain="fs_fail" name="fs_video" recovery="relocate">
                        <ip ref="192.168.1.8 "/>
                        <fs ref="fs_sda1">
                                <nfsexport name="fs_sda1">
                                        <nfsclient ref="wc_client"/>
                                </nfsexport>
                        </fs>
                </service>

This is my current cluster.conf:
 <resources>
                        <fs device="/dev/sda1" force_fsck="0" force_unmount="0" fsid="46982" fstype="ext3" mountpoint="/video" name="fs_sda1" options
="" self_fence="0"/>
                        <fs device="/dev/sdb1" force_fsck="0" force_unmount="0" fsid="46983" fstype="ext3" mountpoint="/software" name="fs_sdb1" optio
ns="" self_fence="0"/>
                        <ip address="192.168.1.8" monitor_link="1"/>
                        <nfsexport name="/fs"/>
                        <nfsexport name="video"/>
                        <nfsexport name="software"/>
                        <nfsclient name="wc_client_fs" options="rw,insecure,sync,fsid=0,nohide,no_subtree_check" target=" 192.168.1.0/24"/>
                        <nfsclient name="wc_client_v" options="rw,insecure,sync,nohide,no_subtree_check" target=" 192.168.1.0/24"/>
                        <nfsclient name="wc_client_s" options="rw,insecure,sync,nohide,no_subtree_check" target="192.168.1.0/24 "/>
                </resources>
                <service autostart="1" domain="fs_fail" name="fs_video" recovery="relocate">
                        <ip ref=" 192.168.1.8"/>
                        <nfsexport ref="/fs">
                                <nfsclient ref="wc_client_fs"/>
                        </nfsexport>
                        <fs ref="fs_sda1">
                                <nfsexport name="fs_sda1">
                                        <nfsclient ref="wc_client_v"/>
                                </nfsexport>
                        </fs>
                        <fs ref="fs_sdb1">
                                <nfsexport name="fs_sdb1">
                                        <nfsclient ref="wc_client_s"/>
                                </nfsexport>
                        </fs>
                </service>

This configuration does not work.


Your assistance will be greatly appreciated.
Thanks.






--
best regards,
Oleg Laktionov

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]