Re: Problem to increase partition size...
- From: Niel Lambrechts <niel@xxxxxxxxxxx>
- Date: Wed, 16 Jan 2008 22:07:54 +0200
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
.
- References:
- Problem to increase partition size...
- From: Jarod99
- Problem to increase partition size...
- Prev by Date: Re: wait running on TOP
- Next by Date: Re: VIO and etherchannel setup!
- Previous by thread: Re: Problem to increase partition size...
- Index(es):
Relevant Pages
|