matx's picture

Promise SANLink2

Just noticed that Promise has released information about their Thunderbolt 2 based products, the SANLink2 fibre channel adapter and their Pegasus2 RAIDs.

Not sure when are released to market officially. But we finally have a dual 8GB thunderbolt to fibre channel adapter from Promise.

Xsan AFP reshare problems

Hi all,

Firstly, sorry for cross-posting, but I did already post this over on [url=]Creative Cow/url.

I've been hitting a huge problem with our Xsan reshare this week. I'm getting to the end of my rope pretty fast, so any insights are greatly appreciated.

Our setup:

Xsan 2.3
2x MDCs @ 10.7.5
4x (ActiveStorage) head raids + 1x head chassis for metadata and other data
Qlogic 5600 switches
1x beefy Mac Pro AFP reshare @ 10.7.5
- 12-core @ 2.4GHz
- 64GB RAM
- 6x 4Gb FC link
- 2x 10Gb Ethernet bonded link via SmallTree card (lab1)
- 6x 1Gb Ethernet bonded link via SmallTree card (lab2)
Lab 1 = 40x 2013 iMacs @ 10.8.4
Lab 2 = 17x 2012 iMacs @ 10.8.4

The media that the students are using is primarily old DV-NTSC footage or AVHCD right off our new cameras. We also have several students building simple websites, and they store all their source files and images on this volume. The volume is definitely able to handle these data rates, so the problem must be with my reshare configuration. After a server reboot, the labs all perform fine, but as the day wears on, we eventually reach a point where new users can no longer connect to the AFP reshare. One class arrives, logs in, edits, logs out, (repeat), but by the fourth class, the students get a nasty prompt that the sever is unavailable. Users who are already connected can continue working just fine.

In additional to that, we occasionally have users experience choppy connections to the server. Their footage will suddenly just pause for about 30 seconds. A reboot of the client workstation usually clears this up, but not always (it'll crop up again). When I check the AFP connection list on the server, I usually see two or more duplicate connections from the workstation in question, the older "stale" ones all with increasing idle times while the active connection shows 0 idle time.

When new connections can no longer be made to the server, that's usually the point where I need to run and forcibly shut it off. Even after a fresh reboot of the server and the clients, things aren't perfect. I'm now seeing constant metadata traffic between my reshare server and the acting MDC. It's all very small data (<1MB/s), but it's constant, even when no users are connected via AFP. My acting MDC also has >100% CPU load for the fsm process, which currently boasts 299 threads (is this normal?). The kernel process on the reshare server is constantly at about 20% CPU, and the AppleFileServer process always has about 204 threads (seems high, right?).

Some frequent log messages I'm seeing on the reshare server are:

Oct 24 18:10:39 reshare-server kernel[0]: add_fsevent: unable to get path for vp 0xffffff80881e67c0 (-UNKNOWN-FILE; ret 22; type 2)
Oct 24 18:10:39 reshare-server kernel[0]: add_fsevent: unable to get path for vp 0xffffff80881e67c0 (-UNKNOWN-FILE; ret 22; type 4)
Oct 24 19:03:51: --- last message repeated 1 time ---

Oct 24 19:55:23 reshare-server AppleFileServer[958]: received message with invalid client_id 1583
Oct 24 19:55:25 reshare-server AppleFileServer[958]: _Assert: /SourceCache/afpserver/afpserver-585.7/afpserver/AFPRequest.cpp, 2006
Oct 24 19:55:25: --- last message repeated 2 times ---

Oct 24 20:33:01 reshare-server AppleFileServer[958]: MDSChannelPeerCreate: (os/kern) invalid argument
Oct 24 20:33:51: --- last message repeated 1 time ---

The first group of log messages above seems to relate to when someone has experienced a bad (stale) connection, though I can't confirm this. After said client reboots, these message cease. I was really happy when I made it the whole morning without seeing any of them, but then they started cropping up again. All these messages tend to increase with more use of the client systems, but I can't pinpoint the cause.

I've been debating converting this setup to NFS instead of AFP, but several of our workflows rely pretty heavily on the ACLs that are in place on this volume. My understanding is that Apple's nfsd doesn't pass the ACLs along to the clients. We tried NFS for a small subset of machines for a semester, but AFP was much easier and gave us our ACLs. I also have another almost identical reshare server ready and waiting to go in the rack, but I'd like to make sure I'm heading in the right direction before I throw more hardware at the situation.

Thank you!

Sam Edwards's picture

Any Mavericks out there?

Hey Folks,
I can see apple advertises xsan with the new server v3. Has anybody tried it? Sorry if I missed another thread on this subject.

Chanmax07's picture

Xsan extend volume problem with total free space


I have an xsan with 2 mdc (mountain lion) with 1 eclass promise and 1 jclass and 2 volumes.

Recently I need to add space and more bandwitch.

I add 1 e class and 1 j class to my fabric swicth with four lun.

I extend the first volume in my san. After that my volume is up to 32To.

The free space of the volume is wrong. I see in xsan admin 9To of free space but I have only 9To of data in my volumes.

I think the extension of volume create a mirror of my lun.

Do you confirm that ? And what si the method to expand a volume with new contrôler and more space

King regards<

Gerard's picture

StorNext Reshare (SMB vs NFS)



In my current environment, we are running
Xsan 3.0
Few fiber switches (5600s)
Few RAIDs (Promise E & Js)
Two MDCs (Xserves)
MDCs and fiber-clients are running OSX 10.6.8

We are looking into several, new solutions and StorNext is one of them. Alot of our users reshare, via AFP, from a Xserve, which has the Xsan volume attached on there

If we proceed with StorNext, we can either go with a SMB reshare over a Windows Server (Windows 7 Server) or a NFS reshare over a Linux server (Red Hat Enterprise).

In my experience with SMB, it is more stable since it will group multiple request together, reducing network overload. With NFS, it will offer better speeds

With a large group of reshare users, fifty, accessing large, Adobe files (Photoshop, Indesign, etc) at 4Gbs and up, which in your opinion would be the best reshare protocol to use?


Moe's picture

Disaster recovery using cvfsb ( spaces issues )

Hi All

Have a customer with an Xsan volume that got nasty, it won't mount anymore

We can retrieve files using the method described in this page

running commands like this works fine

[code]echo “save 0x3c4de8 /Volumes/restore/Projects/moonshine” | cvfsdb Testvol/code

My main issue is with folder paths that's got spaces in it ( tell me about naming guidelines ! )

If the destination has a space in the folder name, it doesn't work

So if we have a directory structure like VolumeRoot/Face/To Sound/

I can't retrieve files to it

running this

[code]echo "save 0x357c51f /Volumes/Restore1/Face/To\ Sound/test2.dv" | cvfsdb XSAN/code

gives : [code]syntax error. Enter "help" or "?" for help/code.

While if I eliminate the space, it works fine like below

[code]echo "save 0x357c51f /Volumes/Restore1/Face/To-Sound/test2.dv" | cvfsdb XSAN/code

I've tried various options for the syntax, but none seems to work with the spaces

Needless to say the volume structure is full of spaces ( as well as & , / and non-latin characters too! ) , so it's close to impossible to rename all such folders

Any help about including non-latin characters in this command syntax would be appreciated


tonyswu's picture

Volume Can't Be Opened Because You Don't Have Permission


We have an Xsan environment, with 2 Mac Mini running 10.8.4 as metadata controllers, Promise x30 RAID, and 5 Mac Pro clients. Today all of a sudden Xsan stopped working. The volume now has a lock on it, and when I double click on it it says:

The folder cannot be opened because you don't have permission to see its contents.

I opened up Xsan Admin, but when I try to set permission

I tried to change permission in Xsan Admin and propagate, but it gave me a strange error saying permission denied. I then noticed that the option to stop or restart volume has grayed out.

If I try to do sudo chown or sudo chmod, it is still permission denied. If I sudo cd into the directory, I can seem to still access the files.

Can someone offer some advice? Thanks.

marook's picture

Xsan Volume will not allow access - RW mount is Locked

Hi All,

I have a client with a Xsan 2.2.2/10.6.8 system where the one Volume has started to act up.

I have run cvfsck -j & -vw and all seems fine.
I'm running snfsdefrag -vr on the volume, and a lot of files are being moved.

The volume will mount on MDC's and clients, but we can not get access to it in Finder.
The volume icon has a Lock on it in XSan Admin and in Finder.
Trying to change Permissions in XAdmin, throw error: 100069 (CANNOT_SET_ACL_FILE_ERR).
I can SU to root and access the volume in Terminal, delete files and such ok.
I have rm -f .DS_Store on the root of the volume, did not help.

I can't se any extended attributes on the volume...

Anyone have a clue what is going on here??


Nolf's picture

Error creating Open Directory Replica OS X 10.8.5


Good afternoon. Need help in creating Open Directory Replica. At the moment there are 2 servers (os x 10.8.5) Some server master OD, the second want to set up Open Directory Replica.

slapconfig -ver (master od):
[code]admin $ sudo slapconfig-ver
2013-10-11 08:43:34 +0000 command: / usr / libexec / slapd-T cat-c-f / etc / openldap / slapd.conf-s ou = macosxodconfig, cn = config, dc = test249, dc = home
2013-10-11 08:43:34 +0000 Error execing slapcat: slapcat: slap_init no backend for "ou = macosxodconfig, cn = config, dc = test249, dc = home"
LDAP Setup Tool (slapconfig), Apple, Inc., Version 1.2/code
slapconfig-ver ( future replica od):
[code]admin $ sudo slapconfig -ver
2013-10-11 08:43:34 +0000 command: / usr / libexec / slapd-T cat-c-f / etc / openldap / slapd.conf-s ou = macosxodconfig, cn = config, dc = test249, dc = home
2013-10-11 08:43:34 +0000 Error execing slapcat: slapcat: slap_init no backend for "ou = macosxodconfig, cn = config, dc = test249, dc = home"
LDAP Setup Tool (slapconfig), Apple, Inc., Version 1.2
changeip-chackhostname (master od):
[code]Primary address =

Current HostName = tech-p**.pr***
DNS HostName = tech-p**.pr***

The names match. There is nothing to change.
dirserv: success = "success"
changeip-chackhostname ( future replica od):
[code]Primary address =

Current HostName = tech-s**.pr***
DNS HostName = tech-s**.pr***

The names match. There is nothing to change.
dirserv: success = "success"/code

On the master node configuration was no problem but when I tried to connect a replica error:
[code]admin $ sudo / usr / sbin / slapconfig-preflightreplica tech-p**.pr***diradmin Password:
2013-10-11 08:52:06 +0000 NSMutableDictionary * _getRootDSE (const char *): rootDSE not found
2013-10-11 08:52:06 +0000 Error: Unable to determine the master's software version./code

tonyswu's picture

How to Patch In to Fiber Switch


Supposedly you have 2 fiber switches, and your servers / storage devices all have 2 fiber connectors, do you connect 1 to each switch, or do you connect both to 1 switch and rely on the switch uplink?

Just being curious.


Subscribe to Xsanity RSS