choosing correct VG for Filesystem extend

Thread Tools Search this Thread
Operating Systems AIX choosing correct VG for Filesystem extend
# 1  
Old 08-23-2011
choosing correct VG for Filesystem extend

Hi Gurus,

I have Aix 5.3 server and would like to extend the following filesystem.

PHP Code:
Filesystem        GB blocks    Free     %Used  Iused    %Iused   Mounted on
/dev/lv_mecdr    120.00       12.04     90%   560973   14%     /home/mecdr 
But there's only 16G for the VG, may be i can expand it with the cbsvg and logvg. I am not sure the procedure. Could you please help it how I can do it? Should I use "smit"??

PHP Code:
[app1][/]# lsvg mdsvg

VOLUME GROUP:       mdsvg                    VG IDENTIFIER:  000779690000d6000000011a7b5760c1
:           active                   PP SIZE:        128 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1086 (139008 megabytes)
MAX LVs:            512                      FREE PPs:       125 (16000 megabytes)
LVs:                2                        USED PPs:       961 (123008 megabytes)
OPEN LVs:           2                        QUORUM:         2
:          2                        VG DESCRIPTORS3
:          0                        STALE PPs:      0
:         2                        AUTO ON:        no
MAX PPs per VG
:     130048                                    
MAX PPs per PV
:     1016                     MAX PVs:        128
LTG size 
(Dynamic): 1024 kilobyte(s)         AUTO SYNC:      no
:          no                       BB POLICY:      relocatable 

[app1][/]# lspv
hdisk0          0007799376b78326                    rootvg          active
hdisk1          00077993917a8049                    rootvg          active
hdisk2          000779697b4f9d50                    mdsvg           active
hdisk3          000779697b4f9ef8                    mdsvg           active
hdisk4          000779697b4fa02f                    prmvg           active
hdisk5          000779697b4fa133                    cbsvg           
hdisk6          000779697b4fa2e5                    cbsvg           
hdisk7          000779697b4fa9b9                    logvg           
# 2  
Old 08-23-2011
Are you looking for a way to change the size of the filesystem? This would increase it by 1GB:
chfs -a size=+1G /home/mecdr

# 3  
Old 08-23-2011
Originally Posted by kah00na
Are you looking for a way to change the size of the filesystem? This would increase it by 1GB:
chfs -a size=+1G /home/mecdr

yes i need to change the size of the filesystem /home/mecdr.

I planned to extend 25GB at least. But as you see above only 16GB is free according to Free PP size. So, How I can extend more 25GB?
# 4  
Old 08-23-2011
Can I have " lslv lv_mecdr" o/p ?

In AIX Lvm it will not allow a file system to take space from other VGs .So if you don't have free pps available on concerned VG then you need to add disk to the concerned VG.
# 5  
Old 08-23-2011
you need to extend the volume group with a new LUN/disk
# 6  
Old 08-24-2011

You just perform listing of VG mdsvg which is about 16G free right?
How about the VG cbsvg and logvg what are the free PP?

lsvg cbsvg
lsvg logvg

you can shrink those VG and put it on mdsvg depending on what you need if there is still space on the said VG.

# 7  
Old 08-24-2011
Originally Posted by ram1729
Can I have " lslv lv_mecdr" o/p ?

In AIX Lvm it will not allow a file system to take space from other VGs .So if you don't have free pps available on concerned VG then you need to add disk to the concerned VG.

HTML Code:
mecdr@capp1:/home/mecdr>lslv lv_medcdr
LOGICAL VOLUME:     lv_mecdr               VOLUME GROUP:   mdsvg
LV IDENTIFIER:      000779690000d6000000011a7b5760c1.1 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               jfs2                   WRITE VERIFY:   off
MAX LPs:            1000                   PP SIZE:        128 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                960                    PPs:            960
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    128
MOUNT POINT:        /home/mecdr           LABEL:          /home/mecdr
MIRROR WRITE CONSISTENCY: on/ACTIVE                              
EACH LP COPY ON A SEPARATE PV ?: yes                                    
Serialize IO ?:     NO                                     
How to add the disk in mdsvg VG? Can you help?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Extend zfs storage filesystem

Hello, Need to ask the question regarding extending the zfs storage file system. currently after using the command, df -kh u01-data-pool/data 600G 552 48G 93% /data /data are only 48 gb remaining and it has occupied 93% for total storage. zpool u01-data-pool has more then 200 gb... (14 Replies)
Discussion started by: shahzad53
14 Replies

2. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

3. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

4. AIX

How to create a filesystem with the correct computation of PP

Hi everyone, im having a problem with the computation of the PP size for creating a filesystem. for example my requirement is to create a new filesystem with 10gig of system on aix 5.1 and aix 5.3 system. here's the result when i run lsvg vgSAN-sparkle could any provide me an exact... (3 Replies)
Discussion started by: cwiggler
3 Replies

5. Solaris

I need expand or extend a filesystem dfsk.

Hello I need to expand a filesystem is full, but I understand that for this I need a volume manager like SVM or Veritas. I have installed solaris 10 but I give it a metastat and tells me there is no database, as if the installation does not have the sudmirrors attachments. The filesystem... (1 Reply)
Discussion started by: cata
1 Replies

6. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

7. Filesystems, Disks and Memory

How to extend a filesystem??

OK I'm sure this question has been posed far too many times. I have solaris 10 x86 with NO Veritas or Disksuite filesystems. Below is the output of df -k # df -k Filesystem kbytes used avail capacity Mounted on / 10485760 547513 9317128 6% / /dev... (1 Reply)
Discussion started by: jackiebaron
1 Replies

8. Solaris

How to extend a filesystem

I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it. I'm from the HPUX world and so LVM was always how I did things. Thanks jackie (5 Replies)
Discussion started by: jackiebaron
5 Replies

9. AIX

Extend a Filesystem with other LV

Hi Everybody, Is it possible to extend a Filesystem by adding a new LV that exist on different VG to this Filesystem? Thanks in advance. (6 Replies)
Discussion started by: aldowsary
6 Replies

10. Filesystems, Disks and Memory

how can I extend /usr filesystem

How can extend /usr filesystem in hp-ux 11.11 (I'm not using online JFS) ? (0 Replies)
Discussion started by: pedro_lezaeta
0 Replies
Login or Register to Ask a Question