Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xsanctl mount and unmount not working in 10.8

I have Xsan working in Mountain Lion Server and Mountain Lion but for some reason the command line xsanctl mount and unmount commands don't work. Also, the System Preference Xsan, once enabled, does let me mount the volume, but it shows there as "Not mounted" even though it did it and it is. Is this a known bug that Apple is going to fix? We need to use scripts that utilize xsanctl.


--Thanks

--Jim

Xsan-OTHER, OS X Mountain Lion (10.8), Anyone else know a work around?

Posted on Aug 24, 2012 4:46 PM

Reply
5 replies

Aug 27, 2012 9:44 AM in response to Blaidd Drwg

Xsand with PID 25 is running on my system.


Same results with or without sudo. The account is an admin.


The volume Xsan1 is indeed mounted on my desktop and I can read/write to it with no problem. However using xsanctl doesn't function:


Jim-Wolffs-Mac-Pro-2:~ jimwolff$ xsanctl list

XSan1 - not mounted


Jim-Wolffs-Mac-Pro-2:~ jimwolff$ sudo xsanctl unmount Xsan1

Password:

unmount command failed: Volume `Xsan1' is not mounted (error code: 3)


As you can see this list command thinks its unmounted when indeed its already mounted. And the unmount command doesn't work because it thinks its not mounted.


Jim-Wolffs-Mac-Pro-2:~ jimwolff$ sudo xsanctl mount Xsan1

mount command failed: Unable to mount volume `Xsan1' (error code: 3)

Jim-Wolffs-Mac-Pro-2:~ jimwolff$


Lastly, trying the mount command (even though its already mounted) also gets error code 3.


Since my original post I've updated the Xserve to 10.8.1 server and my client Mac Pro to OS X 10.8.1.


Are you using it with Mountain Lion??

Aug 30, 2012 4:02 PM in response to commandsoft

Need the command line interfaces to function because we are making a product that wraps some features around Xsan volume control, amoung other Xsan things. That way we can control this from our software GUI in a central integrated manner rather than making the user learn and use a bunch of different things. Anyway, once I figure it out I'll reply since you confirmed you are not having an issue with this command under 10.8.1 Server and client. Seems kind of weird since this is a clean new Xsan setup -- would think it would just work given the other parts that are working. Hopefully won't take much longer to figure out.


--Best Regards,

--Jim Wolff

xsanctl mount and unmount not working in 10.8

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.