Joe Thornber
9c25e77c17
o Add extra parameter to lv_manip fns
2002-01-24 17:15:49 +00:00
Joe Thornber
440113e67e
o extra fid parameter to lv_manip fns
2002-01-24 17:15:24 +00:00
Joe Thornber
a11b60c445
o Remove pointless calculation.
2002-01-24 14:15:42 +00:00
Alasdair Kergon
a6052681ad
Ignore all except one PV found with the same UUID. Use one which
...
has the md major number if there is such.
2002-01-24 13:36:33 +00:00
Alasdair Kergon
482d50536a
Fix dev_close arg.
2002-01-24 13:31:18 +00:00
Alasdair Kergon
25c79a4fcd
Remove any core files on distclean.
2002-01-24 13:30:40 +00:00
Joe Thornber
02946144ac
o typo
2002-01-24 09:54:09 +00:00
Joe Thornber
71a360e9a3
o Cut and paste description of how pvmove works that I was mailing someone.
2002-01-24 09:26:13 +00:00
Alasdair Kergon
f7912d88b1
o Remove redundant symlink-handling code.
...
o When opening device, return error if its cached name is incorrect (eg if
it's changed since the cache was generated). This prevents use until
the cache is rebuilt (eg with vgscan). Doesn't catch every case.
2002-01-23 18:55:01 +00:00
Alasdair Kergon
975101d7d2
Avoid using VG metadata on PVs that are not in VGs.
2002-01-23 15:50:34 +00:00
Alasdair Kergon
ef58c5ff55
*** empty log message ***
2002-01-23 12:25:30 +00:00
Alasdair Kergon
e10221804a
Silently remove any existing symlink before creating a new one.
2002-01-22 19:58:37 +00:00
Alasdair Kergon
284ed9ee0e
Update with info on how to configure command output to look like LVM1
2002-01-22 19:20:46 +00:00
Alasdair Kergon
5d7b961997
Reviewed interaction with lib/activate now that the interface has settled down.
2002-01-22 19:11:12 +00:00
Alasdair Kergon
c699a5c4b4
New config options to customise message output.
2002-01-22 15:33:57 +00:00
Alasdair Kergon
1f4ceb89cf
Customisable message output prefix / indentation.
2002-01-22 15:33:40 +00:00
Joe Thornber
0934ca0040
o added BUGS file.
2002-01-22 14:40:38 +00:00
Joe Thornber
4738f892c2
o Fix inverted logic in list_empty test.
2002-01-22 14:16:27 +00:00
Alasdair Kergon
33004fcf33
old file
2002-01-22 13:29:34 +00:00
Alasdair Kergon
34d214c166
Update. Ready to release?
2002-01-22 13:11:01 +00:00
Alasdair Kergon
a56cd92a1e
No need for file output to default to stderr now that log file can be
...
specified in config file.
2002-01-21 19:05:00 +00:00
Alasdair Kergon
7251348507
Insert a missing hash_remove.
2002-01-21 19:04:13 +00:00
Joe Thornber
01cd5c84d6
o Allow fractional parts for size args. eg, lvcreate -L 34.4M
...
o Fix a couple of bugs related to the earlier lv_list change
2002-01-21 17:43:10 +00:00
Joe Thornber
e210599fa6
o Similar changes for lv_list.
2002-01-21 16:49:32 +00:00
Joe Thornber
dbe7cee7e9
o fail if create_pv_list would produce an empty list.
2002-01-21 16:15:25 +00:00
Joe Thornber
7370d88ceb
o Typo in comment
2002-01-21 16:10:36 +00:00
Joe Thornber
34458e0c57
o Changed
...
struct pv_list {
struct list list;
struct physical_volume pv;
};
to
struct pv_list {
struct list list;
struct physical_volume *pv;
};
o New function in toollib 'create_pv_list', which creates a list of pv's
from a given command line array of pv's.
o Changed lvcreate/extend to use this (fixes lvextend [pv list] bug).
2002-01-21 16:05:23 +00:00
Alasdair Kergon
05c8c3abf2
Is this sufficient to fix make -j?
2002-01-21 16:02:55 +00:00
Patrick Caulfield
e9d464b4d3
Fixx OB1 error in max LV and max PV numbers
2002-01-21 14:53:47 +00:00
Joe Thornber
6968c3ab9b
o Changed find_pv_in_vg, and find_lv_in_vg to return a struct pv_list * and
...
struct lv_list * respectively.
2002-01-21 14:28:12 +00:00
Joe Thornber
131a8a9650
o names.[hc]
2002-01-21 13:11:03 +00:00
Joe Thornber
379ecbf9a9
o lvdisplay now gives a segment map for the -m option.
2002-01-21 12:05:39 +00:00
Joe Thornber
7b9dfa9a28
o removed display_uuid
...
o use id_write_format from lib/uuid/uuid.h instead
2002-01-21 11:29:06 +00:00
Joe Thornber
fbd0f5eed2
o move the path building functions to lib/activate/names.c
...
o Update activate.c and fs.c to use them
o device names are now of the form <vg>:<lv>
2002-01-21 11:06:32 +00:00
Alasdair Kergon
5970f904ae
Allow syslog facility to be set, or turned off, from the config file.
2002-01-18 21:26:37 +00:00
Alasdair Kergon
8cbcb2868d
Display something in the "hypothetical" unknown log level case.
2002-01-18 19:38:19 +00:00
Alasdair Kergon
8ff2a4b026
Use same log levels as LVM2.
2002-01-18 19:37:26 +00:00
Alasdair Kergon
ae14d205a5
Allow compilation against a device-mapper that was installed into $DESTDIR
...
Always check for negative (error) return code from lv_active()
2002-01-18 16:43:19 +00:00
Alasdair Kergon
ec5d560ec5
More updates.
2002-01-18 13:45:12 +00:00
Heinz Mauelshagen
fb543b53c0
added before 2.1 item
2002-01-18 11:07:26 +00:00
Alasdair Kergon
39c16422e2
beta1-pre1 tagged, but there's still some documentation to update/write.
2002-01-17 18:48:08 +00:00
Alasdair Kergon
4d5b273ebe
Support --version argument and 'version' shell command.
2002-01-17 16:39:24 +00:00
Alasdair Kergon
ed6a860fad
Add function that returns the library version.
2002-01-17 14:13:25 +00:00
Alasdair Kergon
423e579292
Add another level of symlink to library name (like LVM1) so people who find
...
themselves running multiple incompatible kernel versions will just need
to swap symlinks at boot.
2002-01-17 13:37:09 +00:00
Alasdair Kergon
ee11aa9e75
Use additional version numbers.
...
Kernel driver has a version number (stored in kernel/VERSION).
The first two components of this (0.94) give the version number of the
ioctl interface. This number must be changed whenever a change is
made to the ioctl interface that breaks backwards compatibility.
The library has a version number (stored in VERSION) which is
used for linking.
The first and/or second component of this must be changed whenever
a change is made to the library API that breaks backwards
compatibility.
2002-01-17 13:19:55 +00:00
Alasdair Kergon
c46d20fa92
o pvcreate --uuid to specify the uuid (required before using vgcfgrestore
...
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.]
2002-01-16 18:10:08 +00:00
Joe Thornber
dc8d17574c
o save before committing
2002-01-16 15:53:42 +00:00
Joe Thornber
5c17cd04c8
o lvm.conf file that contains the same settings that would be assumed if it
...
wasn't there. A good starting point for tweaking.
2002-01-16 15:52:53 +00:00
Alasdair Kergon
67ada02076
Move test flag from log to global section of config file.
2002-01-16 15:20:51 +00:00
Alasdair Kergon
32d94c2eaf
o Don't update vgcache when (not really) writing in test mode.
...
o Don't continue iterating through a possibly-deleted list.
2002-01-16 14:43:27 +00:00