Open main menu

CDOT Wiki β

Changes

Logical Volume Management

126 bytes added, 13:46, 5 February 2011
LVM Commands
Fedora's installation system, ''Anaconda'', will set up LVM by default. Anaconda will name the main volume group <code>lv_''hostname''</code>, where ''hostname'' is the host name assigned to the system during installation; LVs will be named <code>lv_''desc''</code> where ''desc'' is a description of the mountpoint (such as "root" for the LV containing the filesystem mounted as <code>/</code>, and "home" for the LV containing the filesystem mounted as <code>/home</code>). However, you can choose to use any names you want; it's a good idea to avoid names that could be confused with other devices (such as <code>sdb1</code> or <code>mouse0</code>).
LVs are found at two three points in the /dev/directory:
# <code>/dev/mapper/''vgname''-''lvname''</code>
# <code>/dev/''vgname''/''lvname''</code> # <code>/dev/dm- ''N'' - the names above are actually links to this device node. ''dm'' refers to the ''device mapper'', which is a symbolic link to the directory aboveunderlying technology that enables LVM.
{{Admon/note|LV names in Rescue Mode|Note that the LV symbolic links are not available in Fedora's rescue mode -- you must use the entry in <code>/dev/mapper</code>.}}