Is the filesystem largefile enabled? Check by running the command:
This will display the options that were used to create the filesystem. If largefiles is not present, you cannot create files larger than 2GB on that filesystem.
I want to have a permanent file created - and limit the size that this file can grow.. I want a circular file..
ie max size of file is 10 mb.. and if any new data written to file the oldest data removed..
How can I do this?
I am on solaris 9 x86 (3 Replies)
Can anybody help me?
How to increase file size limit in aix 5.2? I have already specified in /etc/security/limits file :
default:
fsize = -1
core = 2097151
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 2000 (2 Replies)
When i run my C program which dynamically creates the output file, the program stops after sometime and gives the error "File size limit exceeded" even though my working directory has space.Can anyone plz help me out. (13 Replies)
My code is
awk '{
out=split(FILENAME,a,"/")
sub(/\./,"_",a)
sub(/\-/,"_",a)
NEWSTRING="main_"a"_"a"(" # The word we want to insert
gsub(/main\(/,NEWSTRING); # the word to be replaced
print "Main becomes ",NEWSTRING")","in file ",FILENAME >> "/home/ds2/test/NEW2.txt" ... (4 Replies)
Hi,
Can some one please tell me the file size limit (if any) while using sftp
I am trying to transfer a file ( size is almost 350 MB ) but it fails as shown below.
sftp> put file1 ./file1
Uploading file1 to /dir1/./file1
file1 25% 100MB 10.2MB/s 00:28 ETA
Couldn't write to remote... (6 Replies)
Hi All,
I want to store 32KB of file in Oracle DB into CLOB field. I am not able to insert more than 32KB of file into CLOB. So i want to put a limit on the file size. I am using k shell.
My file size will dynamically increase its size, i want to check the file size if it is more than 32KB... (1 Reply)
Greetings,
I'm attempting to dump a filesystem from a RHEL5 Linux server to a VXFS filesystem on an HP-UX server. The VXFS filesystem is large file enabled and I've confirmed that I can copy/scp a file >2GB to the filesystem.
# fsadm -F vxfs /os_dumps
largefiles
# mkfs -F vxfs -m... (12 Replies)
Discussion started by: bkimura
12 Replies
LEARN ABOUT MOJAVE
xfs_admin
xfs_admin(8) System Manager's Manual xfs_admin(8)NAME
xfs_admin - change parameters of an XFS filesystem
SYNOPSIS
xfs_admin [ -eflpu ] [ -c 0|1 ] [ -L label ] [ -U uuid ] device
DESCRIPTION
xfs_admin uses the xfs_db(8) command to modify various parameters of a filesystem.
Devices that are mounted cannot be modified. Administrators must unmount filesystems before xfs_admin or xfs_db(8) can convert parameters.
A number of parameters of a mounted filesystem can be examined and modified using the xfs_growfs(8) command.
OPTIONS -e Enables unwritten extent support on a filesystem that does not already have this enabled (for legacy filesystems, it can't be dis-
abled anymore at mkfs time).
-f Specifies that the filesystem image to be processed is stored in a regular file at device (see the mkfs.xfs -d file option).
-j Enables version 2 log format (journal format supporting larger log buffers).
-l Print the current filesystem label.
-p Enable 32bit project identifier support (PROJID32BIT feature).
-u Print the current filesystem UUID (Universally Unique IDentifier).
-c 0|1 Enable (1) or disable (0) lazy-counters in the filesystem. This operation may take quite a bit of time on large filesystems as the
entire filesystem needs to be scanned when this option is changed.
With lazy-counters enabled, the superblock is not modified or logged on every change of the free-space and inode counters. Instead,
enough information is kept in other parts of the filesystem to be able to maintain the counter values without needing to keep them
in the superblock. This gives significant improvements in performance on some configurations and metadata intensive workloads.
-L label
Set the filesystem label to label. XFS filesystem labels can be at most 12 characters long; if label is longer than 12 characters,
xfs_admin will truncate it and print a warning message. The filesystem label can be cleared using the special "--" value for label.
-U uuid
Set the UUID of the filesystem to uuid. A sample UUID looks like this: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". The uuid may also
be nil, which will set the filesystem UUID to the null UUID. The uuid may also be generate, which will generate a new UUID for the
filesystem.
The mount(8) manual entry describes how to mount a filesystem using its label or UUID, rather than its block special device name.
SEE ALSO mkfs.xfs(8), mount(8), xfs_db(8), xfs_growfs(8), xfs_repair(8), xfs(5).
xfs_admin(8)