03-08-2009
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
My job is to load the data from Oracle table to flat file and from flat file to oracle table using ETL tool Informatica. My flat files are fixed width. In the first phase, it is loading 66351 records into data file through tool. When I checked through wc -l <data filename> it is... (1 Reply)
Discussion started by: srivsn
1 Replies
2. Filesystems, Disks and Memory
Hello everybody,
I am working on ETL side. My job is to load the data from Oracle table to flat file and from flat file to oracle table using ETL tool Informatica. My flat files are fixed width. In the first phase, it is loading 66351 records into data file through tool. When I checked through... (1 Reply)
Discussion started by: srivsn
1 Replies
3. Shell Programming and Scripting
Hi ,
I am trying to execute the following script.
#!/bin/sh
find . -name "common.log.diff"
if ; then
cp common.log common.log.diff
diff common.log common.log.diff > DIFFERENCE.log
cp common.log common.log.diff
grep "ERROR" DIFFERENCE.log
if ; then
echo "1"
else
echo "0"
fi... (5 Replies)
Discussion started by: himvat
5 Replies
4. Solaris
I have a new SAN (Fujitsu Eternus 2000) and am trying to setup a veritas cluster on it, however veritas does not see all of the vluns I have exposed to the box. The OS does see them though. I have seen a lot of post about this, but it seems they are about people having just the opposite problem... (0 Replies)
Discussion started by: timothy.edwards
0 Replies
5. Shell Programming and Scripting
I am running a sql session within a shell script. Later I am performing some validations on the value coming from the sql session.
The problem is that, the value I am getting from sql session have an extra white space at the begining(I am actually, assigning the outcome of the sql session to a... (5 Replies)
Discussion started by: mady135
5 Replies
6. Solaris
Hi,
I have a sun 440, it already has LUN's configured with MPXIO.
I just had more LUNS added, I did devfsadm and cfgadm -al, and they're showing up twice in "Format". :confused:
There are no new fiber cables or HBA's involved, same physical setup, just adding LUNS.
Aren't they... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies
7. Solaris
Hi,
I've noticed that mpathadm states that one of our luns has no active paths:
/dev/rdsk/c6t60000970000298700009533031324333d0s2
Total Path Count: 4
Operational Path Count: 4
/dev/rdsk/c6t60000970000298700009533031333037d0s2
... (3 Replies)
Discussion started by: badoshi
3 Replies
8. Shell Programming and Scripting
Hello
I am working on one script where I am trying to display all the directories which is inside the workspace but somehow it is giving me weird output and this is occurring only with one directory other also having the result.html file inside the directory.
for i in `ls -1 | egrep -iv... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies
9. Shell Programming and Scripting
Hi All
I am trying to perform the below operation -count=`cat abc.txt | wc -l`
echo$count
5
Head=Start"$DATE"00000"$count"File
echo $HEAD
START15020300000 5File
There is a space coming before 5 which is not needed . How to ignore that . (4 Replies)
Discussion started by: honey26
4 Replies
10. Shell Programming and Scripting
Gents,
I did a small scritp called make_file
It read file1.txt file and generate an output as attached.. But the script is showing more extra information not needed.
I have attached the output file as desired.
Could you please help to fix this scrip to get the correct output
Thanks... (4 Replies)
Discussion started by: jiam912
4 Replies
LEARN ABOUT CENTOS
debugreiserfs
DEBUGREISERFS(8) System Manager's Manual DEBUGREISERFS(8)
NAME
debugreiserfs - The debugging tool for the ReiserFS filesystem.
SYNOPSIS
debugreiserfs [ -dDJmoqpuSV ] [ -j device ] [ -B file ] [ -1 N ]
device
DESCRIPTION
debugreiserfs sometimes helps to solve problems with reiserfs filesystems. When run without options it prints the super block of the Reis-
erFS filesystem found on the device.
device is the special file corresponding to the device (e.g /dev/hdXX for an IDE disk partition or /dev/sdXX for a SCSI disk partition).
OPTIONS
-j device
prints the contents of the journal. The option -p allows it to pack the journal with other metadata into the archive.
-J prints the journal header.
-d prints the formatted nodes of the internal tree of the filesystem.
-D prints the formatted nodes of all used blocks of the filesystem.
-m prints the contents of the bitmap (slightly useful).
-o prints the objectid map (slightly useful).
-B file
takes the list of bad blocks stored in the internal ReiserFS tree and translates it into an ascii list written to the specified
file.
-1 blocknumber
prints the specified block of the filesystem.
-p extracts the filesystem's metadata with debugreiserfs -p /dev/xxx | gzip -c > xxx.gz. None of your data are packed unless a filesys-
tem corruption presents when the whole block having this corruption is packed. You send us the output, and we use it to create a
filesystem with the same strucure as yours using debugreiserfs -u. When the data file is not too large, this usually allows us to
quickly reproduce and debug the problem.
-u builds the ReiserFS filesystem image with gunzip -c xxx.gz | debugreiserfs -u /dev/image of the previously packed metadata with
debugreiserfs -p. The result image is not the same as the original filesystem, because mostly only metadata were packed with debu-
greiserfs -p, but the filesystem structure is completely recreated.
-S When -S is not specified -p deals with blocks marked used in the filesystem bitmap only. With this option set debugreiserfs will
work with the entire device.
-q When -p is in use, suppress showing the speed of progress.
AUTHOR
This version of debugreiserfs has been written by Vitaly Fertman <vitaly@namesys.com>.
BUGS
Please report bugs to the ReiserFS developers <reiserfs-dev@namesys.com>, providing as much information as possible--your hardware, kernel,
patches, settings, all printed messages; check the syslog file for any related information.
SEE ALSO
reiserfsck(8), mkreiserfs(8)
Reiserfsprogs 3.6.21 January 2009 DEBUGREISERFS(8)