Joe Thornber
27f6cd0a88
o Remove LVM_CONFIG_FILE environment variable.
...
o Introduced the LVM_SYSTEM_DIR variable.
This makes more sense because the persistent cache, and backup directories
are config specific.
eg, I use /etc/lvm for running my real LV's
but I have another directory /dev/lvm_loops that contains a config
that allows only loopback devices, I use this for testing.
2001-12-17 12:01:09 +00:00
Joe Thornber
8a6d1dd408
I had another look at the argument processing code:
...
o You must list long args with no short option (eg. --version) at the
front of the args.h file.
o If an argument has no short option, set the short option in args.h to '\0'
o The index into the 'the_args' var is now stored as the option value
for getopt, iff there is no short opt.
2001-12-17 10:08:27 +00:00
Alasdair Kergon
df520f1265
o Include dmsetup man page in build
...
o Allow pathname in dmsetup device arg
o Generated patches for 0.90.02
2001-12-14 13:30:04 +00:00
Alasdair Kergon
faa556e759
Add internal cache holding a 'hint' list of the PVs belonging to each VG.
...
A substantial speed-up - particularly in readline mode.
If the hints turn out to be wrong, the relevant parts get thrown away.
vgscan destroys it totally. In both cases it then rebuilds itself as
required.
2001-12-13 00:07:29 +00:00
Alasdair Kergon
b74c8033a2
Fixes for allocation of striped volumes.
2001-12-07 21:17:12 +00:00
Alasdair Kergon
a03f232063
Tweaks for make install. -m args replaces verbose to display maps.
2001-12-03 20:23:53 +00:00
Alasdair Kergon
7a61472a0a
More striping support & fixes.
2001-12-03 16:27:16 +00:00
Alasdair Kergon
c2d72fd402
Add -t or --test arg to all tools that update metadata to avoid
...
committing metadata changes or (de)activating.
2001-11-28 18:03:11 +00:00
Alasdair Kergon
3c762e6d4e
Fix single stripe resizing.
2001-11-28 16:16:44 +00:00
Alasdair Kergon
579944d327
o Tool support for segments.
...
o vgmerge working.
2001-11-28 13:45:50 +00:00
Alasdair Kergon
da4e57f2ba
vgmerge first cut
2001-11-27 17:02:24 +00:00
Alasdair Kergon
52dc213926
Tool support for multiple (striped) segments (incomplete).
2001-11-27 13:42:37 +00:00
Joe Thornber
60140607cf
o Make sure that every switch has a short option, even if it's
...
non-displayable so we can remove the pointer mangling that was
breaking 64bit arch.s
2001-11-22 14:37:07 +00:00
Alasdair Kergon
3080a75445
o activation & active status tests
...
o lvdisplay fields from kernel
o update lv->size on resize
2001-11-21 19:32:35 +00:00
Joe Thornber
897058e5c6
o Display major number
2001-11-21 18:12:41 +00:00
Joe Thornber
e7e8c033b5
o Change name of libdm.h
2001-11-21 15:15:37 +00:00
Joe Thornber
19df7116c6
o Migration of device-mapper from LVM_WORK to it's own (public) repository.
...
Please use this one from now on.
2001-11-21 12:47:42 +00:00
Alasdair Kergon
7f3859bb5c
vgdisplay
2001-11-19 15:20:50 +00:00
Alasdair Kergon
fe827798fa
Zero first 4k of new LVs.
2001-11-16 15:38:52 +00:00
Patrick Caulfield
79cf96de20
Don't need EXTRA_LIBS as autoconf fills in LIBS for us with all that is needed.
...
BTW if there are any *real* autoconf experts out there please feel free to flame
me.
2001-11-16 11:39:13 +00:00
Alasdair Kergon
d9bc7ffe61
lvrename (without reactivation)
2001-11-15 17:27:45 +00:00
Patrick Caulfield
2fa9bf7052
Use POSIX defined PRIu64 for formatting 64 bit unsigned integer types
2001-11-15 15:18:53 +00:00
Alasdair Kergon
9b7742bb36
More LV-related tidying. lvdisplay without args now shows all LVs.
2001-11-14 18:38:07 +00:00
Alasdair Kergon
6e74833c6c
Avoid generating duplicate lv names
2001-11-14 14:12:01 +00:00
Alasdair Kergon
5238b63f1a
Miscellaneous tidying
2001-11-14 13:52:38 +00:00
Joe Thornber
e55ae5d32e
o lvcreate no longer needs the explicit -n flag
...
o disabled zeroing of lv until bug's worked out
2001-11-14 12:07:37 +00:00
Joe Thornber
bb2250f097
o Prefix static var with '_'
2001-11-14 10:44:14 +00:00
Alasdair Kergon
e68b5e3029
o lvdisplay now shows LE / PV map
...
o fix LE allocation when first PV is full
o reduce VG free_count when removing PVs from VG
2001-11-13 17:53:06 +00:00
Alasdair Kergon
03a8a07d67
Merge lvreduce & lvextend into lvresize.
2001-11-13 14:17:50 +00:00
Joe Thornber
d53f88d7af
o Stuff
2001-11-12 19:28:50 +00:00
Alasdair Kergon
277237805a
iospace restructured
2001-11-12 15:10:01 +00:00
Alasdair Kergon
7858f6fb16
o Added lvextend
...
o Full signed arguments to lvreduce/lvextend
o Consistent lv_number/pe map use
o Populate pv->pe_allocated
o Fixes for allocation/writing of multiple LVs
2001-11-09 22:01:04 +00:00
Alasdair Kergon
94b8220f6a
lvdisplay & lvreduce
2001-11-08 16:15:58 +00:00
Alasdair Kergon
4f7a219dac
o Always set LVM_READ.
...
o Avoid duplicate deallocation.
2001-11-07 22:47:43 +00:00
Joe Thornber
2ba80b436f
o Added lvs_in_vgs_opened
2001-11-07 15:02:07 +00:00
Heinz Mauelshagen
4429597ece
Added GPL disclaimer
2001-11-07 08:50:07 +00:00
Alasdair Kergon
642c2e964b
lvcreate
2001-11-06 19:02:26 +00:00
Alasdair Kergon
f047219b23
Link in the activation library.
2001-11-02 16:28:04 +00:00
Alasdair Kergon
0a5e4a1442
o Changes to activation interface
...
o Add pointer lv->vg
o Some naming tweaks to improve clarity
2001-10-31 17:59:52 +00:00
Joe Thornber
1b9fcf48b1
o LGPL list implementation
2001-10-31 12:47:01 +00:00
Alasdair Kergon
0fc8bab82a
lvchange
2001-10-30 14:32:48 +00:00
Alasdair Kergon
34e1c94be1
basic lvscan
2001-10-29 18:23:35 +00:00
Alasdair Kergon
a352490f88
prefix & vgname in lvname
2001-10-29 15:28:00 +00:00
Alasdair Kergon
cfd658dab0
lvremove
2001-10-29 13:52:23 +00:00
Alasdair Kergon
4bc89a2b98
o log/overwrite=1 in config file to overwrite instead of append to log
2001-10-25 17:25:48 +00:00
Alasdair Kergon
a4c0d9c2e4
o fopen error message
...
o debug options in makefile
2001-10-25 15:07:26 +00:00
Joe Thornber
c7f0b573ac
o use dev_name(dev) to get the name of a device, this operation is cheap
...
since it just get's the first alias.
2001-10-25 14:04:18 +00:00
Alasdair Kergon
d2393d23ee
persistent cache fully incorporated. Goodbye to scanning /dev/cdrom :-)
2001-10-24 17:53:50 +00:00
Alasdair Kergon
4790fce2ad
persistent filter & some log message changes
2001-10-23 18:20:27 +00:00
Alasdair Kergon
014a5c0bf0
deallocations
2001-10-23 12:33:57 +00:00
Alasdair Kergon
20a2b71c9c
filter integration into tools
2001-10-23 11:50:49 +00:00
Alasdair Kergon
cd77c5a7b7
pvdisplay
2001-10-18 16:55:19 +00:00
Alasdair Kergon
8f8a968dc2
pvchange
2001-10-17 15:29:31 +00:00
Alasdair Kergon
b6c041d752
pvscan
2001-10-16 18:07:54 +00:00
Alasdair Kergon
a381c45a6e
vgchange
2001-10-16 16:25:28 +00:00
Alasdair Kergon
ffb3162116
vgextend
2001-10-15 22:04:27 +00:00
Alasdair Kergon
aa290eb285
vgcreate basic extent size validation
2001-10-15 20:29:15 +00:00
Alasdair Kergon
df2e0dc751
More vgcreate error trapping
2001-10-15 18:39:40 +00:00
Alasdair Kergon
ca8f8837c2
o lvm readline error-case tidy-up
...
o more vgcreate error cases
2001-10-15 12:49:58 +00:00
Joe Thornber
8a482590fa
o vgcreate
2001-10-12 14:25:53 +00:00
Alasdair Kergon
9711fef759
vgcreate
2001-10-12 12:21:43 +00:00
Joe Thornber
48c4f95d4d
o lift call to check out of pvcreate_single
2001-10-12 10:45:04 +00:00
Joe Thornber
0d5f9868b8
o rename _single pvcreate_signle
2001-10-12 10:43:36 +00:00
Joe Thornber
cfcca2168f
o made _single static
2001-10-12 10:42:31 +00:00
Joe Thornber
72a5e12b5c
o pvcreate
...
o added uuid unit
o stubbed partition stuff
2001-10-12 10:32:06 +00:00
Alasdair Kergon
57613d7345
sync
2001-10-12 09:52:30 +00:00
Alasdair Kergon
6e91eeef13
vgreduce, vgremove, vgrename & vgscan
2001-10-11 21:35:55 +00:00
Alasdair Kergon
2d9133bbbd
standardise some log messages
2001-10-10 16:36:32 +00:00
Alasdair Kergon
90ae9fe928
Tidy metadata diagnostic messages.
2001-10-10 12:45:20 +00:00
Alasdair Kergon
0dc2a4d6e4
o vgremove.
...
o filter devices by major.
2001-10-09 17:20:02 +00:00
Alasdair Kergon
677a06d5fd
vgrename & vgck
2001-10-08 18:44:22 +00:00
Alasdair Kergon
25d42d50a8
Sync include file changes.
2001-10-05 21:39:30 +00:00
Alasdair Kergon
ee1f91bf27
metadata status flags regrouping & comments; misc tool changes
2001-10-04 22:53:37 +00:00
Joe Thornber
e6efb2b0bd
o got dbg_malloc_t working, Alasdair could you look at the Makefile.in it
...
seems to be having trouble with the dependencies.
o removed some files from the lib makefile that don't compile yet.
2001-10-04 10:13:07 +00:00
Alasdair Kergon
b39630bdb7
vgcreate & lvmchange outlines
2001-10-03 20:38:07 +00:00
Alasdair Kergon
317919c7c6
vgrename & pvchange outlines
2001-10-03 17:03:25 +00:00
Alasdair Kergon
fbad1c90a1
lvremove outline
2001-10-03 12:34:08 +00:00
Alasdair Kergon
9e300c8427
pvscan framework
2001-10-02 17:09:05 +00:00
Alasdair Kergon
1f6db21f32
Another step towards consistency & compilation.
2001-10-01 22:12:10 +00:00
Alasdair Kergon
28f5d16b4f
Misc structural changes.
2001-10-01 19:36:06 +00:00
Alasdair Kergon
6c796c3903
Merge fixes
2001-10-01 15:29:39 +00:00
Alasdair Kergon
b8ef655fb7
Tidy include files
2001-10-01 15:14:39 +00:00
Alasdair Kergon
0153e94a50
fix memory leak
2001-09-25 16:26:38 +00:00
Alasdair Kergon
269930c0da
lvactivate checkpoint commit
2001-09-25 12:49:28 +00:00
Alasdair Kergon
27829d8063
Another missing dependency.
2001-09-24 22:44:06 +00:00
Alasdair Kergon
795ca3e5b8
Makefiles & autoconf.
2001-09-21 12:37:43 +00:00
AJ Lewis
b653404542
o initial subdir population
2001-08-15 16:20:46 +00:00