choosing correct VG for Filesystem extend


 
Thread Tools Search this Thread
Operating Systems AIX choosing correct VG for Filesystem extend
# 8  
Old 08-24-2011
Quote:
Originally Posted by thepurple
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
VG STATE
:           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
TOTAL PVs
:          2                        VG DESCRIPTORS3
STALE PVs
:          0                        STALE PPs:      0
ACTIVE PVs
:         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
HOT SPARE
:          no                       BB POLICY:      relocatable 

[app1][/]#
[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           
[app1][/]
Before you do anything perhaps you should run the command:
Code:
lsvg and lsvg -o

Post the results here as it seems you have a cluster here which makes the issue a bit more complicated if true!
# 9  
Old 08-24-2011
According to below cbsvg, logvg are not used by application. In that case, we remove these (cbsvg,logvg) vg and expand mdsvg with them. But what is the procedure for this?

Step by step, can any guru help me out?

PHP Code:
mecdr@app1:/home/mecdr>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 
# 10  
Old 08-26-2011
Unmount and remove any filesystems that are part of the logvg and cbsvg, then run these commands to move the disks over to mdsvg:
Code:
reducevg logvg hdisk7
reducevg cbsvg hdisk5
reducevg cbsvg hdisk6
extendvg mdsvg hdisk7
extendvg mdsvg hdisk5
extendvg mdsvg hdisk6

Next time you run "lsvg -l mdsvg", you should see a lot more free space.
# 11  
Old 08-29-2011
==> add the disk to the server
==> Follow below steps to add the disks to the VG

1) extendvg mdsvg <added disk name>

2) validate the free space by
lsvg mdsvg | grep "FREE PPs"

3) increase filesystem
chfs -a size=+25G /home/mecdr
# 12  
Old 08-29-2011
or do the fast way if you are absolutely sure you dont need anything in the logvg and cbsvg - and since they're anyways not varied on:
Code:
exportvg logvg
exportvg cbsvg
extendvg -f mdsvg hdisk5 hdisk6 hdisk7

... and than extend your filesystem

Regards
zxmaus
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