06-05-2018
Thanks Robin, however, chfs actually worked without issue, as long as I did not reduce into the data. One thing I am happy with AIX, is the disk management.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I'm not good in scripting, maybe someone can help me.
I need to delete the lines that contains the last month date from a text file. Each line has the following date format:
So the script should check the actual month, and delete all the lines that contains the past month. The script runs... (2 Replies)
Discussion started by: piltrafa
2 Replies
2. AIX
Hi folks,
I known how to incrase and reduce File System size on AIX 5.3, but my issue is that I have a Logical Volume without any filesystem.
So, how to shrink just the logical volume ?
Thanks,
Livio. (5 Replies)
Discussion started by: Livio
5 Replies
3. UNIX for Dummies Questions & Answers
I have a script which includes an FTP. The filename is too long for my target area. The filename is HD012_ABCD_EFGH_061004_F_300_40. I need to the filename to be HD012_ABCD_EFGH_061004_F_. Any ideas. (5 Replies)
Discussion started by: paul1s
5 Replies
4. AIX
New Question:
The purpose of an alternate disk install is in my opinion to have a ready-to-use-backup and i've read that it is possible to install filesets or software on the cloned disk for testing purposal while the normal system is still running.
The question is: how do you tell AIX (5.2... (5 Replies)
Discussion started by: kvanelshocht
5 Replies
5. HP-UX
Hi,
I've entered the HP-UX 11i server in single user mode, and increased the filesystem /usr by mistake using
lvextend -l 3092 /dev/vg00/lvol7
extendfs /dev/vg00/rlvol7
I put small letter "l" instead of "L".
and as a result of this mistake the /usr take all the free space in the volume... (2 Replies)
Discussion started by: elshamy_s
2 Replies
6. AIX
Hello
I have a question
I have a box with Aix 5.3 with rootvg on mirror.
I deleted a filesystem and I create a new one to install some software but when I type lsvg -l rootvg all my filesystems has mirror unless the new one.
My question is I can mirror this fs only ??? or I have to... (9 Replies)
Discussion started by: lo-lp-kl
9 Replies
7. Shell Programming and Scripting
$ /backup_restore/backupDatabase -b 128 -s 45056000 -non-interactive
The above command is usually ran through cron on a daily basis. However it takes 2hrs to complete. The tape is usually inserted into the V890 server, and cron kicks off the backup around 1:10AM. It completes around 3:30 -... (0 Replies)
Discussion started by: ravzter
0 Replies
8. AIX
I'm trying to troubleshoot an issue with an AIX system here. I have no experience with system administration of IBM stuff. Our local admin is ... um ... not available at this time.
I found something online that said enter service mode - How the heck do I do that??? Why is IBM stuff lack proper... (2 Replies)
Discussion started by: bbbngowc
2 Replies
9. AIX
When attempting to extend rootvg to a new physical disk I received the following message:
0516-1162 extendvg: Warning, The Physical Partition Size of 64 requires the
creation of 1093 partitions for hdisk5. The limitation for volume group
rootvg is 1016 physical partitions... (4 Replies)
Discussion started by: jyoung
4 Replies
10. Solaris
Hi All,
We have a T5140 server which has 128 threads in total. Is it possible to reduce the number of threads per core through some configuration changes? I am sorry for being so naive but I am one on this.
Why would I like to do this? Unfortunately we have this for an Oracle Database Server... (6 Replies)
Discussion started by: VENKITACHALAMS8
6 Replies
SYNC(2) BSD System Calls Manual SYNC(2)
NAME
sync -- synchronize disk block in-core status with that on disk
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
void
sync(void);
DESCRIPTION
The sync() function forces a write of dirty (modified) buffers in the block buffer cache out to disk. The kernel keeps this information in
core to reduce the number of disk I/O transfers required by the system. As information in the cache is lost after a system crash, kernel
thread ioflush ensures that dirty buffers are synced to disk eventually. By default, a dirty buffer is synced after 30 seconds, but some
filesystems exploit ioflush features to sync directory data and metadata faster (after 15 and 10 seconds, respectively).
The function fsync(2) may be used to synchronize individual file descriptor attributes.
CAUTIONS
Many modern disks contain write-back caches. In theory sync() flushes these. In practice there are many possible ways for this mechanism to
go astray. It is prudent (where possible) to allow a few seconds after syncing for everything to settle before e.g. turning off the power.
It may also be desirable to use dkctl(8) or scsictl(8) to disable the write-back cache entirely.
SEE ALSO
fsync(2), dkctl(8), scsictl(8), sync(8)
HISTORY
A sync() function call appeared in Version 6 AT&T UNIX.
Historically, sync() would schedule buffers for writing but not actually wait for the writes to finish. It was necessary to issue a second
or sometimes a third call to ensure that all buffers had in fact been written out. In NetBSD, sync() does not return until all buffers have
been written.
BSD
March 25, 2009 BSD