Busy. Please wait.
or

show password
Forgot Password?

Don't have an account?  Sign up 
or

Username is available taken
show password

why


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove Ads
Don't know
Know
remaining cards
Save
0:01
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
Retries:
restart all cards




share
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Manage Partitions

Logical Volume Manager (LVM)

QuestionAnswer
An alternative method to manage partitions that give more flexibility in allocating storage on a system Logical Volume Manager (LVM)
Instead of /dev/sda, Logical volumes can be identified by: Descriptive names (such as research or marketing)
While the logical volumes are still mounted and running you can: Resize and move
Command to initialize a physical volume for later use by the LVM pvcreate
Example: Create a PHYSICAL volume on the second hard disk pvcreate /dev/sdb
Scan all disks for PHYSICAL volumes and display the results (and their associated groups) pvscan
Display a PHYSICAL volume that gives name, pv size etc pvdisplay
Create a new VOLUME group vgcreate
Adds one or more initialized physical volumes to an EXISTING volume group to extend its size vgextend
Example: Add the third hard disk (physical volume) to a volume group named "Sales" vgextend Sales /dev/sdc
Display created volume groups vgdisplay
Create a new LOGICAL volume in a volume group lvcreate
Specify the logical volume size lvcreate -L
Specify the logical volume name lvcreate -n
Example: Create a 3 Terabyte logical volume, named "figures" on the "sales" volume group lvcreate -L 2T -n figures sales
Scans all volume groups or supported LVM block devices in the system for logical volumes and display the results lvscan
Extends the size of a volume group lvextend
lvextend Options: Specify the new size of the volume lvextend -L +size
Example: Extend the data logical volume to 30 Gigabytes lvextend -L 30G data - (without the -L option the volume will increase by the amount of free space on the physical volume)
lvextend Options: specify which logical volume to extend lvextend {logicalvolume}
Example: Extend the Sales logical volume to all the free space on the physical volume /dev/sdd lvextend Sales /dev/sdd
lvextend Options: Specify the physical volume to use fr the extension lvextend {physicalvolume}
Created by: johnadream