Sponsored Content
Full Discussion: Find missing .ibd files
Top Forums Shell Programming and Scripting Find missing .ibd files Post 302966001 by RavinderSingh13 on Saturday 6th of February 2016 03:18:20 AM
Old 02-06-2016
Hello k_manimuthu,

As you have mentioned that only .frm and .ibd files only be present in your directory, then following may help you in same.
Code:
ls -lhtr | awk '{A=$NF;sub(/\..*/,X,A);if($NF ~ /\.frm/ || $0 ~ /\.ibd/){B[A]++}} END{for(i in B){if(B[i]<2){print "ls -ltr " i"*"}}}'  | sh

Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

how to find missing files

Hi on friday one user from peoplesoft lost his file. mean he don't know he saved it or removed it. but, he need the file and it is most valuable. so i searched the file in the server, i got the some with same name on /peoplesoft/..../print directory. is these two are the same one or... (1 Reply)
Discussion started by: honeym210
1 Replies

2. Shell Programming and Scripting

Compare 2 folders to find several missing files among huge amounts of files.

Hi, all: I've got two folders, say, "folder1" and "folder2". Under each, there are thousands of files. It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command. However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies

3. Shell Programming and Scripting

Find missing files from a list

counter=0; while read line; do ] && let counter=counter+1; done < input_file.txt echo $counter The above code is reading a file line by line and checking whether the filenames mentioned in the file exist or not . At present the o/p is value of counter I want to echo out the name of... (5 Replies)
Discussion started by: ultimatix
5 Replies

4. Shell Programming and Scripting

find: missing argument to `-exec' while redirecting using find in perl

Hi Friends, Please help me to sort out this problem, I am running this in centos o/s and whenever I run this script I am getting "find: missing argument to `-exec' " but when I run the same code in the command line I didn't find any problem. I am using perl script to run this ... (2 Replies)
Discussion started by: ramkumarselvam
2 Replies

5. UNIX for Dummies Questions & Answers

find/xargs/*grep: find multi-line empty "try-catch" blocks - eg, missing ; not in a commented block

How can I recursively find all files in a directory and print out the file and first line number of any text blocks that match the below cases? This would seem to involve find, xargs, *grep, regex, etc. In summary, I want to find so-called empty "try-catch blocks" that do not contain code... (0 Replies)
Discussion started by: lifechamp
0 Replies

6. Shell Programming and Scripting

Help need to find out the missing files in the directory

Hi All, Below is my requirement. I want to display the missing files in the directory. Below is my example From SFTP we are copying 10 files every day. if any files missed on that day need to send a notification with missing files Test1.dat 20121107_00_file.csv 20121107_01_file.csv... (8 Replies)
Discussion started by: bbc17484
8 Replies

7. Shell Programming and Scripting

Find the missing sequence

Dear all i am having file with max 24 entries. i want to find which sequence is missing file is like this df00231587.dat df01231587.dat df03231587.dat df05231587.dat . . . df23231587.dat the changing seq is 00-23,so i would like to find out which seq is missing like in above... (13 Replies)
Discussion started by: sagar_1986
13 Replies

8. Shell Programming and Scripting

Compare 2 files and find missing fields awk

Hello experts! I have 2 files. file1 is a list file containing uniquely names. e.g.: name1 number number name2 number number name5 number number name10 number number ... file2 is a data file arbitrary containing the names of file1 in paragraphs separated by "10" e.g. name4 ... (3 Replies)
Discussion started by: phaethon
3 Replies

9. Shell Programming and Scripting

Find list of files missing read & execute permission

Hi, I'm writing a post-upgrade script and I want to find which files don't have read and execute to everyone. I can run a find . ! -perm, but then I have to use a list of the possible permissions (777,775, 755 etc). Is there a more elegant solution? Thanks (2 Replies)
Discussion started by: Catullus
2 Replies

10. Shell Programming and Scripting

How to find list of missing files based on the file format?

Hi All, In the file names we have dates. Based on the file format given by the user, if any file is not existed for a particular date with in a given interval we should consider that file is missing. I have the below files in the directory /bin/daily/voda_files. ... (9 Replies)
Discussion started by: nalu
9 Replies
ibd(7D) 							      Devices								   ibd(7D)

NAME
ibd - Infiniband IPoIB device driver SYNOPSIS
/dev/ibd* DESCRIPTION
The ibd driver implements the IETF IP over Infiniband protocol and provides IPoIB service for all IBA ports present in the system. The ibd driver is a multi-threaded, loadable, clonable, STREAMS hardware driver supporting the connectionless Data Link Provider Interface, dlpi(7P)). The ibd driver provides basic support for the IBA Unreliable Datagram Queue Pair hardware. Functions include QP initialization, frame transmit and receive, multicast and promiscuous mode support, and statistics reporting. Use the cloning, character-special device /dev/ibd to access all ibd devices installed within the system. The ibd driver is dependent on GLD, a loadable kernel module that provides the ibd driver with the DLPI and STREAMS functionality required of a LAN driver. Except as noted in the Application Programming Interface section of this manpage, see gld(7D) for more details on the primitives supported by the driver. The GLD module is located at /kernel/misc/sparcv9/gld on 64 bit systems and at /kernel/misc/gld on 32 bit systems. The ibd driver expects certain configuration of the IBA fabric prior to operation (which also implies the SM must be active and managing the fabric). Specifically, the IBA multicast group representing the IPv4 limited broadcast address 255.255.255.255 (also defined as broad- cast-GID in IETF documents) must be created prior to initializing the device. IBA properties (including mtu, qkey and sl) of this group is used by the driver to create any other IBA multicast group as instructed by higher level (IP) software. The driver probes for the existance of this broadcast-GID during attach(9E). APPLICATION PROGRAMMING INTERFACE (DLPI) The values returned by the driver in the DL_INFO_ACK primitive in response to your DL_INFO_REQ are: o Maximum SDU is the MTU associated with the broadcast-GID group, less the 4 byte IPoIB header. o Minimum SDU is 0. o dlsap address length is 22. o MAC type is DL_IB. o The sap length value is -2, meaning the physical address component is followed immediately by a 2-byte sap component within the DLSAP address. o Broadcast address value is the MAC address consisting of the 4 bytes of QPN 00:FF:FF:FF prepended to the IBA multicast address of the broadcast-GID. Due to the nature of link address definition for IPoIB, the DL_SET_PHYS_ADDR_REQ DLPI primitive is not supported. In the transmit case for streams that have been put in raw mode via the DLIOCRAW ioctl, the DLPI application must prepend the 20 byte IPoIB destination address to the data it wants to transmit over-the-wire. In the receive case, applications receive the IP/ARP datagram along with the IETF defined 4 byte header. WARNING
This section describes warning messages that might be generated by the driver. Please note that while the format of these messages may be modified in future versions, the same general information will be provided. While joining IBA multicast groups corresponding to IP multicast groups as part of multicast promiscuous operations as required by IP mul- ticast routers, or as part of running snoop(1M), it is possible that joins to some multicast groups can fail due to inherent resource con- straints in the IBA components. In such cases, warning message similar to the following appear in the system log, indicating the interface on which the failure occurred: NOTICE: ibd0: Could not get list of IBA multicast groups NOTICE: ibd0: IBA promiscuous mode missed multicast group NOTICE: ibd0: IBA promiscuous mode missed new multicast gid Also, if the IBA SM indicates that multicast trap support is suspended or unavailable, the system log contains a message similar to: NOTICE: ibd0: IBA multicast support degraded due to unavailability of multicast traps And when the SM indicates trap support is restored: NOTICE: ibd0: IBA multicast support restored due to availability of multicast traps Additionally, if the IBA link transitions to an unavailable state (that is, the IBA link state becomes "Down," "Initialize" or "Armed") and then becomes active again, the driver tries to rejoin previously joined groups if required. Failure to rejoin multicast groups will trigger messages like: NOTICE: ibd0: Failure on port up to rejoin multicast gid If the corresponding HCA port is in the unavailable state defined above when initializing an ibd interface using ifconfig(1M), a message is emitted by the driver: NOTICE: ibd0: Port is not active Further, as described above, if the broadcast-GID is not found, or the associated MTU is higher than what the HCA port can support, the following messages are printed to the system log: NOTICE: ibd0: IPoIB broadcast group absent NOTICE: ibd0: IPoIB broadcast group MTU 4096 greater than port's maximum MTU 2048 In all cases of these reported problems when running ifconfig(1M), it should be checked that IBA cabling is intact, an SM is running on the fabric, and the broadcast-GID with appropriate properties has been created in the IBA partition. CONFIGURATION
The IPoIB service comes preconfigured on all HCA ports in the system. To turn the service off, or back on after turning it off, refer to documentation in cfgadm_ib(1M). FILES
/dev/ibd* special character device /kernel/drv/ib.conf configuration file to start IPoIB service /kernel/drv/sparcv9/ibd 64-bit SPARC device driver /kernel/drv/amd64/ibd 64-bit x86 device driver /kernel/drv/ibd 32-bit x86 device driver SEE ALSO
cfgadm(1M), cfgadm_ib(1M), ifconfig(1M), syslogd(1M), gld(7D), ib(7D), kstat(7D), streamio(7I), dlpi(7P), attributes(5), attach(9E) NOTES
IBD is a GLD-based driver and provides the statistics described by gld(7D). Note that valid received packets not accepted by any stream (long) will increase when IBD transmits broadcast IP packets. This happens because the infiniband hardware copies and loops back the trans- mitted broadcast packets to the source. These packets are discarded by GLD and are recorded as 'unknowns'. SunOS 5.11 20 Jul 2007 ibd(7D)
All times are GMT -4. The time now is 07:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy