Alasdair Kergon
421c2a6aed
Remove unused -f from pvmove
2005-02-02 14:31:48 +00:00
Alasdair Kergon
2245e1c41f
pvcreate wipes first 4 sectors unless given --zero n.
2005-01-05 17:25:25 +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
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
156dd4f1ec
New commands 'segtypes' and 'formats'.
2004-09-14 16:42:46 +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
bcd4e5d50d
Remove duplicate line in pvremove help text.
2004-08-17 22:06:06 +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
1a9ea74d2d
lvresize + fsadm support - needs testing
2004-06-15 17:23:49 +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
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
6606c3ae81
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
71b9fadf65
lvchange --refresh
2004-03-26 21:24:03 +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
cf6dd25126
tagging
2004-03-08 17:19:15 +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
5a8fa8c91f
vgscan --mknodes
2003-11-14 14:03:48 +00:00
Alasdair Kergon
dcc31da516
dumpconfig to dump active configuration
2003-10-15 20:17:19 +00:00
Alasdair Kergon
57c74fb5af
Missing ] in pvmove usage display
2003-09-15 15:01:36 +00:00
Alasdair Kergon
0b946db909
Restrict active lvchange -My with -f
2003-07-11 17:10:19 +00:00
Alasdair Kergon
3a61b05422
--abort --background
2003-05-06 12:08:58 +00:00
Alasdair Kergon
43ecb8ffe4
Add pvmove
2003-04-30 15:28:17 +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
a421f74371
vgreduce --removemissing to remove missing PVs & deps & make VG consistent
2003-01-17 21:04:26 +00:00
Alasdair Kergon
4c64ed4ced
New column-based reporting tools: lvs, pvs & vgs.
2002-12-12 20:55:49 +00:00
Alasdair Kergon
c80325cae4
Further help text tidying & support for -?.
2002-11-29 15:02:57 +00:00
Heinz Mauelshagen
8b46b545c6
Corrected lvcreate synopsis.
...
Added --ignorelockingflag to synopsis where missing.
2002-11-28 15:27:29 +00:00
Alasdair Kergon
5a52dca9c2
Some new features.
2002-11-18 14:04:08 +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
407332cb9a
tidy
2002-07-11 14:09:26 +00:00
Alasdair Kergon
48ad31920d
Add --ignorelockingfailure
2002-07-10 20:43:32 +00:00
Alasdair Kergon
fbbe942c45
Add vgsplit.
2002-05-31 19:30:51 +00:00
Joe Thornber
0474ad51c2
i) Put back chunksize_ARG for lvcreate.
2002-05-08 14:36:10 +00:00
Alasdair Kergon
6b4c9ff740
Some partial VG support with format_text.
2002-04-30 17:12:37 +00:00
Alasdair Kergon
25b733809a
Merge with text format branch.
...
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.
2002-04-24 18:20:51 +00:00
Joe Thornber
0e06dd31fd
o Added support for chunk_size to lvcreate.
2002-04-15 18:49:20 +00:00
Heinz Mauelshagen
9c42e035a0
pvresize command
2002-02-25 15:32:58 +00:00
Joe Thornber
0eb83127ef
o Add support for the -s and -c flags to lvcreate.
2002-02-18 10:59:51 +00:00
Heinz Mauelshagen
f48d3bcbd0
First cut on "pvcreate -s"
2002-02-15 01:26:16 +00:00
Joe Thornber
03888774a5
o Added functions to display what's in the archive.
...
o For now vgcfgrestore -l <vg> displays this list.
A bit hacky, but it'll get better.
2002-02-11 11:43:17 +00:00
Heinz Mauelshagen
af7bbe5a6c
Poor mans lvmdiskscan
2002-02-05 14:31:57 +00:00
Alasdair Kergon
812c699c8d
Basic support for persistent minor numbers;
...
slightly different from the current LVM1 method.
lvcreate --persistent y --minor 10 (to specify when created)
lvchange --persistent n (to turn off)
lvchange --persistent y --minor 11 (to change)
--persistent uses a new LV status flag stored on disk
minor number is stored on disk the same way as LVM1 does
(but major number stored is 0; any LVM1 major/minor setting gets lost)
lvchange -ay --minor 12 (to activate using minor 12, regardless of the
on-disk setting, which doesn't get changed)
--minor == -m
--persistent == -M
2002-02-01 17:54:39 +00:00
Alasdair Kergon
7ae5a778d5
Basic support for (read-only) partial activation if any PVs are
...
missing from a VG. (Linear targets use the device-mapper 'error' target
which returns ioerror; striped targets use '/dev/ioerror' for now - which must
already exist e.g. as a sufficiently large block device version of /dev/zero).
2002-01-30 15:33:12 +00:00
Alasdair Kergon
df91af9141
o A vgimport implementation
...
o Require -a or <list of vgs> parameters with vgexport/vgimport
o Allow pvcreate -ff to destroy exported/partial VGs
2002-01-29 19:19:37 +00:00
Alasdair Kergon
f53c6aa66e
o Basic support for exporting (but importing not completed yet).
...
o When volume group does not have write flag set, prevent changes to it.
o Preparation for partial activation (not completed yet).
2002-01-29 17:23:33 +00:00
Alasdair Kergon
fae0c5764f
Support --version argument and 'version' shell command.
2002-01-17 16:39:24 +00:00
Alasdair Kergon
add7dc2d5a
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
4103182568
o Add pvmove to the stub file.
2002-01-16 11:27:19 +00:00
Alasdair Kergon
288adea256
o missing labeller free
...
o updated vgcfgrestore args
o change _check_for_open_devices only to check devices present in the hash
table instead of using dev_iter which triggers a full scan even when only
displaying command line help
2002-01-15 21:28:04 +00:00
Alasdair Kergon
b80f32dd0a
Clarify terminology:
...
VG is resizeable - PVs can be added or removed
PV is allocatable - free extents on it may be allocated to LVs
2002-01-10 15:09:51 +00:00
Alasdair Kergon
952d12a5f5
o Rename many occurrences of 'backup' to 'archive' to reduce confusion.
...
o Extract file creation/renaming code into a library and change backup code
to use it too.
o Support umask.
o Bring lvm.conf man page up-to-date.
2002-01-09 19:16:48 +00:00
Joe Thornber
e59204fc22
o sync laptop to test machine.
2002-01-07 09:05:31 +00:00
Joe Thornber
2041d905a9
o Added a quick vgcfgbackup, needs parameters as yet.
2001-12-20 16:05:14 +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
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
52dc213926
Tool support for multiple (striped) segments (incomplete).
2001-11-27 13:42:37 +00:00
Alasdair Kergon
03a8a07d67
Merge lvreduce & lvextend into lvresize.
2001-11-13 14:17:50 +00:00
Alasdair Kergon
a381c45a6e
vgchange
2001-10-16 16:25:28 +00:00
Alasdair Kergon
677a06d5fd
vgrename & vgck
2001-10-08 18:44:22 +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
269930c0da
lvactivate checkpoint commit
2001-09-25 12:49:28 +00:00