- 论坛徽章:
- 0
|
1、SDD常用指令\r\n \r\n \r\naddpaths\r\n\r\nYou can use the addpaths command to dynamically add more paths to SDD devices while they are in the Available state. In addition, this command allows you to add paths to vpath devices (which are then opened) belonging to active volume groups.\r\n \r\n\r\nhd2vp and vp2hd\r\n\r\nSDD provides two conversion scripts, hd2vp and vp2hd. The hd2vp script converts a volume group from ESS hdisks into SDD vpaths, and the vp2hd script converts a volume group from SDD vpaths into ESS hdisks. Use the vp2hd program when you want to configure your applications back to original ESS hdisks, or when you want to remove the SDD from your AIX host system.\r\n\r\nNote: You must convert all your applications and volume groups to the original ESS hdisk device special files before removing SDD.\r\n\r\n \r\ndpovgfix\r\n\r\nYou can use the dpovgfix script tool to recover mixed volume groups.\r\n \r\n\r\nlsvpcfg\r\n\r\nYou can use the lsvpcfg script tool to display the configuration status of SDD devices. This displays the configuration status for all SDD devices.\r\n\r\n \r\nmkvg4vp\r\n\r\nYou can use the mkvg4vp command to create a SDD volume group. \r\n\r\n \r\nextendvg4vp\r\n\r\nYou can use the extendvg4vp command to extend an existing SDD volume group.\r\n\r\n\r\n2、启用 SDD trace功能\r\n \r\n SDD supports AIX trace functions. The SDD trace ID is 2F8. Trace ID 2F8 traces routine entry, exit, and error paths of the algorithm. To use it, manually turn on the trace function before the program starts to run, then turn off the trace function either after the program stops, or any time you need to read the trace report. \r\n\r\n To start the trace function, type:\r\n\r\n#trace -a -j 2F8\r\n\r\n To stop the trace function, type:\r\n\r\n#trcstop\r\n\r\n To read the report, type:\r\n\r\n#trcrpt | pg\r\n\r\n \r\n\r\nNote: To perform the AIX trace function, you must have the bos.sysmgt.trace fileset installed on your system. |
|