Added
A Linux server uses an existing volume group named vgdata with enough free extents for a new logical volume. A new disk has already been installed, but the administrator has not yet prepared it. The requested filesystem must be XFS, mounted persistently at /srv/archive, and available after a normal reboot. The maintenance window permits one planned reboot after configuration is complete. Arrange the steps in the order they must be performed, from preparing the disk through verifying persistent availability.
Drag the steps into the correct order, or use the arrows.
- Create a logical volume in vgdata using the new physical volume
- Add the filesystem mount to /etc/fstab and verify the entry
- Initialize the disk as an LVM physical volume
- Create an XFS filesystem on the logical volume
- Mount the filesystem and verify it is available
- Create an XFS filesystem on the logical volume
- Initialize the disk as an LVM physical volume
- Create a logical volume in vgdata using the new physical volume
- Add the filesystem mount to /etc/fstab and verify the entry
- Mount the filesystem and verify it is available
LVM must recognize the disk as a physical volume before it can allocate extents from it to a logical volume. The logical volume must exist before it can be formatted as XFS. Add the persistent /etc/fstab entry after creating the filesystem, then mount and verify the configured filesystem. Mounting before the filesystem and persistent entry are ready is premature, and adding the mount entry before the filesystem exists makes validation less reliable.