Unable to extend file system


 
Thread Tools Search this Thread
Operating Systems AIX Unable to extend file system
# 1  
Old 08-04-2017
Unable to extend file system

Hi,

I have inherited this AIX 5.3 host. I'm unable to increase the /usr file system. It gives me this error.

What needs to be done to remove this error?

Code:
vios:/home/padmin$ chfs -a size=+128M /usr
0516-304 lquerypv: Unable to find device id 0002ef4df616f9690000000000000000 in the Device
        Configuration Database.
0516-788 extendlv: Unable to extend logical volume.
vios:/home/padmin$
vios:/home/padmin$
vios:/home/padmin$ lsvg -l rootvg
rootvg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       1     2     2    closed/syncd  N/A
hd6                 paging     4     8     2    open/syncd    N/A
paging00            paging     8     16    2    open/syncd    N/A
hd8                 jfs2log    1     2     2    open/syncd    N/A
hd4                 jfs2       2     4     2    open/syncd    /
hd2                 jfs2       13    26    2    open/syncd    /usr
hd9var              jfs2       5     10    2    open/syncd    /var
hd3                 jfs2       9     18    2    open/syncd    /tmp
hd1                 jfs2       31    62    2    open/syncd    /home
hd10opt             jfs2       2     4     2    open/syncd    /opt
lg_dumplv           jfs        8     16    2    closed/stale  N/A
fwdump              jfs2       1     2     2    open/syncd    /var/adm/ras/platform
dumplv              sysdump    7     7     1    open/syncd    N/A
vios:/home/padmin$ lspv
hdisk0          0002ef4d0206744e                    rootvg          active
hdisk2          0002ef4df6770012                    clientpool      active
hdisk4          0002ef4d25f0f1d8                    nfsvg           active
hdisk3          0002ef4d02a2110a                    rootvg          active
vios:/home/padmin$

Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 08-04-2017 at 05:30 AM.. Reason: Added CODE tags.
# 2  
Old 08-04-2017
Hi,

Not that up to speed with the VIOS server stuff, but padmin is a restricted shell - shouldn't you be root?

Gull04
# 3  
Old 08-04-2017
You do appear to be on the VIO server. Try looking at the output of help to find what commands they have provided. You can become the root user, but I presume that it is very easy to do bad things to multiple OSs that you would use for your business applications, hence why IBM shield you from it on a VIO server.

When you say you have AIX 5.3, I presume you mean that the business applications are running on that.

If this really is your business application and we're just getting confused by the prompt, can you show us the output from lslv -l hd2 and lslv -m hd2


Kind regards,
Robin
# 4  
Old 08-04-2017
Code:
vios:/home/padmin$ lslv -l hd2
hd2:/usr
PV                COPIES        IN BAND       DISTRIBUTION
hdisk0            013:000:000   100%          000:000:013:000:000
hdisk3            013:000:000   100%          000:000:013:000:000
vios:/home/padmin$
vios:/home/padmin$
vios:/home/padmin$ lslv -m hd2
hd2:/usr
LP    PP1  PV1               PP2  PV2               PP3  PV3
0001  0260 hdisk0            0231 hdisk3
0002  0261 hdisk0            0232 hdisk3
0003  0262 hdisk0            0233 hdisk3
0004  0263 hdisk0            0234 hdisk3
0005  0264 hdisk0            0235 hdisk3
0006  0265 hdisk0            0236 hdisk3
0007  0266 hdisk0            0237 hdisk3
0008  0267 hdisk0            0238 hdisk3
0009  0268 hdisk0            0239 hdisk3
0010  0269 hdisk0            0240 hdisk3
0011  0270 hdisk0            0241 hdisk3
0012  0271 hdisk0            0242 hdisk3
0013  0272 hdisk0            0243 hdisk3
vios:/home/padmin$


Last edited by rbatte1; 08-04-2017 at 07:03 AM.. Reason: Added CODE tags
# 5  
Old 08-04-2017
Do you get anything from these:-
Code:
help                   # VIOS shell would list the available commands
uname -a               # Checking the OS version and other labels to see if we can spot what this really is
ps -f                  # Just to see what shell you are really

Can you easily become root on this server? How, or why not?


Does this article help at all? VIOS COMMAND LINE: UNDER THE COVERS (AIX Down Under)

I'm still concerned that your business application might be running on the VIOS. It kind of can, but it's really not designed for it. Do you not have virtual guests for you business application? Are you sure you have the right /usr that needs to be extended? On a VIOS, ordinarily there would never be a need to extend it.

If you business application really is running on the VIOS, then an upgrade to the VIOS might destroy it. The VIOS only care about making sure the VIOS is working properly and sharing devices to the guests where the real business applications should run.


Robin
# 6  
Old 08-05-2017
Code:
vios:/home/padmin$ help

If available, you can refer to the Base Document Library
for general assistance.

Some basic Commands are:

    man -k keyword      - lists commands relevant to a keyword
    man command         - prints out the manual pages for a command
    cat                 - concatenates files (and just prints them out)
    vi                  - text editor
    ls                  - lists contents of directory
    mail                - sends and receives mail
    passwd              - changes login password
    sccshelp            - views information on the Source Code Control System
    smit                - system management interface tool
    tset                - sets terminal modes
    who                 - who is on the system
    write               - writes to another user

To find programs about mail, use the command:           man -k mail
and print out the man command documentation via:        man mail
You can log out of the system by typing:                exit

Code:
vios:/home/padmin$ lsvg -p rootvg
0516-304 : Unable to find device id 0002ef4df616f969 in the Device
        Configuration Database.
rootvg:
PV ID             PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
0002ef4df616f969  removed           546         538         110..101..109..109..109
hdisk0            active            546         454         109..89..38..109..109
hdisk3            active            546         469         109..104..38..109..109
vios:/home/padmin$

---------- Post updated at 07:17 PM ---------- Previous update was at 07:13 PM ----------

I have mentioned AIX 5.3 because its the information I got from this host using oslevel command.

I see lsvg -p rootvg command also list the device 0002ef4df616f969 as removed.

To become root , I used the command oem_setup_env

Code:
vios:/home/padmin$ whoami
root
vios:/home/padmin$


Last edited by Scott; 08-05-2017 at 11:58 AM.. Reason: Use code tags, please
# 7  
Old 08-07-2017
So, yes, this is the VIO server, not where the business applications run, so that is good to know. Can I presume that there are a pair of VIO servers in play here so that the disk for the guests can have two paths to each disk, or at least each guest would have two allocations of disk that it can mirror?

Can you tell us more about this server configuration? I'm a little concerned that you might have an exposure to hardware failure.


To clean up the removed disk, see if this helps - IBM Resolving "missing" or "removed" disks in AIX LVM - United States It took a long time for me to load the page.

Also, have a read of this for some good background on VIO servers - The VIO cheat sheet

I hope that these help.


I would, however, worry that you might be trying to grow the wrong filesystem What makes you think that the VIO server needs to have /usr increased? Surely this is more likely for the guest that you have your business application running in. Is there something filling /usr and if so, which one? (VIOS or the business application LPAR) If it's the business application guest, then leave /usr for the VIO server alone. It's not really yours.




Kind regards,
Robin

Last edited by rbatte1; 08-07-2017 at 09:42 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Unable to extend LV

Hi all. I have a Logical volume that I can't extend, with this error message: server171:root:/root# lvextend -L +1024M -v /dev/aplic_vg/siteminderwa_lv Finding volume group aplic_vg Archiving volume group "aplic_vg" metadata (seqno 75). Extending logical volume siteminderwa_lv to... (0 Replies)
Discussion started by: Gabriander
0 Replies

2. Solaris

Unable to create file system (newfs)

Hi I have the following cenario: I have requested a LUN from the NetApp to create a file system, and the netapp admin provide me with one as you can see below, but after following all the steps, I could not create a file system on the device: # format Searching for disks...done ... (11 Replies)
Discussion started by: fretagi
11 Replies

3. AIX

/usr/sbin/extendvg: Unable to extend volume group

Dear Expret, Help me about my issue, I trying add new disk to volume Group but error: step add new disk to volume group. 1. ~Change a Volume Group Add a Physical Volume to a Volume Group Remove a Physical Volume from a Volume Group Reorganize a Volume Group... (6 Replies)
Discussion started by: williamen
6 Replies

4. AIX

Unable to extend volume group(VG)

Would some help me on this below I am trying to extend file system on AIX and however unable to extend the file system. 0516-306 extendvg: Unable to find physical volume 20 in the Device Configuration Database. 0516-321 extendvg: Physical volume u01-lv is not configured. 0516-792... (15 Replies)
Discussion started by: murali969
15 Replies

5. Solaris

How to extend an existing file system using SVM in solaris 10

Hi All I want to extend this file system to 120Gb: df -h /xyz Filesystem size used avail capacity Mounted on /dev/md/dsk/d80 98G 35G 62G 37% /xyzand the NetApp admin is going to give me an LUN with 22Gb. This file system is mounted on: metastat d80... (1 Reply)
Discussion started by: fretagi
1 Replies

6. Emergency UNIX and Linux Support

Not able to extend ZFS file system

Hi All, I have Solaris-10 configured with two non-global zones. All file-systems are mounted on global zone and data file-systems are mounted on non-global zone as lofs. I have added 4 luns of 100 GB each and still not able to extend a file-system. This is production server, so I can not... (5 Replies)
Discussion started by: solaris_1977
5 Replies

7. Solaris

Solaris file system unable to use available space

Hi, The solaris filesystem /u01 shows available space as 100GB, and used space as 6 GB. The Problem is when iam trying to install some software or copy some files in this file system /u01 Iam unable to copy or install in this file system due to lack of space. ofcourse the software... (31 Replies)
Discussion started by: iris1
31 Replies

8. HP-UX

Unable To Extend the Size of a Logical Volume File System

Background: # uname -a HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license deedee.rsn.hp.com:/ # bdf /opt Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol6 6553600 6394216 158144 98% /opt /opt is almost full... (3 Replies)
Discussion started by: Rob Sandifer
3 Replies

9. UNIX for Advanced & Expert Users

Unable to clean up file system

Hi, Has anyone ever encountered the following scenario: I am working on a SUN server with solaris 10 installed and veritas managing the filesystem. One of the file systems has become full: df -kh /ossrc/dbdumps Filesystem size used avail capacity Mounted on... (6 Replies)
Discussion started by: eeidel
6 Replies

10. AIX

Can not extend a JFS file system

Hi, I am getting an error message when i try to increase the size of a filesystems under AIX 4.3.3: chfs: 0506-932 Can not extend a JFS file system with nbpi = 4096 and frag = 4096 past 134217728 (512 byte blocks). -> Characteristics Journaled File System ... (4 Replies)
Discussion started by: Can
4 Replies
Login or Register to Ask a Question