summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
Commit message (Collapse)AuthorAgeFilesLines
* add missing headersThierry.Vignaud2014-05-261-0/+2
|
* partially podify some modulesThierry Vignaud2014-05-201-0/+44
|
* retrieve minor/major for LVs tooThierry Vignaud2013-04-051-0/+3
| | | | | | | | | thus fixing comparing in fs::get::is_same_hd(): 'device_alias' => 'mapper/vg--mga-root', with: 'device' => 'vg-mga/root', thus fixing removing LVM entries when saving /etc/fstab (mga#5811)
* Fix a warning by defining init before using itPascal Terjan2012-04-071-2/+2
|
* (lvm_cmd_or_die) report back error from lvm2Thierry Vignaud2012-01-201-1/+6
|
* (lvm_cmd) log forcing rescanThierry Vignaud2012-01-201-0/+1
|
* (suggest_lv_name_from_mnt_point, suggest_lv_name) suggest better LVThierry Vignaud2012-01-201-0/+10
| | | | names based on the mount point rather than numbers
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* default to defaultFS in LVM, not ext2Pascal Terjan2010-05-131-1/+1
|
* Add back and fix lvm in patitioning wizardPascal Terjan2010-02-081-1/+1
|
* avoid error messages when using lvm in draklive-install (#36415)Pascal Terjan2009-10-191-1/+1
|
* extract detect_during_installOlivier Blin2009-10-161-4/+6
|
* - fix handling LVM VGs with "-" in the name (#37267)Pascal Rigaux2008-01-281-1/+1
|
* - bootloader-config:Pascal Rigaux2008-01-221-4/+8
| | | | | o fix root=xxx parameter for "/" on lvm using UUID= in fstab (#36542)
* simplifyPascal Rigaux2007-09-241-2/+2
|
* create partition_table_initialize() and partition_table_clear_and_initialize()Pascal Rigaux2007-09-191-0/+12
| | | | | | which are wrappers around partition_table::initialize() but which also create a singleton VG automatically (so that it's easier for the user)
* - create lvm::add_to_VG() out of diskdrake::interactive::Add2LVM()Pascal Rigaux2007-09-191-2/+14
| | | | | | - lvm::check() now takes a $do_pkgs - help pvcreate (it may fail if it finds previous metadata on the MBR)
* - diskdrake:Pascal Rigaux2007-08-081-0/+1
| | | | | | | | o do not show partition types which have no associated filesystem for LVM LV (#32326) nb: we still would need to have pt_type per partition_table types
* fix typos (thanks to Arpad Biro)Pascal Rigaux2005-09-221-1/+1
|
* reduce the overall perl_checker warningsThierry Vignaud2005-07-081-1/+1
|
* handle pvmovePascal Rigaux2005-07-011-0/+6
|
* - we can keep vg available when using vgreducePascal Rigaux2005-07-011-1/+1
| | | | | - we must update the vg total size after removing a pv
* fix messagePascal Rigaux2005-07-011-1/+1
|
* create lvm::pv_physical_extents() and use itPascal Rigaux2005-07-011-1/+4
|
* remove debug code from previous commitPascal Rigaux2005-07-011-3/+1
|
* create generic function get_pv_field()Pascal Rigaux2005-07-011-3/+10
|
* better namePascal Rigaux2005-07-011-1/+1
|
* replace lv_nb_segments() with lv_nb_pvs()Pascal Rigaux2005-07-011-3/+7
| | | | | (which is really what lilo cares about. lilo error is "mapped boot device cannot be on multiple real devices")
* handle vgreducePascal Rigaux2005-07-011-0/+10
|
* better error message, and translate itPascal Rigaux2005-07-011-1/+1
|
* lilo only accept /boot (or /) on a LV if it uses only one PV, so correctly ↵Pascal Rigaux2005-07-011-0/+11
| | | | warn/error this
* ensure we have a {lv_name} (esp. for auto_installs)Pascal Rigaux2005-03-291-0/+1
|
* ensure {lv_name} is set when calling check_mntpoint() from Create() (via ↵Pascal Rigaux2005-03-221-1/+6
| | | | check()) (bugzilla #14253)
* rootDevice must be properly set, esp. for newt diskdrake (bugzilla #14254)Pascal Rigaux2005-03-181-0/+1
|
* ensure {lv_name} is set for LVM partitionsPascal Rigaux2005-02-011-0/+1
|
* move device mapper initialisation out of lvm.pm into devices.pm (since it ↵Pascal Rigaux2004-12-291-9/+1
| | | | will be useful for other things)
* remove some unneeded ";", add some for normalization (as told by perl_checker)Pascal Rigaux2004-11-181-1/+1
|
* no need to run vgscan and vgchange in standalonePascal Rigaux2004-10-141-2/+4
| | | | | (nb: /etc/lvmtab is no more used, so i also dropped that check)
* don't die when device-mapper is missing (occurs on 2.4 kernel) (bugzilla #11834)Pascal Rigaux2004-09-301-3/+4
|
* call pvremove on every PVs when destroying a VG (to clear the LVM2 magic) ↵Pascal Rigaux2004-09-221-0/+1
| | | | (bugzilla #11579)
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | create fs::get and move them into it - device2part(), up_mount_point() moved from fs to fs::get - part2hd(), file2part(), has_mntpoint(), mntpoint2part(), empty_all_hds() moved from fsedit to fs::get - fsedit::get_root() -> fs::get::root() - fsedit::get_root_() -> fs::get::root_() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_all_fstab_and_holes() -> fs::get::fstab_and_holes() - fsedit::get_all_fstab() -> fs::get::fstab() - fsedit::get_all_holes() -> fs::get::holes() - fsedit::all_free_space -> fs::get::free_space() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_fstab_and_holes() -> fs::get::hds_fstab_and_holes() - fsedit::get_holes() -> fs::get::hds_holes() - fsedit::get_fstab() -> fs::get::hds_fstab() - fsedit::free_space() -> fs::get::hds_free_space() - fsedit::get_visible_fstab() unused, removed
* introduce ->ensure_binary_is_installed and use itPascal Rigaux2004-08-021-1/+1
|
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-6/+5
| | | | | | | | | | | | | | | | | | | | {pt_type} is always a number, {fs_type} is always a string - introduce set_isFormatted() (to ensure {notFormatted} but also {fs_type_from_magic} and {bad_fs_type_magic} are updated) - don't use 0x483 for ext3 anymore (same for reiserfs...), the type_name gives both a pt_type and a fs_type - many accessors from partition_table removed (type2fs(), fs2pt_type()) - remove isThisFs() (not useful anymore since we can use directly {fs_type}) - remove isFat() (inline the function) - other isXXX() from partition_table are moved to fs::type - part2name() is now fs::type::part2type_name - name2pt_type() is now fs::type::type_name2subpart() - partition_table::important_types() is now fs::type::type_names() - fsedit::typeOfPart() is now fs::type::fs_type_from_magic() - no need to truncate type_name since they are shorter
* a {type} didn't get moved to {pt_type}, fixingPascal Rigaux2004-07-271-1/+1
|
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-051-2/+2
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-1/+1
|
* create /dev/mapper/control (needed when you don't have devfs)Pascal Rigaux2004-02-041-0/+7
|
* - replace PE_size with extent_size and get it (fix illegal division by 0)Pascal Rigaux2004-02-041-9/+11
| | | | | | | - fix getting the output of pvs vgs lvs commands (chomp_ is not enough because of spaces at the end) - fix get_lvs() (and use lvs instead of vgdisplay)
* adaptation/simplification for new lvm2 (thanks to Luca Berra)Pascal Rigaux2004-01-151-5/+3
|
* lvm2 uses urandomPascal Rigaux2004-01-131-0/+1
|