000-221 · Question #153
An AIX LPAR has been saved using the mksysb command to a file called LPAR1_mksysb located in the /backup directory. Which command displays the contents of the mksysb backup?
The correct answer is C. listvgbackup -f/backup/LPAR1_mksysb. The listvgbackup command is the correct tool for listing and displaying the contents of an AIX mksysb backup image.
Question
An AIX LPAR has been saved using the mksysb command to a file called LPAR1_mksysb located in the /backup directory. Which command displays the contents of the mksysb backup?
Options
- Amksysb-v-f/backup/LPAR1_mksysb
- Brestore -Tqf /backup/LPAR1_mksysb
- Clistvgbackup -f/backup/LPAR1_mksysb
- Dbackup-i -v-f/backup/LPAR1_mksysb
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C84% (21)
- D4% (1)
Why each option
The listvgbackup command is the correct tool for listing and displaying the contents of an AIX mksysb backup image.
The mksysb command is used to create rootvg system backups, not to view their contents.
The restore command with -T lists contents of archives created by the standard backup command, not mksysb images.
The listvgbackup command is specifically designed to read the table of contents embedded in a mksysb or savevg backup image. Using the -f flag followed by the backup file path instructs it to open the specified file and output the list of filesystems and files stored within the backup, which is exactly what is needed to inspect the image contents.
The backup command with -i creates file-based archives and cannot be used to display the contents of an existing mksysb image.
Concept tested: Listing contents of AIX mksysb backup image
Source: https://www.ibm.com/docs/en/aix/7.3?topic=l-listvgbackup-command
Topics
Community Discussion
No community discussion yet for this question.