201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 14


Which command is used to make an exact copy, at a single point in time, of a logical volume while still allowing the original logical volume to be updated?

Show Answer
Correct Answer: B

The command used to make an exact copy, at a single point in time, of a logical volume while still allowing the original logical volume to be updated is 'lvcreate'. The 'lvcreate' command with the '-s' option creates a snapshot of the logical volume. This snapshot is a virtual copy, which means it can be used to access the state of the logical volume at the time the snapshot was taken while the original logical volume can continue to be updated.

Discussion

6 comments
Sign in to comment
serlanOption: B
Oct 30, 2022

LVM Snapshots Snapshots One of the nicest features of LVM is the possibility of taking snapshots of volumes. A snapshot is a virtual copy of the volume to enable easy backups. LVM snapshots use a strategy called "copy on write". This means that the snapshot logical volume only saves data blocks from the original logical volume that are changed in the original logical volume. To do so the logical volume manager first reads the (unchanged) data block on the original and than writes the data block to the snapshot. On filesystems with many changes (e.g. databases) this can lead to performance issues. The -s option in the lvcreate command specifies that the newly created logical volume is a snapshot. # lvcreate -L 50M -s -n snapshot0 /dev/volume01/lvol0

milan92stankovicOption: B
Jan 18, 2021

B - 100%

RSV4Option: B
Jun 9, 2021

I'm a bit confused about this, because to do a full clone of a LV you can use: lvcreate --snapshot --name <the-name-of-the-snapshot> --size <the size> /dev/<volume-group>/<logical-volume> This will create a Snapshot but to clone it on another LV would need the "dd" command additionally.... So to create a snapshot (if this is meant by "Clone") you might use lvcreate. Anyone here with knowhow in GV/ LV/ PV?

mira_
Oct 26, 2021

there is no needed for `dd`. LVM, Logical Volume Management, was instructed with `--snapshot` to also deal with content on the PE, Physical Extent.

castorOption: B
Apr 21, 2023

B is correct

chiaseedOption: B
Sep 9, 2023

I vote for B. There are no lvcclone, lvm2, lvsnap, lvsnapshot commands.

debloidOption: B
Jul 16, 2024

lvcreate -L size -s -n snapname origlv