malloc

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

Subscribe to RSS - malloc