Chinaunix

标题: [AIX][Certification] 请教一个题目 [打印本页]

作者: chao_ping    时间: 2002-03-05 11:59
标题: [AIX][Certification] 请教一个题目
While using the smit install menus to install an LPP, the response \"yes\" has been selected for the option: EXTEND file systems if space needed. After successfully installing the LPP, the /usr filesystem appears to be unnecessarily large. Which of the following actions can be performed to reduce the size of the /usr filesystem? \r\n\r\n1。 Backup, unmount, remove, recreate and restore the filesystem. \r\n2。Unmount, run defragfs /usr and the reducefs -size XXX /usr commands. \r\n3。Boot from mksysb tape and follow the procedure to reduce the filesystem. \r\n4。Update /etc/filesystems with the desired size for /usr and reboot the system\r\n\r\n如果是普通文件系统,答案肯定是A。\r\n但是是/usr就不行吗?只能从makesysb的备份来恢复?\r\n我看一些逻辑卷文件系统管理命令倒确实都是在/usr/sbin下面,但是我可以先拷贝倒/目录也可以啊?\r\n
作者: larryh    时间: 2002-03-05 17:40
问题是,那些命令还要调用其他命令,很多本身只是一个shell脚本,而被调用的命令基本都指向/usr。如果要复制到其他地方,比如/usrback,还要把所有的脚本找出来,把里面的/usr替换成/usrback。/usr下面还有Predefined ODM等等,就是说,rootvg还要有足够的空间把所有/usr备份下来。前提要求太多也太难了吧。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2