Re: Problem to increase partition size...



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
.



Relevant Pages

  • RE: Extending a volume
    ... capability of adding space to the container, you can extend the NTFS Volume ... with Diskpart.exe while the disk remains a Basic disk. ... How to Use Diskpart.exe to Extend a Data Volume ... Use the extend command to incorporate unallocated space into an existing ...
    (microsoft.public.win2000.file_system)
  • Re: Windows 2003 Standard Diskpart Extend
    ... If this command should fail, am I going to be down until I can restore my ... but if there is potential for needing to rebuild the server ... > when trying to extend a partition in Normal Mode. ... GB of unallocated disk space. ...
    (microsoft.public.windows.server.general)
  • Re: Disk management console view is not up-to-date
    ... 'How to Extend a Disk Partition in Windows ... Start command line interface ...
    (microsoft.public.windows.vista.file_management)
  • Re: extending data partitions & my documents redirection
    ... I understand that you have a hardware RAID 5 disk and you ... want to extend E drive from those unallocated space. ... Microsoft CSS Online Newsgroup Support ... >> Document Redirection on your SBS 2K3 server. ...
    (microsoft.public.windows.server.sbs)
  • Re: increasing disk space
    ... "Mathieu CHATEAU" wrote: ... Do you have unallocated space next to the partition you want to extend? ... (we have 2 x 73GB drives, ... select disk X ...
    (microsoft.public.windows.server.general)