1 |
On Tue, Jan 13, 2009 at 08:44:38PM +0200, Alan McKinnon wrote: |
2 |
> On Tuesday 13 January 2009 20:31:33 John J. Foster wrote: |
3 |
> > In trying to extend a volume I get the following error: |
4 |
> > |
5 |
> > mockingbird ~ # lvextend -v -L400G /dev/vg00/data |
6 |
> > Finding volume group vg00 |
7 |
> > Archiving volume group "vg00" metadata (seqno 22). |
8 |
> > Extending logical volume data to 400.00 GB |
9 |
> > Creating volume group backup "/etc/lvm/backup/vg00" (seqno 23). |
10 |
> > Found volume group "vg00" |
11 |
> > Found volume group "vg00" |
12 |
> > Loading vg00-data table |
13 |
> > device-mapper: reload ioctl failed: Invalid argument |
14 |
> > Failed to suspend data |
15 |
> > |
16 |
> > The following show in /var/log/messages: |
17 |
> > |
18 |
> > Jan 13 11:23:30 mockingbird device-mapper: table: device 8:5 too small |
19 |
> > for target |
20 |
> |
21 |
> You are trying to create an lv that is bigger than the maximum |
22 |
> |
23 |
> Despite the fact that pvdisplay says you have 415GB unallocated space, you |
24 |
> cannot make a 400G volume as lvm wants more than 15G for metadata. Looking at |
25 |
> the existing usage, it is using around 5% for this. |
26 |
> |
27 |
> Try using the -l option to lvextend and specifying a number of extents instead |
28 |
> of space usage. |
29 |
> |
30 |
Thanks Alan, but that didn't do the trick. Even if I try to only make it |
31 |
200GB, same problem. |
32 |
|
33 |
mockingbird ~ # lvextend -v -l100000 /dev/vg00/data |
34 |
Finding volume group vg00 |
35 |
Archiving volume group "vg00" metadata (seqno 22). |
36 |
Extending logical volume data to 390.62 GB |
37 |
Creating volume group backup "/etc/lvm/backup/vg00" (seqno 23). |
38 |
Found volume group "vg00" |
39 |
Found volume group "vg00" |
40 |
Loading vg00-data table |
41 |
device-mapper: reload ioctl failed: Invalid argument |
42 |
Failed to suspend data |
43 |
mockingbird ~ # lvextend -v -L200G /dev/vg00/data |
44 |
Finding volume group vg00 |
45 |
Archiving volume group "vg00" metadata (seqno 22). |
46 |
Extending logical volume data to 200.00 GB |
47 |
Creating volume group backup "/etc/lvm/backup/vg00" (seqno 23). |
48 |
Found volume group "vg00" |
49 |
Found volume group "vg00" |
50 |
Loading vg00-data table |
51 |
device-mapper: reload ioctl failed: Invalid argument |
52 |
Failed to suspend data |