04-09-2009
Increasing size of a filesytem
hi
Im using AIX4.3. Through smit I tried to increase the size of a directory. I changed 10,000 blocks more but finally i got 524288 blocks more. That is
before change : 12582912 blocks
I have tried for change: 12592912 blocks
then i execute smit.
But finally I got: 13107200 blocks
I cannot understand the proper reason. Can anyone describe me about the actual technique of changing size.
Thanks
suman
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all
Can someone tell me I am running a script and the outputs directory is too small to contain the newly created file as a result of this script. How can I increase the directory size?
Thanks (9 Replies)
Discussion started by: jonest
9 Replies
2. AIX
Hi Everybody,
I have AIX 4.3 and I have a FileSystem with 400GB size, which called /db/run. Because of grow up of the application's data, more storage has been added 200GB. To add this space without affecting the application & the application's requirements, I have to add this 200GB to the existed... (9 Replies)
Discussion started by: aldowsary
9 Replies
3. AIX
Hi
I am a bit green to AIX - but when our backup operator tries to do a restore from one AIX box to another, he get's the error:
'A file cannot be larger than the value set by ulimit'
I am wondering what is the impact of increasing the AIX filesize limit of 2 gb to unlimited. And how would... (1 Reply)
Discussion started by: Rosie C
1 Replies
4. HP-UX
Hi Experts,
I am not sure whether my question should be in this thread or some other one. I am using HP Tru64 system.
Currently one of my filesystem /others is almost full. I need to know the exact commands to increase this filesystem. Please show me how to check for free partitions and add... (5 Replies)
Discussion started by: kingsto88
5 Replies
5. Solaris
Dear all, How can we increase the space for the root partition, ensuring that there is no loss of data in Solaris 9. How can the growfs command be utilized in this case.
Thanks. (7 Replies)
Discussion started by: asadlone
7 Replies
6. AIX
Hi,
How can i increase the size of my display on AIX 5.3.What i mean is e.g if i do and ps -ef i would get some like:
/data/app/oracle/product/10.2
/usr/bin/ksh /usr/local/bin/s
i want it to show the whole thing on the screen without cutting it,because there is still space on the screen... (0 Replies)
Discussion started by: sellafrica1
0 Replies
7. HP-UX
We increased our server's RAM 8 -> 32 GB RAM. swap memory is currently 10 GB. With which command I can increase this memory? (1 Reply)
Discussion started by: akyuceisik
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Is there any command to increase the size of the samba partition when the samba share is online??
Regards
Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies
9. Solaris
Hi All,
I have got a RAID 5 SVM in my Solaris Box. Recently we had performance issues with it. So SUN has told us to increase the interlace size to 128k.
how can we do it so that we have to recreate the RAID 5. ALso guide what are all the pre cautions that we need to take before doing... (1 Reply)
Discussion started by: jegaraman
1 Replies
10. Hardware
Hi Guys
We have a VM machine, now I want to increase the size of the filesystem.
We are running RHEL6 O/S.
I have filesystem that is 500GB I want to increase that filesystem to 1.5 TB.
The guy who manages the VM increased the size on the VM machine, now how do I make sure that the... (7 Replies)
Discussion started by: Phuti
7 Replies
LEARN ABOUT X11R4
fs_setcachesize
FS_SETCACHESIZE(1) AFS Command Reference FS_SETCACHESIZE(1)
NAME
fs_setcachesize - Sets the size of the disk cache
SYNOPSIS
fs setcachesize [-blocks <size (0 = reset)>>] [-reset] [-help]
fs setca [-b <size (0 = reset)>>] [-r] [-h]
fs cachesize [-b <size (0 = reset)>>] [-r] [-h]
fs ca [-b <size (0 = reset)>>] [-r] [-h]
DESCRIPTION
The fs setcachesize command changes the number of kilobyte blocks of local disk space available to the Cache Manager for its data cache, on
machines that use a disk cache. The command is not operative on machines that use a memory cache.
To return the cache size to the default value specified in the third field of the local /etc/openafs/cacheinfo file, provide a value of 0
to the -blocks argument.
To return the cache size to the value set when the machine was last rebooted, use the -reset flag instead of the -blocks argument. This is
normally the amount specified in the cacheinfo file, unless the -blocks argument was included on the afsd command to override the cacheinfo
value.
To display the current cache size and amount of cache in use, for both disk and memory caches, use the fs getcacheparms command.
CAUTIONS
This command is not operative on machines using a memory cache, and results in an error message. To change memory cache size, edit the
cacheinfo file and reboot, or reboot and provide the -blocks argument to the afsd command.
On machines using a disk cache, do not set the cache size to exceed 85% to 90% of the actual disk space available for the cache directory.
The cache implementation itself requires a small amount of space on the partition.
OPTIONS
-blocks <size>
Specifies the amount of disk space available for the Cache Manager to devote to the cache. The size should be a positive integer
followed by an optional suffix: "K" for kibibytes (1024 bytes, the default), "M" for mebibytes (1024 kibibytes), "G" for gibibytes
(1024 mebibytes), and "T" for tebibytes (1024 gibibytes). Provide a value of 0 to set cache size to the default specified in the
cacheinfo file.
-reset
Returns the cache size to the value set when the machine was last booted. This agrees with the value in the cacheinfo file unless the
-blocks argument was used on the afsd command.
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command sets the disk cache size to 25000 kilobyte blocks.
% fs setcachesize -blocks 25000
Both of the following commands reset the disk cache size to the value in the cacheinfo file, assuming that the -blocks argument to the afsd
command was not used.
% fs setcachesize -blocks 0
% fs setcachesize -reset
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root.
SEE ALSO
cacheinfo(5), afsd(8), fs_getcacheparms(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_SETCACHESIZE(1)