12-01-2008
See '/etc/mnttab' which will give u currently mounted filesystem info,If u try shrink any ufs filesystem,you may lost ur data.
`df -n ' is best command for knowing the filesystem type.
10 More Discussions You Might Find Interesting
1. AIX
I need to create a simple shell script to check filesystems space in a file system called "/arch_nb" then based on the percentage use either run another script or exit.
I was thinking of something simple along the lines of:
df -k | then some action to pipe for percentage used
...place... (10 Replies)
Discussion started by: heprox
10 Replies
2. AIX
Hi everybody,
Is it possible to create a Shared Filesystem on Network to be accessed from 2 Systems?
Both systems are AIX but with different versions. One of these systems is AIX 4.3 & the other is AIX 5.2.
Thanks in advanced (8 Replies)
Discussion started by: aldowsary
8 Replies
3. Solaris
Hello - I am finding difficulty in creating and allocating correct size to File Systems on solarix x86 box. Please see below contents I followed on screen and in the end It shows that /app file system is created of size 135GB , I wanted it to be 30gb as mentioned during 'format' command in 'Enter... (7 Replies)
Discussion started by: panchpan
7 Replies
4. Filesystems, Disks and Memory
Hi all,
I would like to ask on how to create 2MB partition on a Compact Flash card. It supposed to be of FAT12 type, and the CF capacity is 4GB. I try to do the partitioning and specify the size as 2MB but the partition editor automatically resize it to 8MB. I know that this is possible and the... (4 Replies)
Discussion started by: archayl
4 Replies
5. Red Hat
I'm new to linux and need information on how do I create a filesytem on a dedicated on LUN for RHEL 4 and 5? I want the filesystem to be a ext3
---------- Post updated at 10:00 AM ---------- Previous update was at 08:56 AM ----------
Found the answer. This thread can be closed. (1 Reply)
Discussion started by: soupbone38
1 Replies
6. Linux
I created a new filesystem using dd and mounted:
I have a filesystem /FAW with 1Terra space
/dev/sdb1 1151331444 24742604 1068104612 3% /FAW
Steps I followed to create a new filesystem
# dd if=/dev/zero of=/FAW/vms/linux_vm/disk2.img bs=1 count=1024 seek=500G
# mke2fs... (10 Replies)
Discussion started by: sriram003
10 Replies
7. UNIX for Dummies Questions & Answers
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
8. AIX
Hi experts,
Need help on the below error please.
I am creating Filesystem and it fails with the below errors :(
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
0518-506 odmget: Cannot open object class PdAt
... (10 Replies)
Discussion started by: EngnrRG
10 Replies
9. AIX
Hello Team,
In a application filesystem, there is a process keep creating the log files. Due to that the filesystem keep getting full. Please let me know how to identify the process which is keep writing in the filesystem.
fuser -u <FS> will show only the user who using the filesystem.... (3 Replies)
Discussion started by: gowthamakanthan
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have a task of creating a UFS filesystem in an LDOM. It is located in a hypervisor (CDOM).
The storage has been provisioned to the CDOM. How do I make it reflect to the LDOM, and then from there configure/set up the filesystem in the LDOM?
Please help. (1 Reply)
Discussion started by: anaigini45
1 Replies
quotaon(1M) System Administration Commands quotaon(1M)
NAME
quotaon, quotaoff - turn ufs file system quotas on and off
SYNOPSIS
quotaon [-v] filesystem...
quotaon -a [-v]
quotaoff [-v] filesystem...
quotaoff -a [-v]
DESCRIPTION
quotaon turns on disk quotas for one or more ufs file systems.
Before a file system may have quotas enabled, a file named quotas, owned by root, must exist in the root directory of the file system. See
edquota(1M) for details on how to modify the contents of this file.
quotaoff turns off disk quotas for one or more ufs file systems.
The file systems specified must already be mounted.
These commands update the mntopts field of the appropriate entries in /etc/mnttab to indicate when quotas are on or off for each file sys-
tem. If quotas are on, the string quota will be added to mntopts; if quotas are off, the quota string is not present.
filesystem must be either the mount point of a file system, or the block device on which the file system resides.
OPTIONS
quotaon
-a This option is normally used at boot time to enable quotas. It applies only to those file systems in /etc/vfstab which have ``rq''
in the mntopts field, are currently mounted ``rw'', and have a quotas file in the root directory.
-v Display a message for each file system after quotas are turned on.
quotaoff
-a Force all file systems in /etc/mnttab to have their quotas disabled.
-v Display a message for each file system affected.
USAGE
See largefile(5) for the description of the behavior of quotaon and quotaoff when encountering files greater than or equal to 2 Gbyte ( 2
**31 bytes).
FILES
/etc/mnttab mounted file systems
/etc/vfstab list of default parameters for each file system
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
edquota(1M), quota(1M), quotacheck(1M), repquota(1M), mnttab(4), vfstab(4), attributes(5), largefile(5), quotactl(7I)
SunOS 5.10 16 Sep 1996 quotaon(1M)