summaryrefslogtreecommitdiffstats
path: root/tools/pvcreate.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert pv->vg_name to get_pv_vg_nameDave Wysochanski2007-06-131-2/+2
|
* Convert find_pv_in_vg_by_uuid and pv_create to use PV handlesDave Wysochanski2007-06-121-7/+9
|
* Fix lvcreate corelog validation.Alasdair Kergon2006-05-161-2/+2
| | | | | | | | | Add --config for overriding most config file settings from cmdline. Quote arguments when printing command line. Remove linefeed from 'initialising logging' message. Add 'Completed' debug message. Don't attempt library exit after reloading config files. Always compile with libdevmapper, even if device-mapper is disabled.
* Create a log header for replacement in-sync mirror log.Alasdair Kergon2006-05-111-2/+2
| | | | | Use set_lv() and dev_set() to wipe sections of devices. Add mirror_in_sync() flag to avoid unnecessary resync on activation.
* Fix lvscan snapshot full display.Alasdair Kergon2005-12-081-1/+1
| | | | dmeventd fixes
* Refuse to run pvcreate/pvremove on devices we can't open exclusively.Alasdair Kergon2005-10-031-2/+12
|
* Use ORPHAN lock definition throughout.Alasdair Kergon2005-10-031-5/+5
|
* Improve detection of external changes affecting internal cache.Alasdair Kergon2005-03-211-2/+2
|
* pvcreate wipes first 4 sectors unless given --zero n.Alasdair Kergon2005-01-051-1/+25
|
* Only wipe signature bytes when destroying md superblock, so processAlasdair Kergon2004-11-191-1/+1
| | | | is reversible.
* pvcreate wipes md superblocks. (With --uuid or --restorefile it prompts.)Alasdair Kergon2004-11-191-11/+47
|
* Improve pvcreate/remove device not found error message.Alasdair Kergon2004-09-141-1/+2
|
* Display all filtered devices, not just PVs, with pvs -a.Alasdair Kergon2004-06-191-1/+1
|
* Update copyright notices.Alasdair Kergon2004-03-301-13/+8
|
* rename config file vars & always use / as separatorAlasdair Kergon2004-03-081-4/+3
|
* More consistent error code usage.Alasdair Kergon2003-10-211-12/+17
|
* Ensure more args aren't negative.Alasdair Kergon2003-09-151-0/+8
|
* Another sync point - numerous fixes & clean ups.Alasdair Kergon2003-07-041-0/+1
|
* Tidy various pre-processing incl. making libdl optional.Alasdair Kergon2003-03-241-2/+2
|
* Default stripesize 64k & config file setting for it;Alasdair Kergon2002-12-191-7/+7
| | | | | | Clear many compiler warnings (i386) & associated bugs - hopefully without introducing too many new bugs:-) (Same exercise required for other archs.) Default compilation has optimisation - or else use ./configure --enable-debug
* New column-based reporting tools: lvs, pvs & vgs.Alasdair Kergon2002-12-121-2/+2
|
* Some new features.Alasdair Kergon2002-11-181-16/+101
|
* Merge with text format branch.Alasdair Kergon2002-04-241-4/+11
| | | | | | | | | | | | | | | | | | | Lots of changes/very little testing so far => there'll be bugs! Use 'vgcreate -M text' to create a volume group with its metadata stored in text files. Text format metadata changes should be reasonably atomic, with a (basic) automatic recovery mechanism if the system crashes while a change is in progress. Add a metadata section to lvm.conf to specify multiple directories if you want (recommended) to keep multiple copies of the metadata (eg on different filesystems). e.g. metadata { dirs = ["/etc/lvm/metadata1","/usr/local/lvm/metadata2"] } Plenty of refinements still in the pipeline.
* o Use 'pvcreate --setphysicalvolumesize' with no short form (instead of -s)Alasdair Kergon2002-02-201-4/+8
| | | | | | | | | and add severe warning if it's used to make a device seem bigger than it really is. This is not an option people should be using as it breaks metadata integrity. o Use uint64_t throughout (rather than unsigned long long) o Convert a few messages that contain pathnames into the more common form: pathname: message
* Second path on "pvcreate -s"Heinz Mauelshagen2002-02-151-1/+1
|
* Forgot to remove test printf :-)Heinz Mauelshagen2002-02-151-1/+0
|
* First cut on "pvcreate -s"Heinz Mauelshagen2002-02-151-1/+4
|
* Run through indent - no (intentional) changes to any code.Alasdair Kergon2002-02-111-10/+9
|
* Preparation for an LVM2 liblvm - pass cmd_context into each tool andAlasdair Kergon2002-02-111-18/+18
| | | | link some globals that the tools need into that structure.
* quotes around names in outputHeinz Mauelshagen2002-01-301-13/+15
|
* o A vgimport implementationAlasdair Kergon2002-01-291-7/+1
| | | | | o Require -a or <list of vgs> parameters with vgexport/vgimport o Allow pvcreate -ff to destroy exported/partial VGs
* o pvcreate --uuid to specify the uuid (required before using vgcfgrestoreAlasdair Kergon2002-01-161-1/+21
| | | | | | | onto a new device). uuid specified must not already exist on the system. o More message tidying. o When checking for label, only read PV metadata. o Add ataraid. [Needs moving into config/defaults files.]
* o ACTIVE is no longer a status flag - lv_active() used to check if an LVAlasdair Kergon2002-01-101-7/+0
| | | | | | | | | | is active in the device-mapper. o Many operations can be carried out regardless of whether the VG is active or not. o vgscan does not activate anything - use vgchange. o Change lvrename to support renaming of active LVs. o Remove '//' appearing in some pathnames. o Dummy lv_check_segments() for compilation.
* o activation & active status testsAlasdair Kergon2001-11-211-0/+2
| | | | | o lvdisplay fields from kernel o update lv->size on resize
* Use POSIX defined PRIu64 for formatting 64 bit unsigned integer typesPatrick Caulfield2001-11-151-1/+1
|
* iospace restructuredAlasdair Kergon2001-11-121-4/+4
|
* Added GPL disclaimerHeinz Mauelshagen2001-11-071-2/+16
|
* More vgcreate error trappingAlasdair Kergon2001-10-151-24/+21
|
* vgcreateAlasdair Kergon2001-10-121-7/+7
|
* o lift call to check out of pvcreate_singleJoe Thornber2001-10-121-3/+4
|
* o rename _single pvcreate_signleJoe Thornber2001-10-121-2/+2
|
* o made _single staticJoe Thornber2001-10-121-1/+1
|
* o pvcreateJoe Thornber2001-10-121-93/+76
| | | | | | o added uuid unit o stubbed partition stuff
* syncAlasdair Kergon2001-10-121-7/+7
|
* o vgremove.Alasdair Kergon2001-10-091-3/+0
| | | | o filter devices by major.
* Sync include file changes.Alasdair Kergon2001-10-051-1/+1
|
* metadata status flags regrouping & comments; misc tool changesAlasdair Kergon2001-10-041-2/+2
|
* pvscan frameworkAlasdair Kergon2001-10-021-7/+3
|
* Another step towards consistency & compilation.Alasdair Kergon2001-10-011-38/+27
|
* Merge fixesAlasdair Kergon2001-10-011-0/+149