Difference between revisions of "Fs-lvm"

From Bashlinux
Jump to: navigation, search
(Redirected page to LVM)
 
Line 1: Line 1:
  +
#REDIRECT [[LVM]]
__NOTOC__
 
= LVM =
 
Not a filesystem ''perse'', but a method to allocate space for.
 
 
=== How to mount LVM partitions ===
 
Suppose that we have `hda` as current working hard drive and `hdb` as the hard drive with the LVM partition(s).
 
# Scan for all devices visible to LVM2
 
 
<pre><nowiki>
 
lvmdiskscan
 
</nowiki></pre>
 
 
# Load device module
 
 
<pre><nowiki>
 
modprobe dm-mod
 
</nowiki></pre>
 
 
# Change the volumes that exist to active
 
 
<pre><nowiki>
 
vgchange -ay
 
</nowiki></pre>
 
 
# Mount the logical partition
 
 
<pre><nowiki>
 
mkdir -p /mnt/vol00
 
mount /dev/VolGroup00/LogVol00 /mnt/vol00
 
</nowiki></pre>
 

Latest revision as of 05:33, 12 June 2015

Redirect to: