« July 2009
SunMonTueWedThuFriSat
   
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today
XML

Neat blogs

Navigation

Editing

Powered by Roller Weblogger.

statcounter.com

clustrmaps.com

Locations of visitors to this page

technorati.com

20080912 Friday September 12, 2008
Setting up a pnfs community

Over in Latest - pNFS Admin Documentation, Lisa Week has a wiki entry which tells you how to configure a pNFS community for testing our bits. I do things a little different when I'm testing bits to put out on OpenSolaris.

The primary difference is that I need a NFSv4 share and I also need to configure the exports to support the NFS cthon tests. I.e., I need root access.

Configuring the mds

[root@pnfs-9-10 ~]> zpool create -f data /dev/dsk/c1t0d0s7
[root@pnfs-9-10 ~]> zfs create data/nfs4
[root@pnfs-9-10 ~]> zfs set sharenfs=rw,anon=0 data/nfs4
[root@pnfs-9-10 ~]> mdsadm -o add -t auth -a ip=10.1.233.50
adding: IP Addr - 10.1.233.50

This has the hidden effect of making sure the NFS server module is loaded in memory. The act of sharing will do that. I also have anon=0 which effectively allows root from any machine.

Configuring the ds

[root@pnfs-9-08 ~]> zpool create -f data /dev/dsk/c2t0d0s7
[root@pnfs-9-08 ~]> zfs create data/nfs4
[root@pnfs-9-08 ~]> zfs set sharenfs=rw,anon=0 data/nfs4
[root@pnfs-9-08 ~]> zfs create -t pnfsdata data/pnfs
[root@pnfs-9-08 ~]> dservadm addstor data/pnfs
[root@pnfs-9-08 ~]> dservadm addmds 10.1.233.52.8.1
[root@pnfs-9-08 ~]> dservadm enable

Again, while I appear to skip some steps from the Latest - pNFS Admin Documentation, they are being done implicitly. The zfs set sharenfs takes place of the share commands in the wiki. But please follow the wiki if you are unsure about what to do.

So I've set up the DS and also enabled it such that I can test NFSv4 against it as well.


Originally posted on Kool Aid Served Daily
Copyright (C) 2008, Kool Aid Served Daily

Trackback URL: http://blogs.sun.com/tdh/entry/setting_up_a_pnfs_community
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed