I'm writing a C program to gather some filesystem and logical volume stats. I'd like something similar to iostat -F where I can get number of reads/writes, kb read/written per filesystem (or lv) or better yet a perfstat_disk_total for logical volumes. I found that perfstat_logicalvolume exists in an AIX 6.1 patch which is pretty much what I want but I'd like it for 5.2 and 5.3 as well. Are there are available library routines or system calls that will let me gather those statistics directly? How does iostat -F get the stats?
I am facing the problem with [b]mount[/b] in aix. Let me explain the scenario below.I have a Netapp Lun which connected to the aix host. I created a file system over it and copied some files to it.Next I removed the lun and attached it to another aix host. The lun is identified by the host, but mounting of file system fails. If I do fsck of the device, the mount succeeds but the copied file are lost.I found that this problem arises, because when connected to a different host, the /dev/hdisk<N> of the lun changes and this causes mount to fail. This arises even if this /dev/hdisk<N>
would like to seek your advice and experience.we have few aix servers. as interim backup solution, we would like to explore the possibility of using tar or backup command to perform daily backup. we would like to append to the same tape, thus the savevg can't be used,since the savevg will utilise the whole of the tape per vg. if i want to do tar, i can't do incremental. which one is better. would really appreciate your advice. Many
can anyone help in a monitoring task of AIX filesystems which are not inside the rootvg (/sapmnt/SID)?!If someone knows that this is not possible as an "official" statement it would help me too.
We have a Oracle10g RAC ( 8 node) using ASM as storage on AIX 5.3L. we have 64GB memory, out of which 24 GB allocated to Oracle SGA. We observe, almost 50+% of total memory being used in File system Cache (reported by svmon -G+nmon ). Since ASM (non AIX filesystem) being used here, we don't need to cache any data.. Do we? Using 50+% of total memory for filesystem where no data (except root fileystem & Oracle Binaries ) seems to be a waste. Isn’t it? . What’s the recommended way to reduce memory used by File system cache? Is it possible to reduce maxclient & maxperm ( we have lru_re
I would like migrate a database from Red Hat 4 Enterprise 32 bits to AIX 5.3 64 bits.whats your prefered method ?EXP/IMP was too long (250 GB..)What do you think about to RMAN Conversion ?When you use this method, you must backup database on Linux , and after the backup, do you restore the backupset on AIX filesystem and use rman conversion on AIX ?
I was asked to perform disk clone for a company. The problem is that it is with AIX filesystem. I get a message:There is a valid AIX label on this disk.Unfortunately Linux cannot handle thesedisks at the moment. Nevertheless someadvice:1. fdisk will destroy its contents on write.2. Be sure that this disk is NOT a still vitalpart of a volume group. (Otherwise you mayerase the other disks as well, if unmirrored.)3. Before deleting this physical volume be sureto remove the disk logically from your AIXmachine. (Otherwise you become an AIXpert).How to clone it ?
Hi, I have a problem with a 200Gb Lacie external hard drive, containing some valuable data I would like to get off. A couple of days ago I was able, briefly, to mount it (it only did read only), but shortly afterwards I couldn't see it at all. There were some nasty rattles coming from inside the case so I've taken it apart and plugged the drive itself into a new case, which seems to have got rid of the physical problems. I can now see it:chrisk@knightjar:~$ sudo fdisk -lDisk /dev/hda: 80.0 GB, 80026361856 bytes255 heads, 63 sectors/track, 9729 cylindersUnits = cylinders of 16065 * 512 = 822528
I was wondering besides performing export/import and redirected restore for SMS tablespaces, is there another way to add space to SMS based tablespaces that would be an option instead of increasing our AIX filesystem for these ?
Here is my plan to upgrade DB2 from 7.2 to 8.1 please critique thanksright now not sure if we do 32 bit or 64bit for both aix and db2still in initial planning stagesscott1. Plan logical disk volume & AIX filesystem layouts 2. AIX O/S Installation Process and tuning AIX parameters for DB2 8.1- 3. Run upgrade utility Fix problems with migration errors reported by DB2 4. Upgrade DB2 database server 5. Upgrade DB2 clients 6. Install latest DB2 UDB 8.1 Fixpacks 7. Test DB2 stored procedures with new DB2 8.1 upgrade 8. Test data loads from suppliers
I working on 11g io calibration DBMS_RESOURCE_MANAGER.CALIBRATE_IO (5, 20, iops, mbps, lat);I am receiving 40 IOPS with 25 ms latency from one disk that consist 5x15k fiber (disk raid 4) on SAN side. I am seeing 600 IOPS on san monitoring tool while running oracle IO calibration.Also when testing with another disk measurement tool I am receving 500 IOPS with 22 ms service time.I guess oracle performing this test with single process and this process cant enforce system fully.Have you any ideaBest Regards.Oracle 11g r2 on AIX filesystem mounted with cio.
DB Version:10g2 and upOS: AIX 6.1, Solaris 10We are configuring RMAN for few of our databases (around 1.5 TB each). Two questions:1.Should FRA(or non-FRA backup location) be configured in a non-AIX filesystem like SAN/NAS? Is this the standard practice?2. For DB Storage;which is better , SAN or NAS?
Does AIX 5.3 support JFS filesystem?
would appreciate yr comments on my understanding on the concurrent I/O filesystem creation in AIX:user requirement: 500GB for db2 extraction1. create 5 LUN of 100GB from SAN storage2. create one vg on one of the hdisk, and then extend the 4 disk to the vgwhere to specify the concurrent IO?3. vi /etc/filesystems ensure the option:options = cio,rwhope to hear from you.
We are running SAP on AIX 5.3 with Oracle 10.2.We want to include file system backup process as part of our backup strategy. To test the waters, we are planning to take a backup of the at filesystems level. Following are the filesystems in our production systems. We have a test server (hostname is different), without any filesystems created beforehand. I want to know: 1. Which filesystems will be required from the below: Filesystem GB blocks Used Free %Used Mounted on/dev/hd4 2.00 0.20 1.80 11% //dev/hd2 5.00 2.07 2.93 42% /usr/dev/hd9var 2.00 0.07 1.93 4% /var/dev/hd3 2.00 0.77 1.23 39% /tmp/
Does anyone have a good OFA Oracle 8i filesystem/disk layout for AIX for Oracle and JDA software?
first, sorry for my englishi have ubuntu 9.10 and i have 160 bad sectors in my 160gb hdd.everyday ubuntu says your filesystem has turned read-only so i can't write anaything or save my files. also i can't turn off my computer so i'm restarting and then more bad-sectors are coming.i need serious help becouse my hdd is dying everyday.
I read about these theme in metalink, but it is still not clear for me!We have databases 10.2.0.4 on AIX (5300-07-04-0818) and use filesystemio_option= setall ( Oracle recommended )Is it appropriate to use cio on filesystem level????In Note 602791.1 Matalink said: "The fact is that in 9i, DIO and CIO must be specified at the filesystem level whereas in 10g, Oracle issues o_cio and o_dio calls as appropriate."Can somebody help me to understand?
I recently set up a dev AIX 5.3L (oslevel 5300-05) with 10g r2. When I created the directories for Oracle application and its datafile directories, on separated drives, I did not create both filesystem in jfs2. First I did not understand the difference, secondly I did not see the difference between this setup and my other prod AIX 5.3L (oslevel 5300-03) , which are in jfs2. Until I tested the Oracle’s RMAN backup, the speed was very slow until I disabled the disk_asynch_io to FALSE of Oracle side. Even I increased the maxserver to 500 of OS level, the backup did not speed up. Then after I re
From today we have a strange problem adding a filesystem on a previously defined logical volume. The logical volume is of type JFS2. We receive the following error : j2_logform: failed in Stat(1)rmlv: Logical volume loglv02 is removed.What could be the problem ?
In my database SQL00002.DAT file is occuping 95% of the file system.The filesystem has been reached to 100%.Could you please suggest me what is the solution for this. Can i move this file to another location. Is creating any problem for my db.
I have a partitioned hard disk sda3 = 17 GB homesda4 = 21 GB usrsda1 = 49 MB Dell Utilitysda2 = 82 GB Win XPNow two days ago, out of the blue I get a message saying that my hard disk has many errors. Hence, I ran the disk utility and found the fault -'Reallocated Sector Count warning and 76 sectors bad'. I did some research and found out that I need a second opinion for this was an issue in beta. Hence, I check it with 'gsmartcontrol' that confirms the previous error. Upon doing some further research I found out that I can ignore the bad sectors by doing sudo fsck -c /dev/... by running a live
I cannot mount filesystems from my AIX server but other servers such as Solaris are OK. I receive the message "mount: RPC: Unable to receive; errno = Connection reset by peer". This has always worked and still does from my other clients, RHEL, CentOS, Solaris, AIX, HP-UX. Ubuntu 7.04 is the first system that has given me any problem. I also went back to release 6.06 and had the same problem.
We have here HACMP 5.3 cluster on AIX5.3. Is it possible to decrease the filesystems in the shared VG(Enhanced concurrent capable) from CSPOC ? Is there any catch in this? With
I need to understand the JFS2 FileSystem architecture, to be able to parse the FileSystem to get inodes and directory information.JFS2 on AIX and Linux have evolved from the same branch. Can you please help me finding out more about the correlation between JFS2 on Linux and AIX, how the two evolved, are inter-related, what their architectures are, or any sort of information for the JFS2 Filesystem.
I am trying ftp a file of size > 1Gb to a AIX box & I getting an error which says "No space left on device/filesize limit exceeded.". Details is given below. Please help me out.================================================================================= df -k Filesystem 1024-blocks Free %Used Iused %Iused Mounted on/dev/hd4 1179648 1167612 2% 1542 1% //dev/hd2 15826944 14060528 12% 24929 1% /usr/dev/hd9var 32768 25228 24% 338 6% /var/dev/hd3 491520 490152 1% 19 1% /tmp/dev/hd1 32768 32396 2% 7 1% /home/proc - - - - - /proc/dev/hd10opt 655360 605816 8% 820 1% /opt/dev/oravol 1291059
all,I am new to AIX. I wanted to extend a filesystem on my AIX box but its failing and throwing the following error. [b]0516-404 allocp: This system cannot fulfill the allocation request.There are not enough free partitions or not enough physical volumesto keep strictness and satisfy allocation requests. The commandshould be retried with different allocation characteristics.[/b] I tried the following command[b]chfs -a size=+1G /opt[/b] Here are the few o/p's which might be helpful:[b]# df -kFilesystem 1024-blocks Free %Used Iused %Iused Mounted on/dev/hd4 1589248 1402696 12% 1556 1% //dev/hd2
I had query as to how to create a Filesystem on a disk presented to a AIX host without making a Volume group on it.I usually follow the following steps.I create a VG on a disk using [b]mkvg -y anandvg hdisk1[/b]then I use [b]crfs -v jfs -g anandvg -m /mnt -a size=100M[/b]So I get a FS of size 100M with mnt as mount point sitting on VG anandvg.My ques is how can I create a FS without creating a VG on the disk. As in HPUX we have [b]mkfs -F <FSType> <device file>[/b] which makes a FS on a disk without making a VG on it.How 2 go about it in AIX?
Anyone run into this one?AIX 5.3 TL3 (with some later PTF's applied)JFS2 filesystem with 592GB total space, 407GB used. Trying to shrink this down to 425GB total. chfs -a size=-167GB /oaphruchfs: There is not enough free space to shrink the file system.Since I'm trying to shrink it down to a size that's larger than the amount of used space I don't understand the error, not enough free space?
We keep getting filesystem error full messages when we run several stored procedure transform jobs in DB2 UDB on AIX. We added space and expanded the size of the raw volume that the stored procedures use. If the stored procedures/transforms fail what else could be the cause and resolution of the problem?
I have on AIX 5.3 server. While taking the backup of the same server with the backup utility the process hangs after showing the message NAKSHATRA diiferential backup started at Tue Oct 23 13:49:28 IST 2007backup: The date of this level 1 backup is Tue Oct 23 13:49:32 IST 2007.backup: The date of the last level 0 backup is Sun Oct 14 10:08:58 IST 2007.backup: Backing up /dev/rhd4 (/) to /dev/rmt3.1.backup: 0511-251 The file system is still mounted; data may not be consistent.Use the umount command to unmount the filesystem; then do the backup.backup: Mapping regular files. This is Pass 1. Is t
Hello, all. Hope everyone has enjoyed their Thanksgiving holiday. While you are digesting turkey and fixins (that's what we call it down here in the south - "fixins"), here's one to ponder.Gory details: we have a publication environment in which an IBM RS/6000 43P Model 150 running AIX 4.3 presently mounts a remote filesystem on a Sun Solaris UNIX host. We want to retire the Sun host and move that data to a Windows 2003 Enterprise server. Active Directory is in the mix.On the Windows 2003 Enterprise server, we have enabled Microsoft Services for NFS. NFS v3 support is enabled and TCP is the pr
We have several large tablespaces on our production DB2 database that use SMS containers. After research we found out that the containers are on a filesystem (AIX) that is not enabled for large files >2Gb. How can I migrate these tablespaces that are out of space (SQL -0968C error) to a new filesystem that is enabled for large file sizes?
I am trying to create a filesystem, from a previously defined logical volume. The logical volume, and its log logical volume create fine. These are the only two LV's in this volume group. I have tried importing the vg with a new major, and I am basically at wits ends with this. Here is the error:j2_logform: failed in Stat(1)mkfs: 0506-239 Cannot format log And the system information is:System: IBM p595 running VIOSan: EMC DMXOS: AIX 5.3Any help appreciated
Greetings,I want to make my executable, which uses shared libraries, independentof any shared library path setings (LIBBPATH ...). Instead the shared libraries shouldalways be searched for in the directory in which the executable resides.This is to ease installation and to ensure, my app always picks up the right libraries.On Platforms like linux, hpux and solaris this can easily be handeledby placing $ORIGIN in the link line (e.g. on linux: gcc -Wl,-rpath,$ORIGIN ...or on hpux: ld +b \$ORIGIN ... or on solaris: ld -R \$ORIGIN ...)By doing this and placing all shared libraries that my executba
I am new to AIX. I am having problems mounting a filesystem after a system reboot. Steps: 1. Create and Map LUN to host2. On the host, to detect/configure the LUN: /usr/sbin/cfgmgr3. Create a filesystem: mkfs -V vxfs /dev/hdisk7574. Create a mountpoint: mkdir -p /mnt/testlun; chmod 777 /mnt/testlun5. Mount the filesystem: mount -V vxfs -o log=INLINE /dev/hdisk757 /mnt/testlun6. Populate the /etc/filesystems: echo '/mnt/testlun:dev = /dev/hdisk757vfs = vxfslog = INLINEmount = automatic <--- Tried using "true"check = false' >> /etc/filesystems7. touch a file 8. ls /mnt/testlun testfile1
This thread is w.r.t to a screnario that I feel can corrupt the /etc/filesystem while importing a VG. Let's assume we created a LV, lv001 with label /test1 and an fs also created with the mount point /test1.If we change the mount point to /test2 the label also changes to /test2.Now I am gonna change only the LV lable to /test3. Here I also consider my understanding that there is LV Label stored in VGDA but not the mount point of the fs. Next we export the respective VG and import it back. And the /etc/filesystems get the mount point of lv001 as /test3 and not /test2 . This fails the mouting of
We make use of AIX 5.3 OS and our application make use of unlink. Peformance is too low. On SuSE-10 we can achive 25000/sec but on AIX5.3 64bit xlC_r 6 version we get66/sec. FileSystem type is JFS2. Pls suggest how it can be improved comparable to SuSE-10. Our application is about to deploy and we find this surprise,pls help.If u need any other info let us know.Test Code is as below,xx(){stTime;for (int j=0; j<10000; j++){fopen();fclose();unlink}endTime;}
Please forgive my ignorance if this is really an obvious question/howto but i'm really stuck and cannot figure this out from all the google searches and IBM tech/book searches I have performed.I am very new to the AIX world as have recently been tasked with managing some new AIX systems that have been purchased by one of our groups.I'm mainly from the HP-UX/Linux world so have a good learning curve infront of me.Effectively what I've managed to successfully configure is a NIMOL server on my kickstart server and after a bit of work, it can handle both 6.1 and 5.3TL7 remote (lanboot) installatio
Our 2 Lpar running with AIX 5.3 TL8 SP3. I noticed that the physical memory utilisation is always been high. Recently I have modified the tunable parameter setting as below. but no luck. Advice me if need furthur tuning require to fix this issue.lru_file_repage = 0maxperm = 90%maxclient = 90%minperm = 3%strict_maxclient = 1 (default)strict_maxperm = 0 (default)Captured from nmon:-----------|------------|-----------|------------ ¦¦ Memory ---------------------------------------------------------------------------------------------------------------------------------¦¦ Physical PageSpace | p
I’ve been testing the EFS feature of AIX 6.1. I’ve built an EFS filesystem, enabled inheritance creates a few files and everything seemed to work fine. I can’t however seem to keep the EFS keystore password and the AIX login password in sync. The passwd command reference in infocenter says that the passwd command will change the EFS keystore password if the old password can open the keystore.Section 2.5.6 of the “AIX V6 Advanced Security Features: Introduction and Configuration” Redbook seem to contradict this stating that the password command only changes the login password and not
I'm looking to locate a list of best practices for DMX3 (EMC Symmetrix) disk layout on AIX 5L. So far, I've located Nigel's website (http://www.ibm.com/developerworks/aix/library/au-analyze_aix/#resources), and the three Redbooks he mentioned (SG24-4810-01, SG24-5511, SG24-6039) In addition, I've also found the DS4800 Redbook (SG246363). Unfortunately, I've found little information specifically referencing "cross-vendor" configurations (i.e. AIX 5L to Symmetrix). I'm hopeful that maybe I have been looking in the wrong locations, and that there is truly a large amount of data for this setup. I'
Recently upgraded AIX level to 5200-10-06 and then the HBA firmware to TS191A5 and SDD driver version to 1.7.2.1 After the upgrade application team came back stating that they are unable to startup the sybase database .when they look in to the sybase filesystem /appl/sybase_source12.5.3 they are able to see only the link files instead of physcial files.Generally AIX TL upgrade will not cause any issues ie like converting physcial files to link files . If any one come across this kind of problem then please share the workaround done to start the sybase .Nandakumar
Folks, I am observing following behaviour of hacmp.IF application stop script returns nonzero return code, then hacmp continue to unmount the filesystem. This behavious is undesirable bcz in case application failed to stop hacmp should abort the process of brining the resource group offline and should not unmount the filesystems. We are using hacmp 5.4.1 with aix 5.3.07. There is only application start and stop scripts and no application monitoring scriptsi can think of commenting of fuser -c -k in hacmp events script, but to me this does not look like a clean solutionany suggesions
I have problems mounting a VFat hd drive. I getVFS: Can't find a valid FAT filesystem on dev hdb# dmesg | grep hdbide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hdaMA, hdbMAhdb: ST34311A, ATA DISK drivehdb: max request size: 128KiBhdb: 8452080 sectors (4327 MB) w/256KiB Cache, CHS=8944/15/63, UDMA(66)hdb: cache flushes not supportedhdb: hdb1VFS: Can't find a valid FAT filesystem on dev hdb.VFS: Can't find a valid FAT filesystem on dev hdb.VFS: Can't find a valid FAT filesystem on dev hdb.and when I try to mount the disk I get :# mount -t vfat /dev/hdb /mnt/wind/mount: wrong fs type, bad option,
In a migration project from HP-UX to AIX. Wondering if there is an easy way to mount an HP filesystem W/O using NFS if they are connected on the SAN? Want to be able to mount read-only on the AIX side for file and project migration in close to real-time environment and not have to deal with LAN latencies - especially since we are looking at 700-800 gig transfers.
Why AIX system backup command is slower than a TSM Selective backup command. On performing a backup of 105GB filesystem from AIX using native backup command it takes around 26 minutes. The backup device used was TS3200 Tape library with Gen4 Drive and cartridges and 4GB fiber card on systems.Another backup executed through tivoli having a single file of 282GB takes only one hour to transmit to Tape library TS3310 having Gen3 cartridges.So why there is so much difference in backup time when performing the backup activity from a native OS command and Tivoli backup command?
I have the following environment setupNo of servers : 2operating system : AIX 5L (each server has 36GB * 3 harddisks)clustering software : HACMP latest versiondatabase : DB2 v8.1.2external storage : fast t700 I want to setup the ACTIVE/ACTIVE STANDBY configuration.can anyone tell me the complete steps od doing this configuration.on server1-----------filesystem exists as /db2serv1 --/home ---on server2---------------filesystem exists as /db2serv2 --/home ---On external storage------------------------i have partitions such as /data1, /data2 & /data3Now can one tell me what is the procedure f
would like to seek your advice. do u have script that monitor your filesystem/disk space utilisation on aix 5.3?would appreciate can share the script (the simple funcitonal script) will do and u automate the checking in cron.Mnay
Hi, I am facing a peculier problem, From /usr filesystem if i ls for .. it returns the below error. It is only happening for non root users. I am able to do ( ls -ld .. ) from other filesystems like /opt /home etc. But can't do only from /usr.Please help ! .. Thanks ..RanjitError Below $ cd /usr$ ls -ld .. ls: 0653-345 ..: Permission denied.Other Helpful Info below$ uname -aAIX ngsvawrk186 3 5 00064ED1D600$ oslevel -r5300-08$ pwd/usr$ cd / $ ls -la total 19392drwxr-xr-x 38 root system 4096 03 Dec 15:36 .drwxr-xr-x 38 root system 4096 03 Dec 15:36 ..$ cd /usr$ ls -ld .drwxrwxrwx 43 root system