Bernd Schubert wrote:
On Friday 25 May 2007 11:21:11 Johann Lombardi wrote:
On Fri, May 25, 2007 at 11:13:20AM +0200, Bernd Schubert wrote:
Hmm, somehow that does not work:
[EMAIL PROTECTED]:~# lctl --device [EMAIL PROTECTED] deactivate
error: deactivate: failed: Operation not supported
[EMAIL PROTECTED]:~# lctl dl
0 UP mgc [EMAIL PROTECTED] f73789d4-c9fa-7ed5-2e34-c82758219ffa 5
2 UP lov lov-beo-ffff810067e05800 c46170c4-5a4b-78f9-03b1-348c2ce59579
4
In fact, it is 'lctl --device <device number> deactivate', so in your case:
# lctl --device 0 deactivate
Thanks, but still does not work :(
[EMAIL PROTECTED]:~# lctl --device 0 deactivate
error: deactivate: failed: Operation not supported
As of 1.6, you can use the device # or device name with --device.
But the error message is correct - you can't deactivate the MGC this way
because I never implemented a mgc_iocontrol.
(Actually, it's commented out in mgc_request.c, and we'd just need to
copy the IOC_OSC_SET_ACTIVE ioctl from
mdc_iocontrol(), but at this point you may as well just use the patch in
bug 11691.)
_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss