Alasdair Kergon
3d0480ed27
Code to build and display device dependency tree.
2005-10-16 14:33:22 +00:00
Alasdair Kergon
72a444276f
Add dmsetup --nolockfs support for suspend/reload.
...
Requires kernel patches to have any effect.
Library version incremented.
2005-10-04 20:12:32 +00:00
Alasdair Kergon
9b02bdbce0
Refuse to run pvcreate/pvremove on devices we can't open exclusively.
2005-10-03 21:10:41 +00:00
Alasdair Kergon
9c9e30cd6d
Use ORPHAN lock definition throughout.
2005-10-03 18:16:44 +00:00
Alasdair Kergon
07c5c47875
Impose chunk size limitation.
2005-09-30 22:20:14 +00:00
Alasdair Kergon
2b96712ab7
Reduce chunksize limit to 512k.
2005-09-29 15:50:51 +00:00
Alasdair Kergon
88d2bdc668
Fix chunksize field in reports.
2005-09-23 17:06:01 +00:00
Alasdair Kergon
540b379902
Don't hide snapshots from default 'lvs' output.
2005-09-23 16:22:17 +00:00
Alasdair Kergon
ae9c3f1664
Fix yes_no_prompt() error handling.
2005-08-31 19:32:10 +00:00
Alasdair Kergon
69cfb9203b
Fix termination of getopt_long() option array.
2005-08-18 19:40:19 +00:00
Alasdair Kergon
2d9e596fe6
Move lvconvert parameters into struct lvconvert_params.
2005-08-15 14:10:28 +00:00
Alasdair Kergon
0fb173aa3a
Change LV locking macros to take lv instead of lvid.
2005-08-15 12:00:04 +00:00
Alasdair Kergon
07d318310b
Prepare tools to support clustered mirrors.
2005-08-14 23:18:28 +00:00
Alasdair Kergon
fb9d44daf1
Factor out generate_log_name_format().
2005-08-12 20:02:21 +00:00
Alasdair Kergon
bfd31e94d5
Factor out adjusted_mirror_region_size()
2005-08-12 19:23:08 +00:00
Alasdair Kergon
190f6945ee
Fix lvconvert PV parameter in help string.
2005-08-04 01:50:17 +00:00
Alasdair Kergon
a9b5af1d62
Move zero_lv to toollib.
2005-08-04 01:14:36 +00:00
Alasdair Kergon
a7c3ee3805
Fix dmsetup ls -j and status --target with empty table.
2005-07-29 16:11:23 +00:00
Alasdair Kergon
f1a8b66758
fix lvm1 non-mirror lvcreate
2005-06-22 14:56:14 +00:00
Alasdair Kergon
5e947dac48
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00
Alasdair Kergon
8b80d2a57c
Make VG name restrictions consistent.
2005-06-06 18:16:33 +00:00
Alasdair Kergon
1a1f3d3efe
Introduce lvconvert. So far only removes mirror images.
2005-06-06 17:12:08 +00:00
Alasdair Kergon
f5190ed40c
prevent active mirror resize for now
2005-06-03 22:26:09 +00:00
Alasdair Kergon
ffb0e5387b
Allow mirror images to be resized.
2005-06-03 19:48:19 +00:00
Alasdair Kergon
8211a13ce0
Always insert an intermediate layer for mirrors.
...
Suppress hidden LVs from reports unless --all is given.
Use square brackets for hidden LVs in reports.
Centralise restrictions on LV names.
2005-06-03 14:49:51 +00:00
Alasdair Kergon
60f13f01d2
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
bd236f658d
Fix non-orphan pvchange -u.
2005-05-24 17:38:26 +00:00
Alasdair Kergon
21ca3b1227
Fix vgmerge to handle duplicate LVIDs.
2005-05-19 16:48:51 +00:00
Alasdair Kergon
e7c47a5dad
Start merging cloned allocation functions.
2005-05-17 13:49:45 +00:00
Alasdair Kergon
7ac8c2389f
Move archiver code from tools into library.
2005-05-17 13:46:38 +00:00
Alasdair Kergon
24e654645f
vgscan/change/display/vgs automatically create metadata backup if out-of-date or missing.
2005-05-17 13:44:02 +00:00
Alasdair Kergon
b7c70050d6
Add dmsetup ls --exec.
2005-05-16 20:46:46 +00:00
Alasdair Kergon
2272500bc8
Add --target to dmsetup ls.
2005-05-16 16:04:34 +00:00
Alasdair Kergon
ebf21d3f93
Call dm_lib_exit() and dm_lib_release() automatically now.
2005-05-16 15:15:34 +00:00
Alasdair Kergon
67f109504e
Add --target <target_type> filter to dmsetup table/status.
...
Fix dmsetup getopt_long usage.
2005-05-16 14:53:23 +00:00
Alasdair Kergon
7f2def9e6d
Remove lists of free PV segments.
...
Simplify pv_maps code and remove slow bitset algorithm.
2005-05-11 15:02:49 +00:00
Alasdair Kergon
32469fb25c
lv_reduce tidying.
...
Remove some unnecessary parameters.
Introduce seg_is macros.
2005-05-09 16:59:01 +00:00
Alasdair Kergon
abe198c0e8
Don't create backup and archive dirs till needed.
2005-05-03 17:31:56 +00:00
Alasdair Kergon
15db9fcfbf
Reinstate full PV size when removing from VG.
...
Support loopfiles for testing.
Complete the pv_segment support.
2005-05-03 17:28:23 +00:00
Alasdair Kergon
c54a940540
Initial pv_segment code.
2005-04-19 20:58:25 +00:00
Alasdair Kergon
66278a80b1
vgchange --physicalextentsize (but only if it's an exact fit - may need to
...
use pvmove first)
2005-04-18 14:56:42 +00:00
Alasdair Kergon
072893aabd
Internal snapshot code restructuring.
2005-04-07 12:39:44 +00:00
Alasdair Kergon
3a6edbed16
add lvid to lv_create_empty
2005-04-07 12:29:46 +00:00
Alasdair Kergon
69b2cc0ee0
Remove unused internal non-persistent snapshot option.
2005-04-07 12:27:57 +00:00
Alasdair Kergon
864de9cee1
Allow offline extension of snapshot volumes.
...
NB Requires kernel patch that is not upstream.
2005-04-07 12:17:46 +00:00
Alasdair Kergon
1165258cda
Alignment tidying.
2005-04-06 13:47:41 +00:00
Alasdair Kergon
0a0f13e600
Add --ignorelockingfailure to vgmknodes.
2005-04-04 14:44:49 +00:00
Alasdair Kergon
969e08da0f
Drop-in devmap_name replacement.
2005-03-27 11:37:46 +00:00
Alasdair Kergon
343a8c920d
Add clustered attribute so vgchange can identify clustered VGs w/o locking.
2005-03-21 22:55:12 +00:00
Alasdair Kergon
e5b836d2d6
Improve detection of external changes affecting internal cache.
2005-03-21 22:40:35 +00:00
Alasdair Kergon
200ef4db90
Add -a to pvdisplay -C.
2005-03-21 14:47:36 +00:00
Alasdair Kergon
7e0b7fd0e5
Avoid some compiler warnings.
2005-03-10 22:34:17 +00:00
Alasdair Kergon
b9565b406a
Cope with new devices appearing by rescanning /dev if a uuid can't be found.
2005-03-08 13:46:17 +00:00
Alasdair Kergon
8f5d81cbc8
Remove DESTDIR from LVM_SHARED_PATH.
2005-03-08 13:39:39 +00:00
Alasdair Kergon
432cd1e47a
Option to suppress warnings of file descriptors left open.
2005-03-03 22:09:20 +00:00
Alasdair Kergon
8e3a97baf2
Static binary invokes dynamic binary if appropriate.
2005-02-18 18:58:31 +00:00
Alasdair Kergon
3ef1aceed6
lvm2cmd.so should skip the check for open fds.
2005-02-03 16:34:53 +00:00
Alasdair Kergon
421c2a6aed
Remove unused -f from pvmove
2005-02-02 14:31:48 +00:00
Alasdair Kergon
7851b13bc4
Fix snapshot device size bug (since 2.01.01).
2005-01-27 15:48:49 +00:00
Alasdair Kergon
52f9afec22
Always fail if random id generation fails.
2005-01-20 18:11:53 +00:00
Alasdair Kergon
68e4adb561
Add some comments.
2005-01-19 17:31:51 +00:00
Alasdair Kergon
3f7f3fe415
move recover_vg
2005-01-19 17:30:50 +00:00
Alasdair Kergon
c45a8a2c1c
Store snapshot and origin sizes separately.
2005-01-19 17:19:39 +00:00
Alasdair Kergon
73543ee70d
Fix vgscan metadata auto-correction.
2005-01-17 18:24:28 +00:00
Alasdair Kergon
e9c761b869
Only ask libdevmapper for open_count when we need it.
2005-01-12 22:58:21 +00:00
Alasdair Kergon
8e2dd0dfb2
Add dm_task_no_open_count() to skip getting open_count.
2005-01-12 22:10:14 +00:00
Alasdair Kergon
2245e1c41f
pvcreate wipes first 4 sectors unless given --zero n.
2005-01-05 17:25:25 +00:00
Alasdair Kergon
01a0beedce
Fix an error fprintf.
2004-12-22 21:47:31 +00:00
Alasdair Kergon
bc0d0ce072
Fix vgdisplay -s. Breaks (undocumented) lvs/pvs/vgs -s instead for now.
2004-12-21 21:40:36 +00:00
Alasdair Kergon
8c9a1d6a3d
Fix pvchange -x segfault with lvm2-format orphan.
2004-12-21 16:12:02 +00:00
Alasdair Kergon
09a7dce6be
Additional device-handling debug messages.
...
Additional verbosity level -vvvv includes line numbers and backtraces.
Verbose messages now go to stderr not stdout.
Close any stray file descriptors before starting.
Refine partitionable checks for certain device types.
Allow devices/types to override built-ins.
2004-12-10 16:01:35 +00:00
Alasdair Kergon
82416639c4
Only wipe signature bytes when destroying md superblock, so process
...
is reversible.
2004-11-19 19:32:09 +00:00
Alasdair Kergon
5ab925debf
pvcreate wipes md superblocks. (With --uuid or --restorefile it prompts.)
2004-11-19 19:25:07 +00:00
Alasdair Kergon
0ec78e9862
Prevent snapshot origin resizing.
2004-11-18 19:49:48 +00:00
Alasdair Kergon
c27dc4e757
Improve a vgremove error message.
2004-11-18 19:45:53 +00:00
Alasdair Kergon
63bea03ed1
More man page updates.
2004-11-16 18:09:32 +00:00
Alasdair Kergon
d6cf43252e
Update some man pages.
2004-11-12 15:59:09 +00:00
Alasdair Kergon
b55c16aaf6
Also accept y/n with -ae.
2004-11-12 15:58:26 +00:00
Alasdair Kergon
cb8920e642
Fixes to lvcreate vgname processing.
2004-10-15 15:53:18 +00:00
Alasdair Kergon
45ae32da38
Add --noheadings option to dmsetup -c for colon-separated output.
2004-10-12 16:42:40 +00:00
Alasdair Kergon
3f096a6c45
Support device referencing by uuid or major/minor.
2004-10-01 19:11:37 +00:00
Alasdair Kergon
0c4f1a94c1
Use macro in vgremove locking fix.
2004-09-27 10:32:36 +00:00
Patrick Caulfield
f4ae9ae153
Hold VG lock while doing vgremove.
...
agk - you may want to check this.
2004-09-24 12:48:43 +00:00
Alasdair Kergon
c4ddb31abf
Rename old segtypes files to segtype.
2004-09-16 18:40:56 +00:00
Alasdair Kergon
e26c4fd2a2
Some fixes to memory debugging code.
...
Exclude internal commands formats & segtypes from install.
2004-09-16 16:53:39 +00:00
Alasdair Kergon
ae0f5bc26a
Add formats & segtypes files.
2004-09-15 15:27:26 +00:00
Alasdair Kergon
156dd4f1ec
New commands 'segtypes' and 'formats'.
2004-09-14 16:42:46 +00:00
Alasdair Kergon
17d1ae7ee2
Suppress pvmove abort message in test mode.
2004-09-14 15:23:42 +00:00
Alasdair Kergon
b9ade4bc21
Improve pvcreate/remove device not found error message.
2004-09-14 14:54:58 +00:00
Alasdair Kergon
00b47204e0
Allow pvmove to move data within the same PV.
2004-09-14 13:59:17 +00:00
Alasdair Kergon
9bd40d31d7
Update pvmove prototype.
2004-08-18 18:49:29 +00:00
Alasdair Kergon
392b28ec5c
Support for PE ranges in pvmove source PV.
2004-08-17 22:09:02 +00:00
Alasdair Kergon
bcd4e5d50d
Remove duplicate line in pvremove help text.
2004-08-17 22:06:06 +00:00
Alasdair Kergon
eabaa3398b
Change alloc_areas to pe_ranges and allow suppression of availability checks.
2004-08-17 21:55:23 +00:00
Alasdair Kergon
824d251972
fix a newline
2004-07-03 18:15:14 +00:00
Alasdair Kergon
8bad033938
Fix device number handling for 2.6 kernels.
2004-07-01 15:14:29 +00:00
Alasdair Kergon
a58fef6faa
Add initrd-lvm to list of recognised argv[0]s. [pld-linux]
2004-06-29 13:27:19 +00:00
Alasdair Kergon
80992638e1
Fix LD_FLAGS->LDFLAGS. LD_DEPS->LDDEPS.
...
Update configure script: add --disable-selinux & some missing messages.
2004-06-28 14:01:24 +00:00
Alasdair Kergon
88be836f39
Fix vgchange (de)activation of (open) LVs.
2004-06-24 14:48:01 +00:00
Alasdair Kergon
244a32b3d5
Remove pv segments line from backport.
2004-06-20 15:14:31 +00:00
Alasdair Kergon
c29d24650d
Display all filtered devices, not just PVs, with pvs -a.
2004-06-19 19:27:00 +00:00
Alasdair Kergon
8d267798db
vgcfgbackup -f accepts template with %s for VG name.
2004-06-19 18:55:29 +00:00
Alasdair Kergon
b86ef8e2cb
Add local activation support.
2004-06-16 17:13:41 +00:00
Alasdair Kergon
32c5ad86ab
Add dmsetup -C for column-based output.
2004-06-16 16:44:12 +00:00
Alasdair Kergon
3f48434eb6
fsadm
2004-06-15 17:29:20 +00:00
Alasdair Kergon
1a9ea74d2d
lvresize + fsadm support - needs testing
2004-06-15 17:23:49 +00:00
Alasdair Kergon
5145e6e550
Clear message buffer before use.
2004-06-10 16:14:16 +00:00
Alasdair Kergon
62cec9b225
Support new target message ioctl.
2004-06-08 20:34:40 +00:00
Alasdair Kergon
30bab85be1
Fix rounding of large displayed sizes.
2004-06-07 15:22:43 +00:00
Alasdair Kergon
abaf083ddc
Additional kernel target checks before pvmove & snapshot creation.
2004-05-24 20:51:56 +00:00
Alasdair Kergon
7f0dc9c4cb
Remove error labels.
2004-05-24 15:58:50 +00:00
Alasdair Kergon
199fa12a3b
Fix a pvs error path.
2004-05-24 14:14:10 +00:00
Alasdair Kergon
36cfd88743
xxchange -ae to activation exclusively
2004-05-24 13:44:10 +00:00
Alasdair Kergon
29e94d9531
Don't return non-zero status if there aren't any volume groups
2004-05-20 16:18:58 +00:00
Alasdair Kergon
a0a23eff4b
Rename allocation policies; add --alloc to cmdline; LV inherits from VG.
2004-05-18 22:12:53 +00:00
Alasdair Kergon
63aead84ee
indent
2004-05-18 21:55:55 +00:00
Alasdair Kergon
241913fe60
Restructure lvresize, bringing it closer to lvcreate.
2004-05-11 18:47:40 +00:00
Alasdair Kergon
1a51586c0c
indent
2004-05-11 18:45:11 +00:00
Alasdair Kergon
1832f310ac
Add --type to lvcreate/resize.
...
Add virtual segment types, zero and error.
A large sparse device can be constructed as a writeable snapshot of a large
zero device.
2004-05-11 16:01:58 +00:00
Alasdair Kergon
1d2ebf6281
Push lv_create & alloc policy up to tool level.
2004-05-05 18:49:21 +00:00
Alasdair Kergon
9c333277cc
fix return code
2004-05-05 18:39:30 +00:00
Alasdair Kergon
e176106f14
Skip mirror LV. Comments.
2004-05-05 18:33:01 +00:00
Alasdair Kergon
e3adcd79d3
Detect invalid LV names in arg lists.
2004-05-05 18:31:38 +00:00
Alasdair Kergon
21cd8adc80
stray space
2004-05-05 18:27:56 +00:00
Alasdair Kergon
cb919290c2
Separate out polldaemon.
2004-05-05 17:56:20 +00:00
Alasdair Kergon
23289e6d14
Revise internal locking semantics.
2004-05-05 12:03:07 +00:00
Alasdair Kergon
5668c1abad
move find_pv_by_name to lib
2004-05-05 11:04:28 +00:00
Alasdair Kergon
4922197a33
Begin to separate out segment types.
2004-05-04 21:25:57 +00:00
Alasdair Kergon
25579907fc
Support tagged config files.
2004-05-04 18:28:15 +00:00
Alasdair Kergon
a38df97fb8
config option to avoid using install -o -g
2004-04-19 13:10:06 +00:00
Alasdair Kergon
96185e9ca1
Use 64-bit file functions.
2004-04-16 18:43:29 +00:00
Alasdair Kergon
0a62c911d1
lvm.static can be installed in different dir from rest of tools
2004-04-14 18:00:23 +00:00
Alasdair Kergon
7d1552c9de
Option for auto-fallback to LVM1 tools if running 2.4 without device-mapper.
2004-04-08 15:23:23 +00:00
Alasdair Kergon
c5ff6dfa74
More build fixes
2004-04-06 15:14:23 +00:00
Alasdair Kergon
3aa078436a
accept argv[0] lvm.static
2004-04-05 16:24:17 +00:00
Alasdair Kergon
3b8fe25248
Missing dev_close_all()s
2004-03-31 18:41:39 +00:00
Alasdair Kergon
6606c3ae81
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
8b67f40de2
Update copyright messages.
2004-03-30 19:08:57 +00:00
Alasdair Kergon
8b07664860
Fix vgmknodes to remove dud /dev/mapper entries
2004-03-30 14:40:03 +00:00
Alasdair Kergon
22eb54036f
Move full mknodes functionality from dmsetup into libdevmapper.
2004-03-30 14:31:58 +00:00
Alasdair Kergon
a78374ae0d
and another typo
2004-03-26 21:49:57 +00:00
Alasdair Kergon
120943341c
typo
2004-03-26 21:47:43 +00:00
Alasdair Kergon
71b9fadf65
lvchange --refresh
2004-03-26 21:24:03 +00:00
Alasdair Kergon
192b1759ca
indent
2004-03-26 15:46:37 +00:00
Alasdair Kergon
09c1404182
cmdlib prototypes
2004-03-26 14:56:41 +00:00
Alasdair Kergon
79982c59a0
.export.sym generation
2004-03-26 14:51:23 +00:00
Alasdair Kergon
8106cdd570
update configure for cmdlib
2004-03-26 14:17:14 +00:00
Alasdair Kergon
84510264cd
Update makefiles (incl. cmdlib).
2004-03-26 13:21:12 +00:00
Alasdair Kergon
040cfcf89c
Rename some files to avoid duplicate filenames in tree.
2004-03-26 12:25:15 +00:00
Alasdair Kergon
c55d22dc0b
Add cmdlib code.
2004-03-26 12:21:24 +00:00
Alasdair Kergon
acd03445c3
Add --nolocking option for read operations if locking is failing/unavailable.
2004-03-26 12:09:33 +00:00
Alasdair Kergon
7fa2d1a092
Move main() into separate file.
2004-03-26 12:00:24 +00:00
Alasdair Kergon
e56ff0333d
Indent; _init -> _init_lvm
2004-03-26 11:49:07 +00:00
Alasdair Kergon
d24fb77c03
Rebaseline internal verbose level.
2004-03-26 11:45:01 +00:00
Alasdair Kergon
c9f25410c9
Avoid sscanf %as for uClibc
2004-03-19 15:52:22 +00:00
Alasdair Kergon
814643d8a2
rename config file vars & always use / as separator
2004-03-08 18:28:45 +00:00
Alasdair Kergon
de17d760ba
host tags
2004-03-08 18:13:22 +00:00
Alasdair Kergon
cf6dd25126
tagging
2004-03-08 17:19:15 +00:00
Alasdair Kergon
02cb3ccdc4
Fix (rare) bug in recognition of long argument forms.
2004-03-08 13:54:45 +00:00
Alasdair Kergon
ec36089afd
Extract log.h and tweak funcs to be like lvm2 ones.
2004-02-24 18:50:09 +00:00
Alasdair Kergon
cf37d5c7ab
Userspace support for LIST_VERSIONS ioctl.
2004-01-23 14:37:47 +00:00
Alasdair Kergon
bd094b5d1d
Add event number arg to dmsetup wait.
2004-01-23 14:09:33 +00:00
Alasdair Kergon
15e6db353d
pv/vgchange --uuid to change (non-random) UUIDs to random values
2004-01-13 18:42:05 +00:00
Alasdair Kergon
607131b624
Change pvscan to show total of usable device size (instead of free data space).
2003-12-09 22:32:47 +00:00
Alasdair Kergon
ace13d2ca4
Remove undocumented -m abbreviation.
2003-12-09 22:17:17 +00:00
Alasdair Kergon
e19f549a11
Fix support for PVs on read only devices. [Still must set LVs read only]
2003-11-21 19:54:40 +00:00
Alasdair Kergon
2d8612c8ae
Don't remove mirror LV until after other LVs reloaded.
2003-11-20 16:22:04 +00:00
Alasdair Kergon
ee8518bd9c
lvcreate should close the initialised snapshot device immediately.
2003-11-14 17:55:39 +00:00
Alasdair Kergon
5a8fa8c91f
vgscan --mknodes
2003-11-14 14:03:48 +00:00
Alasdair Kergon
2864846d91
dmsetup mknodes
2003-11-13 13:14:28 +00:00
Alasdair Kergon
f7dd6d8446
The LVM2 part of vgmknodes [still to do the non-devfs device-mapper bit].
2003-11-12 19:16:48 +00:00
Alasdair Kergon
b8a20fc82a
Accept tables from stdin with dmsetup.
...
Update autoconf.
2003-11-12 17:30:32 +00:00
Alasdair Kergon
12bb377f9b
Default to unlimited number of LVs/PVs in lvm2 format.
2003-11-06 20:33:34 +00:00
Alasdair Kergon
6078f63801
Prevent PV allocation bit getting changed for format_text orphans.
2003-11-06 20:15:13 +00:00
Alasdair Kergon
02ceef1225
Fix vgremove 'all OK' check
2003-11-06 17:16:22 +00:00
Alasdair Kergon
2de96f501a
Ban vgcreate -s 0
2003-11-06 17:07:19 +00:00
Alasdair Kergon
8fd6f4b6fb
Fix pvchange segfault with orphans.
2003-11-06 17:06:06 +00:00
Alasdair Kergon
4af5827d07
Don't trigger error if changing PV allocation to the state it already is.
2003-11-06 17:04:35 +00:00
Alasdair Kergon
fee16e1049
Cope better with LVM1 minor numbers & LV numbers.
2003-11-06 16:58:38 +00:00
Alasdair Kergon
cfb7bfc7d9
More consistent error code usage.
2003-10-21 22:06:07 +00:00
Alasdair Kergon
81c15e1f11
Dump active configuration
2003-10-15 20:19:43 +00:00
Alasdair Kergon
dcc31da516
dumpconfig to dump active configuration
2003-10-15 20:17:19 +00:00
Alasdair Kergon
b53a9efda3
Fix >32bit lvcreate size calculation.
2003-10-15 20:07:55 +00:00
Alasdair Kergon
e807ead2f7
Don't forget to set 64-bit arg values too.
2003-10-15 20:05:30 +00:00
Alasdair Kergon
f2b7349e2f
macro changes
2003-10-15 20:02:46 +00:00
Alasdair Kergon
b2a849142b
Fix read-only snapshot creation.
2003-09-16 16:08:05 +00:00
Alasdair Kergon
5b6a23726a
Make dev_name optional to show details for all devices.
...
e.g. 'dmsetup info', 'dmsetup status -v', 'dmsetup table'
2003-09-16 14:13:51 +00:00
Alasdair Kergon
a7617ea224
Don't install the pvdata stub; update built-in mesg.
2003-09-15 15:05:23 +00:00
Alasdair Kergon
fdd4f3c005
Ensure more args aren't negative.
2003-09-15 15:04:39 +00:00
Alasdair Kergon
d0afc2c8b7
Missing vg_commit()
2003-09-15 15:03:54 +00:00
Alasdair Kergon
96bea84664
vgcfgrestore -l lists backup file too
2003-09-15 15:03:22 +00:00
Alasdair Kergon
fe22eb84e6
Prevent cmdline flags that take args getting repeated.
2003-09-15 15:02:24 +00:00
Alasdair Kergon
57c74fb5af
Missing ] in pvmove usage display
2003-09-15 15:01:36 +00:00
Alasdair Kergon
8387b47352
Generalise 'invalid chars' error mesg to just say 'invalid'
2003-09-15 15:01:00 +00:00
Alasdair Kergon
364a71ca82
Correct order of consistency/exists checks.
2003-09-15 15:00:01 +00:00
Alasdair Kergon
8b7a435dee
Log each command & args.
2003-08-26 21:00:05 +00:00
Alasdair Kergon
4c22730b53
Some tidyups and minor fixes.
2003-08-20 15:48:27 +00:00
Alasdair Kergon
36cf79384f
Also allow pvmove --abort when pvmove mirror not active (e.g. after a reboot).
2003-08-18 17:21:51 +00:00
Alasdair Kergon
28cb0299c1
Missing check for inconsistent VG in pvmove.
2003-08-18 13:52:43 +00:00
Alasdair Kergon
0b946db909
Restrict active lvchange -My with -f
2003-07-11 17:10:19 +00:00
Alasdair Kergon
914c97239f
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
8ac9712539
Synchronise repository / 2.4.21 support
2003-07-04 19:38:49 +00:00
Alasdair Kergon
d71bfabe39
Support for v4 interface
2003-07-01 21:20:58 +00:00
Alasdair Kergon
13601dbfe8
remove global pvmove lock & poll for completion
2003-05-06 12:20:11 +00:00
Alasdair Kergon
46a29c0212
Check for locked LVs/pvmoves.
2003-05-06 12:14:36 +00:00
Alasdair Kergon
361e5e3fac
unsigned
2003-05-06 12:13:19 +00:00
Alasdair Kergon
982cb02dfb
Prevent renaming active VGs for now.
2003-05-06 12:11:46 +00:00
Alasdair Kergon
6e03b44cc8
Don't process locked LVs
2003-05-06 12:10:18 +00:00
Alasdair Kergon
31abe57cd6
Store argv
2003-05-06 12:09:28 +00:00
Alasdair Kergon
3a61b05422
--abort --background
2003-05-06 12:08:58 +00:00
Alasdair Kergon
d7ef2ca7cd
Don't move snapshots
2003-04-30 15:58:09 +00:00
Alasdair Kergon
43ecb8ffe4
Add pvmove
2003-04-30 15:28:17 +00:00
Alasdair Kergon
7512e5a202
use pvmove flag
2003-04-30 15:25:34 +00:00
Alasdair Kergon
6910c129a9
Display event number.
2003-04-29 11:34:40 +00:00
Alasdair Kergon
b8c919b402
o Metadata area struct change.
...
o Support physical extent restrictions on PV lists for allocations
e.g. lvcreate -l 200 vg1 /dev/sda1:100-199:300-399
2003-04-24 22:23:24 +00:00
Alasdair Kergon
098102afc0
Stop more gracefully when in test mode.
2003-04-24 22:13:48 +00:00
Alasdair Kergon
75833edb80
indent
2003-04-24 22:00:29 +00:00
Alasdair Kergon
d9e14671aa
fix optind after last change to it
2003-04-24 21:59:42 +00:00
Alasdair Kergon
b896caa19b
Improve build robustness.
2003-04-15 13:24:42 +00:00
Alasdair Kergon
0e69d32bed
Display read-only state.
2003-04-15 12:30:44 +00:00
Alasdair Kergon
abc6d41532
Add major arg
2003-04-04 13:22:58 +00:00
Alasdair Kergon
27f364af95
Allow for specification of major number as well as minor.
2003-04-02 19:14:43 +00:00
Alasdair Kergon
6a149cba6b
Reinstate lost vg_write() in lvchange --permission.
2003-04-02 13:01:04 +00:00
Alasdair Kergon
8aa577ad34
Proposed changes to the ioctl interface to fix alignment issues on some
...
architectures and specify an explicit width for every numeric field.
2003-03-28 18:58:59 +00:00
Alasdair Kergon
1fa74f62e8
Avoid report segfault with non-partial inconsistent VG.
2003-03-24 18:22:48 +00:00
Alasdair Kergon
26e7f2e0c4
Tidy various pre-processing incl. making libdl optional.
2003-03-24 18:08:53 +00:00
Alasdair Kergon
7e4867f743
LV name validation
2003-02-03 20:09:58 +00:00
Alasdair Kergon
a0568eca2b
Allow optional verbose logging.
2003-01-21 21:25:51 +00:00
Alasdair Kergon
a421f74371
vgreduce --removemissing to remove missing PVs & deps & make VG consistent
2003-01-17 21:04:26 +00:00
Alasdair Kergon
8ae908a085
Add success message; validate given VG name.
2003-01-17 21:02:04 +00:00
Alasdair Kergon
199e490e7d
configure --disable-devmapper if you don't have libdevmapper
2003-01-08 22:44:07 +00:00
Alasdair Kergon
4970ebfb92
o Additional device/filter-level debugging messages + duplicate alias fix
...
o 32/64-bit size_t fix (pjc)
2003-01-08 16:41:22 +00:00
Alasdair Kergon
f3993cac4a
Correct error message for non-snapshot activation failure.
2003-01-06 21:06:43 +00:00
Alasdair Kergon
8ef2b021ed
Default stripesize 64k & config file setting for it;
...
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
2002-12-19 23:25:55 +00:00
Alasdair Kergon
4c64ed4ced
New column-based reporting tools: lvs, pvs & vgs.
2002-12-12 20:55:49 +00:00
Alasdair Kergon
987c4c1519
Fix long arg processing.
2002-12-05 22:35:15 +00:00
Alasdair Kergon
15b38fa8dd
tidy
2002-12-03 13:27:23 +00:00
Alasdair Kergon
aa83fd4ebb
Default size unit normally MB not KB.
2002-12-03 13:24:38 +00:00
Alasdair Kergon
00958b5818
Suppress a (normally) unnecessary warning.
2002-12-03 13:23:50 +00:00
Alasdair Kergon
c80325cae4
Further help text tidying & support for -?.
2002-11-29 15:02:57 +00:00
Heinz Mauelshagen
62ef058497
tiny tidying
2002-11-28 15:27:59 +00:00
Heinz Mauelshagen
8b46b545c6
Corrected lvcreate synopsis.
...
Added --ignorelockingflag to synopsis where missing.
2002-11-28 15:27:29 +00:00
Alasdair Kergon
8c54f03db8
Fix snapshot lvcreate activation check.
2002-11-22 14:19:56 +00:00
Alasdair Kergon
5a52dca9c2
Some new features.
2002-11-18 14:04:08 +00:00
Andres Salomon
50762c2186
agk, I recall you saying you had a massive commit pending; if you need me
...
to back this out so you can do that commit, let me know. Also, if there's
an issue with the error message that's displayed, just change it in tools.h.
This causes a "device-mapper driver/module not loaded?" error message to
be displayed for the commands that require dm-mod, if the tools can't get
the driver version. It's not done for commands that don't require dm-mod.
This should clear up some problems people have had attempting to use lvm2
without rtfm'ing.
2002-10-27 21:04:03 +00:00
Andres Salomon
d43773d634
Wow, learn something new every day. Apparently, the signed-ness of char is
...
implementation-dependent; some archs (s390, arm, and ppc) default to
an unsigned char.
2002-10-08 20:16:44 +00:00
Alasdair Kergon
faaedea286
Support alternative lvrename syntax.
2002-09-05 12:49:23 +00:00
Joe Thornber
f55f988643
o Remove e2fsadm to stop people waiting expectantly for something that isn't going
...
to arrive.
2002-08-08 07:54:57 +00:00
Alasdair Kergon
fdf8038fe5
Improved snapshot-related arg validation
2002-07-17 16:04:05 +00:00
Joe Thornber
7cc602c800
i) Add the VISIBLE flag to the text format. (Other changes are pending
...
for lib/activate.)
2002-07-11 15:28:49 +00:00