Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - fix loading linux software raid (mdadm) kernel modules | Pascal Rigaux | 2007-08-27 | 1 | -5/+11 |
| | | | | | (after rename raid5&raid6 -> raid456) | ||||
* | - diskdrake: | Pascal Rigaux | 2007-08-21 | 1 | -0/+2 |
| | | | | | | o write mdadm.conf when it is modified (#32360) (a nicer fix would be to write it when needed, not so soon, but it's harder) | ||||
* | re-sync after the big svn loss | Pascal Rigaux | 2007-04-25 | 1 | -5/+7 |
| | |||||
* | use --force when creating a md with only one device (bugzilla #21214) | Pascal Rigaux | 2006-02-20 | 1 | -1/+3 |
| | |||||
* | we shouldn't rely on callers to load missing modules... | Thierry Vignaud | 2005-12-22 | 1 | -0/+1 |
| | |||||
* | "mdadm --detail --brief" doesn't contain "devices=..." anymore (since mdadm ↵ | Pascal Rigaux | 2005-10-18 | 1 | -1/+1 |
| | | | | | | | 1.12.0), it needs option "-v" to keep previous behaviour | ||||
* | write /etc/mdadm.conf when creating a new md (bugzilla #15502) | Pascal Rigaux | 2005-08-08 | 1 | -1/+2 |
| | |||||
* | - move functions using /proc/partitions out of fsedit to fs::proc_partitions | Pascal Rigaux | 2005-06-10 | 1 | -1/+0 |
| | | | | | | - remove unneeded "use xxx" - add some "use xxx" (nb: not completly needed because some other modules may do it) | ||||
* | don't need prefixing with current package | Pascal Rigaux | 2005-06-09 | 1 | -1/+1 |
| | |||||
* | remove unused code | Pascal Rigaux | 2005-06-03 | 1 | -4/+0 |
| | |||||
* | calling inactivate_and_dirty() on a new structure is bad, we loose the ↵ | Pascal Rigaux | 2005-03-24 | 1 | -4/+5 |
| | | | | | | | {isFormatted} flag (no big deal though, it happened because raid::new() was creating a new raid with an already active md name) | ||||
* | ensure we use/propose a free md when creating a new one | Pascal Rigaux | 2005-03-24 | 1 | -1/+6 |
| | |||||
* | after "mdadm --assemble" there can be some mds in inactivate state busying ↵ | Pascal Rigaux | 2005-03-24 | 1 | -1/+9 |
| | | | | devices, stopping them | ||||
* | switch back to auto=yes : | Pascal Rigaux | 2005-01-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | > > the only problem with auto=yes is that it ignores the minor number > > specified and always uses the first avaliable minor number, so you might > > find /dev/md2 with minor 0, /proc/mdstat will call it based on minor > > number. This is going to get really confusing for users. > > I was planning to fix this in upstream source, but i have not been able > > to find time to do it yet. > > ok, i fixed that in mdadm-1.8.0-2mdk > there is a new option (auto=dev) that will create the device file with > the correct minor number based on the device name. > so please put auto=dev instead of auto=yes in the /etc/mdadm.conf > please hold the auto=dev change, the mdadm author feel this should be the default behaviour for auto=yes, so i will upload a new mdadm-1.9.0-0pre1.1mdk with fully working auto as soon as i return to italy (this weekend i believe) | ||||
* | fix "mdadm package not installed" during install (bugzilla #13259) | Pascal Rigaux | 2005-01-27 | 1 | -1/+1 |
| | |||||
* | put the new option auto=dev instead of auto=yes (see mdadm-1.8.0-2mdk) | Pascal Rigaux | 2005-01-23 | 1 | -1/+1 |
| | |||||
* | - don't write /etc/mdadm.conf when no raid | Pascal Rigaux | 2005-01-21 | 1 | -1/+3 |
| | | | | | | - use option "auto=yes" in mdadm.conf to ensure mdadm will create /dev/mdX devices when needed (those are not there when using udev and neither kernel raid autostart nor initrd created the raid) | ||||
* | - fs::format::part_raw() now takes $wait_message to allow displaying the ↵ | Pascal Rigaux | 2005-01-06 | 1 | -1/+1 |
| | | | | | | | | progress of format - create fs::format::wait_message() which creates a $wait_message valid to give to fs::format::part - fs::format::mke2fs() format while parsing the output to display the progress | ||||
* | better english (writing style rather than spoken one) | Thierry Vignaud | 2004-12-13 | 1 | -1/+1 |
| | |||||
* | remove some unneeded ";", add some for normalization (as told by perl_checker) | Pascal Rigaux | 2004-11-18 | 1 | -1/+1 |
| | |||||
* | since we need mdadm, ensure we have it (bugzilla #12146) | Pascal Rigaux | 2004-10-27 | 1 | -0/+5 |
| | |||||
* | newly created raids must have a fs_type (this was dropped in rev 1.45, it ↵ | Pascal Rigaux | 2004-10-26 | 1 | -0/+1 |
| | | | | was an error) | ||||
* | put UUID instead of devices in mdadm.conf to be more device naming independant | Pascal Rigaux | 2004-10-14 | 1 | -13/+22 |
| | | | | | (as requested by Luca Berra on cooker) | ||||
* | safer | Pascal Rigaux | 2004-09-06 | 1 | -2/+3 |
| | |||||
* | fix typo | Pascal Rigaux | 2004-09-06 | 1 | -3/+4 |
| | |||||
* | handle pt_type, not only fs_type | Pascal Rigaux | 2004-09-06 | 1 | -2/+5 |
| | |||||
* | be more failsafe with half broken existing raids | Pascal Rigaux | 2004-09-06 | 1 | -0/+1 |
| | |||||
* | remove dead code | Pascal Rigaux | 2004-08-10 | 1 | -4/+0 |
| | |||||
* | - switch to mdadm (instead of raidtools) | Pascal Rigaux | 2004-08-08 | 1 | -76/+128 |
| | | | | | | | | | - create mdadm.conf instead of raidtab - internal {raids} is no more indexed by X for mdX, and so don't have holes anymore - internal {chunk-size} is now a number in KiB - internal {raid} is the raid device name, not the number - various cleanup for raid detection | ||||
* | - add field {fs_type} partially replacing {pt_type} | Pascal Rigaux | 2004-07-27 | 1 | -5/+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 | ||||
* | - move format related functions out of fs.pm to new module fs/format.pm | Pascal Rigaux | 2004-07-23 | 1 | -1/+1 |
| | | | | | - remove swap.pm, moving its few functions to fs/format.pm or fs.pm | ||||
* | big renaming of field {type} to {pt_type}, | Pascal Rigaux | 2004-07-05 | 1 | -1/+1 |
| | | | | | | 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 Rigaux | 2004-04-05 | 1 | -2/+2 |
| | |||||
* | perl_checker adaptations + fixes | Pascal Rigaux | 2003-04-24 | 1 | -2/+2 |
| | |||||
* | to workaround perl bug removing UTF8 flag when passing scalars to die's, pass | Guillaume Cottenceau | 2003-02-19 | 1 | -2/+2 |
| | | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :). | ||||
* | mkraid wants all the md devices written in raidtab to exist, even if asking to | Pascal Rigaux | 2003-02-19 | 1 | -2/+2 |
| | | | | | create a specific md | ||||
* | cleanup | Pascal Rigaux | 2003-02-19 | 1 | -2/+6 |
| | |||||
* | perl_checker compliance ("ref" now need parentheses in many case) | Pascal Rigaux | 2003-02-12 | 1 | -1/+1 |
| | |||||
* | software raid (mdX) can go up to md31 | Pascal Rigaux | 2003-01-29 | 1 | -1/+3 |
| | |||||
* | use "if any" instead of "if grep", and various other occurences of "any", ↵ | Pascal Rigaux | 2003-01-07 | 1 | -1/+1 |
| | | | | "every", "partition" | ||||
* | use output() | Pascal Rigaux | 2002-12-03 | 1 | -14/+13 |
| | |||||
* | testing aware | Guillaume Cottenceau | 2002-11-28 | 1 | -0/+1 |
| | |||||
* | various small syntax enhancements to please perl_checker | Pascal Rigaux | 2002-11-11 | 1 | -1/+1 |
| | |||||
* | - have "local *FILEHANDLE" before each "open FILEHANDLE, ..." | Pascal Rigaux | 2002-11-06 | 1 | -1/+1 |
| | | | | | - use some "cat_" and "output" where possible | ||||
* | replace "_" with "N" and "__" with "N_" | Pascal Rigaux | 2002-11-06 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous! | ||||
* | use each_index instead of map_index when the return value is not used | Pascal Rigaux | 2002-11-05 | 1 | -1/+1 |
| | |||||
* | also create a raidtab if it doesn't exist (occurs when / has been formatted) | Pascal Rigaux | 2002-09-24 | 1 | -0/+2 |
| | |||||
* | make new perl_checker happy (and that's not easy!) | Pascal Rigaux | 2002-07-31 | 1 | -4/+4 |
| | |||||
* | ensure the raid is disactivated and marked dirty on any actions that destroy ↵ | Pascal Rigaux | 2002-07-07 | 1 | -14/+26 |
| | | | | the raid | ||||
* | defaults to ext3 instead of ext2 | Pascal Rigaux | 2002-01-22 | 1 | -1/+1 |
| |