Re: JFS2 on 5.1 and 5.2

From: Dan Foster (dsf_at_globalcrossing.net)
Date: 11/25/03


Date: Tue, 25 Nov 2003 19:24:55 +0000 (UTC)

In article <Pine.SGI.4.56.0311251233570.158656@hellas.tamu.edu>, Michael E.
Thomadakis <miket@hellas.tamu.edu> wrote:
>
> I have seen documentation stating that no quotas are supported on JFS2
> file systems. Does anyone have a positive answer to this?

Yes. The documentation is correct. You'd normally assume it is unless
explicitly demonstrated otherwise. :)

Try it:

For jfs2:

# crfs -v jfs2 -g rootvg -m /test -A no -a size=10000
File system created successfully.
32560 kilobytes total disk space.
New File System size is 65536
# vi /etc/filesystems (and add next line to the /test stanza)
        quota = userquota,groupquota
# mount /test
# touch /test/quota.user
# touch /test/quota.group
# quotaon -vug /test
4050-001 /test: not configured in /etc/filesystems
# umount /test
# rmfs /test

For jfs:

# crfs -v jfs -g rootvg -m /test2 -A no -a size=10000
Based on the parameters chosen, the new /test2 JFS file system
is limited to a maximum size of 134217728 (512 byte blocks)

New File System size is 65536
# vi /etc/filesystems (and add next line to the /test2 stanza)
        quota = userquota,groupquota
# mount /test2
# touch /test2/quota.user
# touch /test2/quota.group
# quotaon -vug /test2
/test2: group quotas turned on
/test2: user quotas turned on
# umount /test2
# rmfs /test2

If you need filesystem user or group quotas for AIX v5, you'll have to do
it with jfs filesystems only. May be strange, yes, but that's what you're
faced with.

> On 64bit kernels, is there any reason not to have all FSs as JFS2?

No reason not to do it, if you're running recent levels of 5.1 or 5.2 since
the serious jfs2 stability bugs seems to have smoothed out.

> Another question relates snapshot capability. Are there snapshots (ala
> netapp) supported by any FS by IBM? Snapshot is the capability to
> consistently maintain different versions of a file.

Yeah, but the exact form of the Netapp snapshot capability is unique.

AIX 5.2 does have a rudimentary snapshot capability but it's on a
filesystem or volume group basis (I'm not real clear; haven't tried it
yet), and only if it's for jfs2? See 'man splitvg' and 'man joinvg'.

I don't recall if it's possible to do it at the fs level or how to
accomplish it.

-Dan



Relevant Pages

  • Re: per-directory quotas possible on 5.x ?
    ... the UFS file system model makes it difficult to implement ... Most of the systems I've seen that do quotas on a large scale do basically ... A port of HFS+ to FreeBSD was recently posted to ...
    (freebsd-hackers)
  • Disk Quotas
    ... The First Question is, ... During the boot proccess the message "Enabling File System Quotas" ...
    (Fedora)
  • Re: /boot at beginning of drive
    ... /boot has to be in the / file system. ... They will have quotas, so data in /var ... It's not a good idea to put everything on the / filesystem. ... There are many good reasons to separate those filesystems, ...
    (freebsd-questions)
  • Re: Rquota not functioning in Solaris 8
    ... > The exported file sytem has quotas enabled and is a metadevice. ... The filesystem can be mounted remotely. ... no quotas file on any mounted file system ... > I've tried running rquotad manually on the server as well. ...
    (comp.sys.sun.admin)
  • Re: Rquota not functioning in Solaris 8
    ... > The exported file sytem has quotas enabled and is a metadevice. ... The filesystem can be mounted remotely. ... no quotas file on any mounted file system ... > I've tried running rquotad manually on the server as well. ...
    (comp.unix.solaris)

Loading