IBM(000-233)

单选题Which of the following commands should be run to rebuild a corrupted jfslog, loglv01?()A fsck -p loglv01B fsck -y /dev/loglv01C logform /dev/loglv01D /usr/sbin/logform loglv01

题目
单选题
Which of the following commands should be run to rebuild a corrupted jfslog, loglv01?()
A

fsck -p loglv01

B

fsck -y /dev/loglv01

C

logform /dev/loglv01

D

/usr/sbin/logform loglv01

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

ExhibitGiven the information provided in the Exhibit, which of the following procedures will successfully resolve the problem before rebooting in normal mode?()

A.Increase the size of rootvg.

B.Delete unnecessary files in the / (root) file system.

C.Edit /etc/inittab and correct any erroneous entries.

D.Run fsck on the rootvg and recreate the log device with the following command: /usr/sbin/logform /dev/hd8.


参考答案:B

第2题:

Anadministratorisattemptingtorecoverafilesystemthatfailstomanuallyunmount.Thefsckcommandproducesthefollowingoutput:Thecurrentvolumeis:/dev/fslv02Filesystemiscurrentlymounted.Invalidfilesystemsizeintheprimarysuperblock.Invalidfilesystemsizeinthesecondarysuperblock.Primarysuperblockiscorrupt.Secondarysuperblockiscorrupt.fsck:0507-018Superblockiscorruptandcannotberepaired.Bothprimaryandsecondarycopiesarecorrupt.CannotcontinuetriedtomountWhichstepswillresolvetheproblem?()

A.Reboottheserverintomaintenancemodeandrun‘fsck’withthe‘-p’parameterwhilethefilesystemismounted.

B.Reboottheserverintomaintenancemodeandrun‘fsck’withthe‘-y’parameterwhilethefilesystemisunmounted.

C.Forceaumountofthefilesystemwith‘umount-F/dev/fslv02’,andthenrun‘fsck-p/dev/fslv02’whilethefilesystemisunmounted.

D.Forceaumountofthefilesystembyvaryingoffthehostingvolumegroupandthenvaryonthevolumegroup.Thiswillpermit‘fsck-y’toberunagainstthefailingfilesystem.


参考答案:B

第3题:

Which of the following commands should be run to verify that file system /data is not corrupted?()

A.fsck /dta

B.fsck datavg

C.lqueryvg datavg

D.stat /data


参考答案:A

第4题:

During an attempt to mount filesystems on the datavg volume grou, the following error message occurs: "0506-323 Cannot get information about log device loglv00." The error is due to the fjslog used by these filesystems is located on a bad disk.Which of the following procedures should be performed to fix the error?()

  • A、Run fsck on all filesystems using loglv00
  • B、Run the logform command against loglv00
  • C、Recreate the filesystems and restore from a backup
  • D、Create a new jfslog and change /etc/filesystems to point to this log

正确答案:D

第5题:

在linux系统中,可使用()检查、修复/dev/hda1文件系统。

  • A、fsck/dev/hda1
  • B、df/dev/hda1
  • C、fdisk/dev/hda1
  • D、mkfs/dev/hda1

正确答案:A

第6题:

Which of the following commands should be run to rebuild a corrupted jfslog, loglv01?()

A.fsck -p loglv01

B.fsck -y /dev/loglv01

C.logform /dev/loglv01

D./usr/sbin/logform loglv01


参考答案:C

第7题:

The system administrator wants to use a new jfslog /dev/fs1log with the filesystem /test/fs1 on the testvg volume group. The following commands were used to create the log and assign it to the filesystem:  (1)mklv -t jfslog -y /dev/fs1log testvg 1   (2)chfs -a log=/dev/fs1log /test/fs1   While trying to mount the /test/fs1 filesystem the administrator received the error:  "Cannot mount /dev/fs1lv on /test/fs1: A system call received a parameter that is not valid". What step did the administrator miss that most likely caused the error?()

  • A、Use the logform command to format /dev/fs1log as a jfslog
  • B、Use the chlv command to change the lv type of /dev/fs1log to jfslog
  • C、Use the chvg command to change the default jfslog of testvg to /dev/fs1log
  • D、Edit the /etc/filesystems file to change the log associated with /test/fs1 to /dev/fs1log

正确答案:A

第8题:

During an attempt to mount filesystems on the datavg volume group, the following error message occurs: "0506-323 Cannot get information about log device loglv00." The error is due to the fact that the jfslog used by these filesystems is located on a bad disk. Which of the following procedures should be performed to fix the error?()

A.Run fsck on all filesystems using loglv00

B.Run the logform command against loglv00

C.Recreate the filesystems and resotre form a backup

D.Create a enw jfslog and change /etc/filesystems to point to this log


参考答案:D

第9题:

An administrator is attempting to recover a filesystem that fails to manually unmount. The fsck command produces the following output: The current volume is: /dev/fslv02 File system is currently mounted.   Invalid file system size in the primary superblock. Invalid file system size in the secondary superblock.  Primary superblock is corrupt. Secondary superblock is corrupt.   fsck: 0507-018 Superblock is corrupt and cannot be repaired. Both primary and secondary copies are corrupt.Cannot continue tried to mount  Which steps will resolve the problem?()

  • A、Reboot the server into maintenance mode and run ‘fsck’ with the ‘-p’ parameter while the filesystem is mounted.
  • B、Reboot the server into maintenance mode and run ‘fsck’ with the ‘-y’ parameter while the filesystem is unmounted.
  • C、Force a umount of the filesystem with ‘umount -F /dev/fslv02’, and then run ‘fsck -p /dev/fslv02’ while the filesystem is unmounted.
  • D、Force a umount of the filesystem by varying off the hosting volume group and then varyon the volume group. This will permit ‘fsck -y’ to be run against the failing filesystem.

正确答案:B

第10题:

Using the C-SPOC utilities, an administrator has created a new volume group and filesytems. Theadministrator performs an Isvg -I command on the volume group and notices that the log logical volume created in C-SPOC is closed/syncd and loglv01 has been created and is in use.  What step was required in order for the logfile created by C-SPOC to be used.()  

  • A、 Perform the C-SPOC logform utility option prior to creating any filesystems.
  • B、 Manually perform a logform outside of C-SPOC prior to creating any filesystems.
  • C、 Run a logredo command and select log logical volume created in C-SPOC as the preferred jfslog.
  • D、 Use C-SPOC to delete and recreate the log logical volume,set the perform logform option to true.

正确答案:B

更多相关问题