LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 04-28-2014, 09:59 PM   #1
silkyvampire
LQ Newbie
 
Registered: Sep 2013
Posts: 5

Rep: Reputation: Disabled
Filesystem usage is -1% on AIX 6.1


I noticed the following on my AIX machine (oslevel -s : 6100-07-05-1228)

Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/utl2lv 0.00 0.00 -1% 0 -1% /gw/data/devl/utl2

Can anybody help to explain why it is showing used as -1%?

Thank you in advance.
 
Old 04-29-2014, 06:06 PM   #2
wingnut64
LQ Newbie
 
Registered: Sep 2004
Distribution: AIX, RHEL, Gentoo, Arch
Posts: 22

Rep: Reputation: 2
If it's utterly empty it could just be a rounding error, but it's listing the total size as 0. Can you even access any data on it? I would almost think it's not actually mounted but is still showing up somehow.

Try
Code:
lsfs -q /gw/data/devl/utl2
lsvg -l $whatevervg
lslv utl2lv
and see if the LV is actually active. Check /etc/filesystems and make sure the entry for it looks OK.
 
Old 04-30-2014, 01:13 AM   #3
silkyvampire
LQ Newbie
 
Registered: Sep 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you wingnut64, here you go:

# lsfs -q /gw/data/devl/utl2
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/utl2lv -- /gw/data/devl/utl2 jfs2 -- rw yes no
(lv size: 10485760, fs size: 10485760, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: yes, EFS: no, ISNAPSHOT: no, MAXEXT: 0, MountGuard: no)
# lsvg -l data_vg | grep utl2
data_vg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
utl2lv jfs2 40 40 1 open/syncd /gw/data/devl/utl2

# lslv utl2lv
LOGICAL VOLUME: utl2lv VOLUME GROUP: data_vg
LV IDENTIFIER: 00f6f8e000004c00000001395b3ae27b.16 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 128 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 40 PPs: 40
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /gw/data/devl/utl2 LABEL: /gw/data/devl/utl2
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no
#
/gw/data/devl/utl2:
dev = /dev/utl2lv
vfs = jfs2
log = /dev/loglv01
mount = true
account = false

# cd /gw/data/devl/utl2
ksh: /gw/data/devl/utl2: Permission denied.
# ls -ld /gw/data/devl/utl2
drwxr-xr-x 1 root system 1 30 Apr 02:09 /gw/data/devl/utl2
# cd /gw/data/devl
# pwd
/gw/data/devl
# ls -al utl2
ls: utl2: The file access permissions do not allow the specified action.
total 0
#
 
Old 04-30-2014, 06:03 AM   #4
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 250

Rep: Reputation: 107Reputation: 107
Hi,

One possibility is that there is a problem with the permissions of the underlying mount point for the /gw/data/devl/utl2 file system.

To check (& fix) this, the easiest is to unmount the filesystem & check the permissions of the /gw/data/devl/utl2 directory (must be at least 0555 afaik).

If you can't unmount it, there is an alternative. First find the filesystem containing the mount point (i.e. the next filesystem up the tree). Let's assume that is /gw/data/devl for now. Then try this sequence of commands:

Code:
# umask 022
# mkdir /dummy
# mount /gw/data/devl /dummy
# cd /dummy
# ls -ld utl2
drwxr-x---   2 root     system          256 Jun 10 2005  utl2
# chmod 755 utl2
# df -Pm /gw/data/devl/utl2    # should now work
# umount /dummy
I hope this helps :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using an NFS4 exported filesystem from AIX to Linux addrguard00 Linux - Networking 0 06-04-2009 02:55 AM
AIX Cpu Usage. abrenar AIX 5 03-10-2009 10:46 AM
LXer: Determining Volume Group Disk Usage On AIX Unix Using Sh And Awk LXer Syndicated Linux News 0 11-11-2008 11:40 AM
can't mount aix/jfs filesystem on RHEL AS4 jwholey Linux - General 1 04-01-2006 04:58 AM
AIX filesystem on Fedora? seangallagher Linux - Newbie 1 03-10-2004 05:16 PM


All times are GMT -5. The time now is 03:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration