Adding space to a filesystem


 
Thread Tools Search this Thread
Operating Systems AIX Adding space to a filesystem
# 1  
Old 02-17-2009
Adding space to a filesystem

Hello I have a flesystem that has run out of space. I have tried using the following command to add space:


# chfs -a size=+100 /lsrc

I get the following 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.


Is there a way to add more space to this filesystem?

Thank you

David
# 2  
Old 02-17-2009
Hi,

you first have to verify if there is some free space in the volumegroup, use:
lsvg <volumegroup name>

check Free PP's as this is the maximum size the filesystem can be increased to.
# 3  
Old 02-17-2009
It does not look like there is much space. How do I see what disks are available to add to this vg?

HTML Code:
# lsvg vg01
VOLUME GROUP:       vg01                     VG IDENTIFIER:  000a8dac00004c00000000fc5ae7fa77
VG STATE:           active                   PP SIZE:        128 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1092 (139776 megabytes)
MAX LVs:            256                      FREE PPs:       7 (896 megabytes)
LVs:                26                       USED PPs:       1085 (138880 megabytes)
OPEN LVs:           18                       QUORUM:         2
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        yes
MAX PPs per VG:     32512
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size:           128 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable
# 4  
Old 02-17-2009
lspv show assigned and unassigned disks, but you're output shows that there is 896MB available so the command chfs -a size=+100M /lsrc should increase the filesystem with 128MB (if it's located in vg01)
# 5  
Old 02-17-2009
dkranes - pls post the output of 'lsvg -l vg01' and 'lsvg -p vg01'. My guess is the logical volume is setup as RAID 1 (mirroring).
# 6  
Old 02-17-2009
If I do a lsvg -l vg01 it shows


HTML Code:
 lsvg -l vg01
vg01:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
loglv00             jfslog     1     2     2    open/syncd    N/A
lv00                jfs        32    32    1    open/syncd    /gerfs
fslv08              jfs2       4     8     2    open/syncd    /sybdumps
syb_master          sybasedb   1     1     1    closed/syncd  N/A
syb_stscomdata1     sybasedb   1     1     1    closed/syncd  N/A
syb_procs           sybasedb   1     1     1    closed/syncd  N/A
syb_tempdb          sybasedb   1     1     1    closed/syncd  N/A
syb_evdata1         sybasedb   2     2     1    closed/syncd  N/A
syb_systemdb        sybasedb   1     1     1    closed/syncd  N/A
fslv03              jfs2       39    78    2    open/syncd    /oracle01
fslv04              jfs2       40    80    2    open/syncd    /oracle02
syb_evlog1          sybasedb   1     1     1    closed/syncd  N/A
fslv09              jfs2       24    48    2    open/syncd    /sybwork
loglv01             jfs2log    1     2     2    open/syncd    N/A
fslv07              jfs        12    12    1    closed/syncd  N/A
fslv05              jfs2       53    106   2    open/syncd    /oracle03
fslv00              jfs2       107   107   2    open/syncd    /oracle11g
fslv01              jfs2       68    136   2    open/syncd    /work
fslv02              jfs2       5     10    2    open/syncd    /lsrc

I tried the following:

# chfs -a size=+100M /lsrc

and received 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.


-- David
# 7  
Old 02-17-2009
Just as I thought, /lsrc is mirrored (as is all of the other normal filesystems except oracle11g). You can tell this by looking at the number of LPs (logical partitions) and the number of PPs (physical partitions). When a filesystem is mirrored the PPs will be twice what the LPs are. The mirrored physical partitions must be on separate physical drives. If you don't have any more disks to add to vg01 then you either have to shrink a filesystem or move it to a different volume group.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Filesystem not using all available space in Logical Volume

I am running HP-UX 11.31 ia64. The /usr filesystem shows 7 GB as the size, but the logical volume that is mounted there shows 13 GB. Is there a way to get the entire 13 GB to show up and why did this happen in the first place? (11 Replies)
Discussion started by: trojan28
11 Replies

2. Solaris

Adding a filesystem to a running local zone

Is there a way to mount a filesystem from the global zone to the local zone without rebooting the local zone? I'm using a lofs filesystem.. any help is appreciated! thanks.. (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

3. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

Good afternoon! Im new at scripting and Im trying to write a script to calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies

4. HP-UX

Adding space to a filesystem

Hello, I am trying to add space to my existing system and I need a little assistance determining if I have any disk space available to allocate. Here is what I have: DISKS: Class I H/W Path Driver S/W State H/W Type Description... (1 Reply)
Discussion started by: dkranes
1 Replies

5. UNIX for Advanced & Expert Users

Adding a filesystem.

Hi All! I need to create a new filesystem /u01 , using the existing space and giving 100GB space to /u01. I can allocate 100Gb from / which is currently 145GB. Following is the screen shot of my df command. # df Filesystem 1K-blocks Used Available Use% Mounted on... (4 Replies)
Discussion started by: nua7
4 Replies

6. Filesystems, Disks and Memory

calculating the filesystem space

Hi, Just wanted to confirm that what Im doing is correct to calculate the space allocated to filesystem: >df -k . Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /test 48720000 9337904 81% 14846 1% /home The space allocated = 48720000/1024 =... (1 Reply)
Discussion started by: deepakgang
1 Replies

7. Solaris

free space, associated by filesystem name...

is there a command that will display amount of free space...associated by filesystem name? # df /home /home (/dev/dsk/c1t0d0s3 ): 8069326 blocks 487280 files HP has bdf: bdf /home Filesystem kbytes used ... (2 Replies)
Discussion started by: mr_manny
2 Replies

8. UNIX for Advanced & Expert Users

Increasing filesystem space

Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day. what is the exact command to do this and does the system need to be... (1 Reply)
Discussion started by: TRUEST
1 Replies

9. UNIX for Dummies Questions & Answers

add space to filesystem in solaris

I need step-by-step on how to add more space to /apps in solaris. Currently df -hk: /dev/md/dsk/d40 15G 13G 1.6G 90% /app How much can I expand and how? Thanks in advance. (2 Replies)
Discussion started by: simt
2 Replies
Login or Register to Ask a Question