Xsan

billgarmen's picture

Rebuilding OD and keeping an existing xsan volume in 10.10

So after lots of testing and trials, I got this process to work. WRSTUDEN had the steps all right, it was just missing some steps to make it work for me.

This is to fixed a 10.10 OD issues by rebuilding the OD and connecting to back to an existing Xsan system

Backup your old xsan config files from /Library/Preference/Xsan
backup the system (just in case you need to restore)
back up your users if you can
Format the hard drive and reinstall the OS and server app

Now you have a clean fresh install.

In Server App Create New OD MASTER, import your users if you want to at this stage. (I did it at the end but I don’t think it makes a difference)
In Server App turn on Xsan (For SAN NAME use the exact same name you had used before)
This creates new Xsan config files and a new xsan config group in LDAP
Close Server app
Open up the new xsan config file (config.plist) at /Library/Preferences/Xsan and copy and past the following into the original config file from your old system:
the line below certSetRevision,
the line below sanRevision
and the line below sanUUID

The idea is to trick the system into thinking it created these files, and to re connect to the existing xsan
Once you copy the strings over, replace the original xsan config files the system made with the originals with modified stings of into /Library/Preferences/Xsan (I replaced all of the config files in the folder)
Copy those config files settings into LDAP with terminal - “sudo xsanctl pushConfigUpdate”
This will update the LDAP with the new xsan settings. If you got the stings wrong, they commend will error out and not work
Open server app
You should now have your original volumes listed in the Xsan pan
You can start the SAN from the GUI
Add all your users back and you are golden. If you have to rebuild the users you will have to reset permission on the volume for you clients to work.

This took a while to figure out, I hope it will help others.

phil_t's picture

XSAN 4 Yosemite 10.10.5 in dot local environments

Forums: 

Hi all,

I am currently still running a .local environment and was considering updating from 10.9.5 with XSAN 3 to XSAN4 (Server App). Heard that it won't allow dot local anymore.. Unfortunately I wont be able to change the environment because we have several subsidiaries.
Does anyone have experience with this issues? Been thinking of maybe setting up another DNS just for the production but worried about certificates...

best regards

roadmac's picture

XSAN Not Mounting: Missing LUNs

Promise E class and J class SAS expansion chassis
ActiveRaid with SAS expansion chassis
QLogic 5800 and 5600 FC switches
Mac 12 core 10.6.8 FinalCutServer Host
StorNext 4.7.1 HA MDC
XSan Clients

StorNext and Suse Linux can not see 2 stripe groups that are associated with the Promise Raid.
Running fs_scsi -p shows all devices except for the missing SG’s from the Promise Raid
Running “paths” in CVadmin shows the same results
The GUI for Active and Promise show all drives, LUNs mounted, controllers up.
Disk Utility shows missing LUNs on the ActiveRaid, but all LUNs for the Promise.

Quantum engineering spent hours on this issue and conclude that it is a hardware issue and can not be repaired in software.
Question: Can the 2 missing stripe groups be restored ?

Nolf's picture

Performance tuning XSAN

Good afternoon.
Need help and advice in the optimization of the raid for xsan. There raid 3 LUN (raid 1 - medatada, and 2 to 6 disk LUNs, the total partition data ± 40Tb). 99% of the information will be large-sized videos.
The question is what values for the parameters will be the most optimal.
For example:
block allocation size
allocation strategy
allocation settings
cache settings
and others

Thanks in advance for any advice<

XR's picture

XSAN 2.1.1 volume intrupted while deleting or moving files

Forums: 
Tags: 

Dear Concerns,

I am facing a problem in XSAN 2.1.1 volume. My XSAN volume gets interrupted whenever i delete data from it or move large number of files from one folder to another within a volume. Plus MDCs are updating metadata journal quite slow. (takes 4 to 5 seconds for updating any newly placed files)
Sometimes when i create a folder on volume from one mdc or client, other mdc and clients show it zero kb and as a ghost folder until i restart that client or mdc.

Anyone could please help me on this :(

Michael AE's picture

Xsan - Cant add clients, tried everything.

Tags: 

So.

Im sitting here with a Mac Pro as MDC, and a 20TB SAN.
Ive added multiple clients on here before, and never had any issues.
Now I need to add more clients, but it simply won't work! I get the "client config error" when using the MDC to add them.

I have tried to remove the xsan config folder, disabling/enabling xsan, restarted all machines and servers etc.

When I remove everything from the client, and go to the xsan to add a machine, I can see the machine, I can authenticate, and I don't make it a MDC - but then it starts to write the conf file, and it fails.

Anyone has any suggestions at all?

AnthonyRS's picture

Xsan MDC crashes when mounting volume with malloc error

Xsan 1.4.2 MDC 10.5.8 freezes and crashes when trying to mount the Volume on the MDC. the only error that gets reported is a malloc error.

This is an old Xsan 1.4.2 that can only mount on the MDC so they can backup the data so we can stop using the system. now in the middle of backing up this happens.
By the way this system has been running as a general use area and not really in proper use and not critical so it has only 1 MDC. But it turns out some people have put data on it they shouldnt have.

I can start and activate the Volume without any problems but the problem comes in when i want to mount the volume
The following is what the logs report when i run "sudo mount -t acfs DataSan /Volumes/DataSan" to mount the volume.

Aug 19 15:27:13 xserve03 kernel[0]: CVFS 'DataSan': Buffer Cache blksize 4096, #blocks min 256 max 8192
Aug 19 15:27:13 xserve03 kernel[0]: CVFS 'DataSan': request reserved space 0x2333333
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label MD_Lun con 2 lun 0 unit 0.0 state 0xf4 dev 0xe00000a rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label RLUN08 con 2 lun 0 unit 1.0 state 0xf4 dev 0xe000004 rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label RLUN07 con 1 lun 0 unit 2.0 state 0xf4 dev 0xe00000b rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label RLUN06 con 2 lun 0 unit 3.0 state 0xf4 dev 0xe00000c rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label RLUN05 con 1 lun 0 unit 4.0 state 0xf4 dev 0xe000003 rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label RLUN04 con 2 lun 0 unit 5.0 state 0xf4 dev 0xe000006 rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label RLUN03 con 1 lun 0 unit 6.0 state 0xf4 dev 0xe000005 rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label RLUN02 con 1 lun 0 unit 7.0 state 0xf4 dev 0xe000007 rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label RLUN01 con 2 lun 0 unit 8.0 state 0xf4 dev 0xe000008 rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label Alt_Lun03 con 1 lun 0 unit 9.0 state 0xf4 dev 0xe000009 rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label Alt_Lun02 con 1 lun 0 unit 10.0 state 0xf4 dev 0xe00000d rawname
Aug 19 15:27:13 xserve03 kernel[0]: MdOpenDisks: label Alt_lun01 con 2 lun 0 unit 11.0 state 0xf4 dev 0xe00000e rawname
Aug 19 15:27:13 xserve03 kernel[0]: CVFS 'DataSan': FsBlk size 16384, bits 14, mask 0x3fff
Aug 19 15:27:13 xserve03 kernel[0]: CVFS 'DataSan': Sector size 512, bits 9, mask 0x1ff
Aug 19 15:27:13 xserve03 kernel[0]: Mounted filesystem DataSan to FSM on host 192.168.101.24
Aug 19 15:27:13 xserve03 kernel[0]: Using v1 readdir for 'DataSan'
Aug 19 15:27:13 xserve03 kernel[0]: Xsan: enabling extended security on volume "DataSan"
Aug 19 15:27:13 xserve03 fsmpm[177]: PortMapper: Mount Event for /Volumes/DataSan on /dev/disk16
Aug 19 15:27:13 xserve03 com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 2 seconds
Aug 19 15:27:13 xserve03 fsmpm[177]: fsmpm(177,0xa0847720) malloc: *** error for object 0x809a00: non-page-aligned, non-allocated pointer being freed\n*** set a breakpoint in malloc_error_break to debug
Aug 19 15:27:22 xserve03 com.apple.launchd[1] (org.openldap.slapd[336]): Exited with exit code: 1
Aug 19 15:27:22 xserve03 com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 3 seconds
Aug 19 15:27:33 xserve03 com.apple.launchd[1] (org.openldap.slapd[337]): Exited with exit code: 1
Aug 19 15:27:33 xserve03 com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 3 seconds
Aug 19 15:27:39 xserve03 ReportCrash[339]: Formulating crash report for process fsmpm[177]
Aug 19 15:27:39 xserve03 kernel[0]: Reconnecting to local portmapper on host '127.0.0.1'
Aug 19 15:27:39 xserve03 kernel[0]: Fsmportmapper on host 127.0.0.1 not responding, retrying...
Aug 19 15:27:39 xserve03 KernelEventAgent[94]: tid 00000000 received VQ_NOTRESP event (1)
Aug 19 15:27:39 xserve03 KernelEventAgent[94]: tid 00000000 type 'acfs', mounted on '/Volumes/DataSan', from '/dev/disk16', not responding
Aug 19 15:27:40 xserve03 ReportCrash[339]: Saved crashreport to /Library/Logs/CrashReporter/fsmpm_2014-08-19-152738_xserve03-2.crash using uid: 0 gid: 0, euid: 0 egid: 0
Aug 19 15:27:41 xserve03 kernel[0]: Reconnecting to FSS 'DataSan'
Aug 19 15:27:41 xserve03 com.apple.launchd[1] (org.openldap.slapd[338]): Exited with exit code: 1
Aug 19 15:27:41 xserve03 com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 5 seconds
Aug 19 15:27:43 xserve03 sshd[292]: DEAD_PROCESS: 307 ttys001
Aug 19 15:27:50 xserve03 com.apple.launchd[1] (org.openldap.slapd[342]): Exited with exit code: 1
Aug 19 15:27:50 xserve03 com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds

I have run permissions repairs
run cvfsck -nv, cvfsck -wv and cvfsck -j
but none of these report any INode errors or any problems with the volume.

There isn't really another machine to setup as an Xsan client that will work with this version of Xsan so some help to get the MDC up and running would be great

Regards,
Anthony

Apple Knowledge Base's picture

Xsan: Compatibility of SAN clients with Xsan and StorNext controllers (Apple KB)

Learn which versions of StorNext can be used in the same SAN with Xsan controllers, and which versions of Xsan can be used in the same SAN with StorNext controllers.

Read more: http://support.apple.com/kb/HT1517

Nolf's picture

XSAN Controller

Tags: 

Good afternoon. Faced with the problem of constant forking Comptroller xsan. That is 2 minutes ready, 5 minutes Offline. The logs at the moment, the following occurs:
servermgrd [910] xsan: [910/2112D0] ERROR: get_fsmvol_at_index: Could not connect to FSM because Admin Tap Connection to FSM failed: [errno 60]: Operation timed out
servermgrd [910] xsan: [910/6033400] ERROR: get_fsmvol_at_index: Could not connect to FSM because Admin Tap Connection to FSM failed: [errno 60]: Operation timed out

Volume mount only on the controller when the controller when you try to get online to connect to the client the following error:
kernel Could not mount filesystem prod_f, cvfs error 'Timeout' (25)
kernel Could not mount filesystem prod_f, cvfs error 'Timeout' (25)
kernel Could not mount filesystem prod_f, cvfs error 'Timeout' (25)
kernel Could not mount filesystem prod_f, cvfs error 'Timeout' (25)
postfix / master [3029] master exit time has arrived
kernel Could not mount filesystem prod_f, cvfs error 'Timeout' (25)
com.apple.xsan [2774] mount_acfs: Operation timed out [2774] mount of volume 'prod_f' failed (exit code = 22)
servermgrd [53] xsan: [53/3199F60] ERROR: - [SANFilesystem mountVolumeNamed: writable: withOptions:]: mount of 'prod_f' failed: Unable to mount volume `prod_f '

Please help sort out the problem and solve it. Thanks in advance!!!

percisely's picture

Poor SMB reshare write performance

Forums: 

Our 10.8.5 Xsan 3 SAN is reshared by an Xserve via AFP and SMB. Currently AFP performance is as good as 100MB/sec for read and write but SMB performance on Windows clients is terrible, with only about 40MB/sec read and <10MB/sec write.

Is anyone else resharing via SMB to Windows clients? How is your performance?

Some additional notes:
-Not isolated to our reshare server. I setup a test SMB reshare off the backup MDC with the same results.
-OS X SMB clients perform better than Windows - as good as 60-70MB/sec read and write.
-Definitely Xsan related - shares off the boot volume SMB performance is fine.

Pages

Subscribe to RSS - Xsan