Changes

Jump to: navigation, search

Logical Volume Management

12 bytes added, 13:41, 13 February 2014
no edit summary
# Edit /etc/fstab to have the file-system mounted automatically at boot time
# (refer to [httphttps://wwwwiki.tuxfilesarchlinux.org/linuxhelpindex.php/fstab.html httphttps://wwwwiki.tuxfilesarchlinux.org/linuxhelpindex.php/fstab.html] for additional information)
# Here is an example of issuing a command to add the mount point to the bottom of the /etc/fstab file:<br /><br />echo "/dev/vg_muskoka/lv_archive /archive ext3 defaults 1 2" >>/etc/fstab
# Add the disk (if not already attached) -- for this example, let's assume the disk is <code>/dev/sdb</code>
# Create a partition with <code>fdisk</code> - let's assume the partition is <code>/dev/sdb1</code>
# Format Mark the partitionas usable by LVM: <code>pvcreate /dev/''sdb1''</code>
# Add the partition to your volume group: <code>vgextend vg_main /dev/''sdb1''</code>
13,420
edits

Navigation menu