vBulletin Search Engine Optimization
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I would like to increase the filesystem /var (on rootvg). When I execute this command : #extendlv hd9var 128M I got this error : 0516-404 allocp: This system cannot fulfill the allocation request. There are not enough free partitions or not enough physical volumes to keep strictness and satisfy allocation requests. The command should be retried with different allocation characteristics. # lsvg -p rootvg rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 active 542 0 00..00..00..00..00 hdisk2 active 542 134 00..00..00..25..109 How can I move PPs from hdisk2 to hdisk0 ? I would like to do this in order to make free space on hdisk0. Or have you an other alternative ? # lspv -l hdisk2 hdisk2: LV NAME LPs PPs DISTRIBUTION MOUNT POINT hd5 1 1 01..00..00..00..00 N/A fslv06 195 195 108..04..00..83..00 /travail hd6 98 98 00..98..00..00..00 N/A hd10opt 4 4 00..02..02..00..00 /opt hd4 4 4 00..03..01..00..00 / hd9var 8 8 00..01..07..00..00 /var hd1 1 1 00..00..01..00..00 /home hd2 64 64 00..00..64..00..00 /usr hd3 32 32 00..00..32..00..00 /tmp hd8 1 1 00..00..01..00..00 N/A # lspv -l hdisk0 hdisk0: LV NAME LPs PPs DISTRIBUTION MOUNT POINT fslv06 487 487 109..58..105..108..107 /travail hd6 50 50 00..50..00..00..00 N/A hd4 3 3 00..00..03..00..00 / hd10opt 2 2 00..00..00..00..02 /opt |
|
|||
|
On Jan 16, 3:31 am, Jarod99 <[email protected]> wrote:
> Hello, > I would like to increase the filesystem /var (on rootvg). > When I execute this command : > #extendlv hd9var 128M > > I got this error : > 0516-404 allocp: This system cannot fulfill the allocation request. > There are not enough free partitions or not enough physical volumes > to keep strictness and satisfy allocation requests. The command > should be retried with different allocation characteristics. > > # lsvg -p rootvg > rootvg: > PV_NAME PV STATE TOTAL PPs FREE PPs FREE > DISTRIBUTION > hdisk0 active 542 0 > 00..00..00..00..00 > hdisk2 active 542 134 > 00..00..00..25..109 > > How can I move PPs from hdisk2 to hdisk0 ? I would like to do this in > order to make free space on hdisk0. > > Or have you an other alternative ? > > # lspv -l hdisk2 > hdisk2: > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > hd5 1 1 01..00..00..00..00 N/A > fslv06 195 195 108..04..00..83..00 /travail > hd6 98 98 00..98..00..00..00 N/A > hd10opt 4 4 00..02..02..00..00 /opt > hd4 4 4 00..03..01..00..00 / > hd9var 8 8 00..01..07..00..00 /var > hd1 1 1 00..00..01..00..00 /home > hd2 64 64 00..00..64..00..00 /usr > hd3 32 32 00..00..32..00..00 /tmp > hd8 1 1 00..00..01..00..00 N/A > > # lspv -l hdisk0 > hdisk0: > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > fslv06 487 487 109..58..105..108..107 /travail > hd6 50 50 00..50..00..00..00 N/A > hd4 3 3 00..00..03..00..00 / > hd10opt 2 2 00..00..00..00..02 /opt man migratepv. This will allow you to the data around. |
|
|||
|
On 16 jan, 16:24, Karma <[email protected]> wrote:
> On Jan 16, 3:31 am, Jarod99 <[email protected]> wrote: > > > > > Hello, > > I would like to increase the filesystem /var (on rootvg). > > When I execute this command : > > #extendlv hd9var 128M > > > I got this error : > > 0516-404 allocp: This system cannot fulfill the allocation request. > > There are not enough free partitions or not enough physical volumes > > to keep strictness and satisfy allocation requests. The command > > should be retried with different allocation characteristics. > > > # lsvg -p rootvg > > rootvg: > > PV_NAME PV STATE TOTAL PPs FREE PPs FREE > > DISTRIBUTION > > hdisk0 active 542 0 > > 00..00..00..00..00 > > hdisk2 active 542 134 > > 00..00..00..25..109 > > > How can I move PPs from hdisk2 to hdisk0 ? I would like to do this in > > order to make free space on hdisk0. > > > Or have you an other alternative ? > > > # lspv -l hdisk2 > > hdisk2: > > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > > hd5 1 1 01..00..00..00..00 N/A > > fslv06 195 195 108..04..00..83..00 /travail > > hd6 98 98 00..98..00..00..00 N/A > > hd10opt 4 4 00..02..02..00..00 /opt > > hd4 4 4 00..03..01..00..00 / > > hd9var 8 8 00..01..07..00..00 /var > > hd1 1 1 00..00..01..00..00 /home > > hd2 64 64 00..00..64..00..00 /usr > > hd3 32 32 00..00..32..00..00 /tmp > > hd8 1 1 00..00..01..00..00 N/A > > > # lspv -l hdisk0 > > hdisk0: > > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > > fslv06 487 487 109..58..105..108..107 /travail > > hd6 50 50 00..50..00..00..00 N/A > > hd4 3 3 00..00..03..00..00 / > > hd10opt 2 2 00..00..00..00..02 /opt > > man migratepv. This will allow you to the data around. But if I migrate rootvg partition (hd9var), I will not have problems ??? I read that this operation is dangerous... |
|
|||
|
On Jan 16, 5:03 pm, Jarod99 <[email protected]> wrote:
> On 16 jan, 16:24, Karma <[email protected]> wrote: > > > > > On Jan 16, 3:31 am, Jarod99 <[email protected]> wrote: > > > > Hello, > > > I would like to increase the filesystem /var (on rootvg). > > > When I execute this command : > > > #extendlv hd9var 128M > > > > I got this error : > > > 0516-404 allocp: This system cannot fulfill the allocation request. > > > There are not enough free partitions or not enough physical volumes > > > to keep strictness and satisfy allocation requests. The command > > > should be retried with different allocation characteristics. > > > > # lsvg -p rootvg > > > rootvg: > > > PV_NAME PV STATE TOTAL PPs FREE PPs FREE > > > DISTRIBUTION > > > hdisk0 active 542 0 > > > 00..00..00..00..00 > > > hdisk2 active 542 134 > > > 00..00..00..25..109 > > > > How can I move PPs from hdisk2 to hdisk0 ? I would like to do this in > > > order to make free space on hdisk0. > > > > Or have you an other alternative ? > > > > # lspv -l hdisk2 > > > hdisk2: > > > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > > > hd5 1 1 01..00..00..00..00 N/A > > > fslv06 195 195 108..04..00..83..00 /travail > > > hd6 98 98 00..98..00..00..00 N/A > > > hd10opt 4 4 00..02..02..00..00 /opt > > > hd4 4 4 00..03..01..00..00 / > > > hd9var 8 8 00..01..07..00..00 /var > > > hd1 1 1 00..00..01..00..00 /home > > > hd2 64 64 00..00..64..00..00 /usr > > > hd3 32 32 00..00..32..00..00 /tmp > > > hd8 1 1 00..00..01..00..00 N/A > > > > # lspv -l hdisk0 > > > hdisk0: > > > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > > > fslv06 487 487 109..58..105..108..107 /travail > > > hd6 50 50 00..50..00..00..00 N/A > > > hd4 3 3 00..00..03..00..00 / > > > hd10opt 2 2 00..00..00..00..02 /opt > > > man migratepv. This will allow you to the data around. > > But if I migrate rootvg partition (hd9var), I will not have > problems ??? I read that this operation is dangerous... Your disk layout is already a mess. So it should not really matter where you put which lv Hajo |
|
|||
|
On 16 jan, 17:23, Hajo Ehlers <[email protected]> wrote:
> On Jan 16, 5:03 pm, Jarod99 <[email protected]> wrote: > > > > > On 16 jan, 16:24, Karma <[email protected]> wrote: > > > > On Jan 16, 3:31 am, Jarod99 <[email protected]> wrote: > > > > > Hello, > > > > I would like to increase the filesystem /var (on rootvg). > > > > When I execute this command : > > > > #extendlv hd9var 128M > > > > > I got this error : > > > > 0516-404 allocp: This system cannot fulfill the allocation request. > > > > There are not enough free partitions or not enough physical volumes > > > > to keep strictness and satisfy allocation requests. The command > > > > should be retried with different allocation characteristics. > > > > > # lsvg -p rootvg > > > > rootvg: > > > > PV_NAME PV STATE TOTAL PPs FREE PPs FREE > > > > DISTRIBUTION > > > > hdisk0 active 542 0 > > > > 00..00..00..00..00 > > > > hdisk2 active 542 134 > > > > 00..00..00..25..109 > > > > > How can I move PPs from hdisk2 to hdisk0 ? I would like to do this in > > > > order to make free space on hdisk0. > > > > > Or have you an other alternative ? > > > > > # lspv -l hdisk2 > > > > hdisk2: > > > > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > > > > hd5 1 1 01..00..00..00..00 N/A > > > > fslv06 195 195 108..04..00..83..00 /travail > > > > hd6 98 98 00..98..00..00..00 N/A > > > > hd10opt 4 4 00..02..02..00..00 /opt > > > > hd4 4 4 00..03..01..00..00 / > > > > hd9var 8 8 00..01..07..00..00 /var > > > > hd1 1 1 00..00..01..00..00 /home > > > > hd2 64 64 00..00..64..00..00 /usr > > > > hd3 32 32 00..00..32..00..00 /tmp > > > > hd8 1 1 00..00..01..00..00 N/A > > > > > # lspv -l hdisk0 > > > > hdisk0: > > > > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > > > > fslv06 487 487 109..58..105..108..107 /travail > > > > hd6 50 50 00..50..00..00..00 N/A > > > > hd4 3 3 00..00..03..00..00 / > > > > hd10opt 2 2 00..00..00..00..02 /opt > > > > man migratepv. This will allow you to the data around. > > > But if I migrate rootvg partition (hd9var), I will not have > > problems ??? I read that this operation is dangerous... > > Your disk layout is already a mess. So it should not really matter > where you put which lv > > Hajo OK, I think I forget an information : hdisk0=0PPs free, hdisk2=134PPs free. In order to make free space on hdisk0, I have to move a partition which is on hdisk0, right ? But the hdisk0 have only this partition fslv06 (travail) which use 487PPs, this partition is too large for hdisk2. How can I make free space on hdisk0 ? |
|
|||
|
On Jan 16, 5:40 pm, Jarod99 <[email protected]> wrote:
> On 16 jan, 17:23, Hajo Ehlers <[email protected]> wrote: > > > > > On Jan 16, 5:03 pm, Jarod99 <[email protected]> wrote: > > > > On 16 jan, 16:24, Karma <[email protected]> wrote: > > > > > On Jan 16, 3:31 am, Jarod99 <[email protected]> wrote: > > > > > > Hello, > > > > > I would like to increase the filesystem /var (on rootvg). > > > > > When I execute this command : > > > > > #extendlv hd9var 128M > > > > > > I got this error : > > > > > 0516-404 allocp: This system cannot fulfill the allocation request. > > > > > There are not enough free partitions or not enough physical volumes > > > > > to keep strictness and satisfy allocation requests. The command > > > > > should be retried with different allocation characteristics. > > > > > > # lsvg -p rootvg > > > > > rootvg: > > > > > PV_NAME PV STATE TOTAL PPs FREE PPs FREE > > > > > DISTRIBUTION > > > > > hdisk0 active 542 0 > > > > > 00..00..00..00..00 > > > > > hdisk2 active 542 134 > > > > > 00..00..00..25..109 > > > > > > How can I move PPs from hdisk2 to hdisk0 ? I would like to do this in > > > > > order to make free space on hdisk0. > > > > > > Or have you an other alternative ? > > > > > > # lspv -l hdisk2 > > > > > hdisk2: > > > > > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > > > > > hd5 1 1 01..00..00..00..00 N/A > > > > > fslv06 195 195 108..04..00..83..00 /travail > > > > > hd6 98 98 00..98..00..00..00 N/A > > > > > hd10opt 4 4 00..02..02..00..00 /opt > > > > > hd4 4 4 00..03..01..00..00 / > > > > > hd9var 8 8 00..01..07..00..00 /var > > > > > hd1 1 1 00..00..01..00..00 /home > > > > > hd2 64 64 00..00..64..00..00 /usr > > > > > hd3 32 32 00..00..32..00..00 /tmp > > > > > hd8 1 1 00..00..01..00..00 N/A > > > > > > # lspv -l hdisk0 > > > > > hdisk0: > > > > > LV NAME LPs PPs DISTRIBUTION MOUNT POINT > > > > > fslv06 487 487 109..58..105..108..107 /travail > > > > > hd6 50 50 00..50..00..00..00 N/A > > > > > hd4 3 3 00..00..03..00..00 / > > > > > hd10opt 2 2 00..00..00..00..02 /opt > > > > > man migratepv. This will allow you to the data around. > > > > But if I migrate rootvg partition (hd9var), I will not have > > > problems ??? I read that this operation is dangerous... > > > Your disk layout is already a mess. So it should not really matter > > where you put which lv > > > Hajo > > OK, > I think I forget an information : hdisk0=0PPs free, hdisk2=134PPs > free. > In order to make free space on hdisk0, I have to move a partition > which is on hdisk0, right ? > But the hdisk0 have only this partition fslv06 (travail) which use > 487PPs, this partition is too large for hdisk2. > > How can I make free space on hdisk0 ? Looking closer i see that hd9var is already on hdisk2. Thus you should have no problem to extend the filesystem /var with chfs -a size=+128M /var or try chfs -a size=+1 /var # which will increase the fs size with at least one pp Also the output from a $ lslv hd9var $ lslv -l hd9var might be helpfull BTW: Was the original rootvg mirrored ? If yes has been a reboot issued after breaking the mirror ? hth Hajo |
|
|||
|
Jarod99 wrote:
> Hello, > I would like to increase the filesystem /var (on rootvg). > When I execute this command : > #extendlv hd9var 128M > > I got this error : > 0516-404 allocp: This system cannot fulfill the allocation request. > There are not enough free partitions or not enough physical volumes > to keep strictness and satisfy allocation requests. The command > should be retried with different allocation characteristics. Your usage of extendlv is incorrect, since you are providing a SIZE instead of the number of PPs to extend by. root:/# extendlv LVNAME NROFPPS Using this method is tedious since you not only have to extend the logical volume like you are doing - but you also have to seperately increase the file-system size to make use of extra space in the LV. It is only commonly used to extend raw LVs. You should rather be doing: chfs -a size=+128M /var which will extend both the LV and FS in the same command. You did not post "lsvg -l rootvg" and "lsvg rootvg", which is rather important. By the way, your setup is less than ideal and not suited for a production system. I'm not sure if you are just testing here, but if you are interested: You are not protecting your data with a fully mirrored setup. You will definitely have application data loss if a disk failed. Your application data is also sharing the internal disk with the O/S, which could have an impact on I/O response should the paging space ever get busy. Ideally, you need to migrate "/travail" to a separate set of mirrored disks, and dedicate hdisk2 and hdisk0 to mirror the O/S, including the paging space. > How can I move PPs from hdisk2 to hdisk0 ? I would like to do this in > order to make free space on hdisk0. man migratepv e.g. migratepv -l LVNAME SOURCEPV TARGETPV Niel |