Hardware :: Searching For Clustered File System?

Feb 1, 2011

I'm looking for a way to have two hosts talk to the same volume without the need for backend host communication ie. clustered file systems? Does anyone know of a clustered file system that will allow this? The basic idea I have in my head would be turn off caching and utilize stubs or pointers to let each host know when to reread new data? The hosts will not be writing to the same files or directories at the same time. They will also be targetting certain information in certain locations on the volume.

I'm trying to join two enclaves to pass data without networking. One host will drop a file and write a stub saying the file is there. The second host will then pick up the file analyze it and then drop a report so that the first host can then pick the report up.

View 4 Replies


ADVERTISEMENT

OpenSUSE Install :: Installation Stopped At: System Probing - Searching For System Files

May 18, 2011

I'm new to openSUSE, this is the first time i try to install openSUSE version 11.4. on my IBM Thinkpad T43 (on which SUSE Linux version 8.0 has been running before without problems). I have downloaded the ISO images and successfully burned the ISO images on a blank DVD. Having placed my openSUSE DVD in the drive and rebooted my laptop I can see the boot screen.

I then select installation with arrow up/down and press enter. Choosing language and keyboard layout works fine, as well as accepting the license agreement. However, when it comes to 'System Probing' the installation stops at 'Search for system files'. The cursor shows a little turning disk but the rest of the screen is blocked.

View 3 Replies View Related

General :: Searching Content Of The File Using File Browser Nautilus?

May 27, 2011

I'm using rhel6. Using File Browser Nautilus 2.28.4 I could easily locate any file I'm interested in by it name. I'd like to use this File Browser to locate the file name based on it content e.g. based on some word in the text file. It doesn't work for me that way ... My question: does Nautilus support the search of file based on it content or only based on the name of the file itself?

View 4 Replies View Related

Server :: Creation Of Clustered Storage On CentOS 5.5?

Sep 25, 2010

What I am trying to to is set up a cluster as follows:

- There are four nodes
- Nodes three and four have large amounts of storage that will be used for storing user data.
- Nodes one and two will be running a couple of network services.

I'd like have nodes one and two to have a clustered filesystem just between them to store data for the services run only by them.is it possible to share one filesystem between two nodes and another filesystem between two other nodes? The cluster seems to try to make the storage changes across all nodes. They will not be able to spend the extra money to get the same storage in all four nodes. Here is what I have done. I am using CentOS 5.5. After installing CentOS, I did this:

On all nodes:

Code:

[root@node1 ~]# yum groupinstall "Clustering"
[root@node1 ~]# yum groupinstall "Cluster Storage"
[root@node1 ~]# chkconfig ricci on

[code].....

...which I think makes sense because the cluster was supposed to create the PV and the volume group, but did not. I don't even think it tries. The first time it tries to do anything to another node is when I create a logical volume.

View 1 Replies View Related

OpenSUSE Install :: Hung On Searching Partition In Raid Using System?

Aug 8, 2010

I've been trying on new installation for opensuse 11.3 on Intel P55 raid5 configured system, one non-raid disk for boot device, a raid5 array as data device. However, installation always gets hung on Searching Linux partition step and I was able to see the vgscan process was the last command to run. Is it a known bug? Does anyone have the same issue as mine?

View 5 Replies View Related

CentOS 5 :: LVM2 Clustered Mirror Monitor And Repair?

Apr 8, 2009

I am using LVM2 Clustering to mirror logical volumes between 2 different storage arrays ( iscsi target hosts). Everything is up and running fine, but I would like to be able to monitor the status of the mirror(s), and "re-sync" them if necessary.

I have attempted the locate the information from Google. From what I have read, lvdisplay -v should tell me whether the mirrors are in sync, but it either is not, or I am simply miss reading it. I have come also across information stating lvchange -m [ 0 | # ] should be used to add or remove mirror copies. Is the is correct / only way to "resync" a mirror, in the event that I can determine the mirror is actually out sync?

For those who are familiar with Symantec's VERITAS volume manager, I am looking get the equivalent information related to plexes from vxprint, the equivalent function from /etc/vx/bin/vxreattach -br, and the progress information from vxtask list. I hope the information is currently "search challenged", or I am simply not fully comprehending what I have found.

View 1 Replies View Related

General :: Searching For Number Within A File?

Nov 9, 2010

I'm currently trying to design a small, simple enough shell program for area codes. I have a list of area codes in a database, and I am trying to write a program that will have a user input an area code, and then have the program print out information that immediately follows that area code in my database. I assume I need to use a find or locate command, but I'm not sure if I should be searching for a string or the number itself. The number could possibly occur at some other point in the file, though the way I have the file set up it only occurs once at the newline.

what function I should use and how I should go about it? As is I only have the absolute bare-bones beginning of having an echo for the prompt to input an area-code, and the read once it's input. Without the find I'm not sure how much farther I can get. Also, would it make it easier if I added some character such as a ! to the end of the number at the newline to make it easier to search for? With a macro that would be easy enough to do.

View 1 Replies View Related

Programming :: Searching File In Directories?

Feb 23, 2011

I am trying to search particular directory which has files with extensions like .html,.mp3,.xml etc I have a list of such files

What I am doing in my script is

for file_name in `find /home/ -name index.html -o -name song.mp3 -o -name help.xml`;
do
if [ $file!='' ]
then

[Code].....

View 4 Replies View Related

Software :: Searching Within A File Using Bash?

Jul 22, 2009

i get the desired result with

find . -name "*" | xargs grep -i "*searchPattern*"

---but not with

find . -name "*" | grep -i "*searchPattern*"

why this difference?

View 6 Replies View Related

Slackware :: Searching A Byte Sequence Within A File?

Dec 11, 2010

Code:dd if=/dev/sda bs=1 count=2048 of=johnIs there a linux tool to search for a sequence of bytes within john? E.g., to look for 0x6a84b5fe78 ?

View 6 Replies View Related

CentOS 5 :: CentOS5 With Clustered Lvm2 : Not Booting Anymore (VolGroup00 Not Activated)?

Sep 13, 2010

I "inherited" a cluster of 2 systems with XenCluster, based on CentOS 5.5. About five weeks ago I ran the (long overdue) yum update, which crashed in the middle of updating on both nodes, so I had to reinstall all those packages by hand and had to re-enable their startup. So both systems are already in the not-ideal state.

One system rebooted itself during my absence and now won't boot anymore. It seems to boil down to clustered lvm not being activated in the initrd and therefore no VolGroup00 available, which contains the root. The other volume group has good reasons to be clustered but the root does not need to be. But I can't fix it from a rescue CD, every time the error comes up that the volume group is clustered.The exact error display at boot is at

http://people.cs.uu.nl/koos/screen-20100913140414.png

what do I do to either fix the startup to ignore VolGroup00 being clustered OR change the status of VolGroup00 to non-clustered?I notice the other system has this too so my best guess is that I'll have the same problem in a bigger way when this system reboots too. Hoping for no power failures...Relevant versions of stuff:

centos 5.5
kernel 2.6.18-194.11.1.el5xen
mkinitrd-5.1.19.6-61.el5_5.2
lvm2-2.02.56-8.el5_5.6
lvm2-cluster-2.02.56-7.el5_5.4

(from the still running system)

View 2 Replies View Related

Applications :: File Index And Searching Software With Web Interface?

Jan 29, 2011

I have a set of PDFs I'd like to index and made searchable. Most importantly, I'd like a web interface so I can search and access remotely. This morning I researched into several different options, but all seemed to fail.

Google Desktop Search - No good because web interface is only to the local host
Beagle - No good because it is no longer support and there are executation errors when running in Maverick
Recoll - No web interface
Strigi - No web interface(?)

I recall using one about 2 years ago that was deployed on Apache Tomcat, but I can't remember the name.

View 2 Replies View Related

Programming :: Searching Pattern In Tab Delimited File Using Grep

Mar 4, 2010

Suppose i have a file(1.txt) separated by TAB delimiter in a line

1 B AB 2
2 C AB 2

if I need to search for the records having B?? using grep.If i need to perform multiple search like line having "C and AB" or "B and AB"??

View 5 Replies View Related

Programming :: Shell Script Searching File In A Directory?

Feb 23, 2011

I am trying to search particular directory which has files with extensions like .html,.mp3,.xml etc I have a list of such files What I am doing in my script is

for file_name in `find /home/ -name index.html -o -name song.mp3 -o -name help.xml`;
do
if [ $file!='' ]
then

[code]....

I have around 100+ files name with some particular extension , this code works fine if the directory name does not have any special character in it like " "(white character) .

It is failing to give the output. IF I run the find command on the console the I am getting the correct file name with location

/home/user1/public_html/mediawiki/config/movie.mp3
/home/user1/public_html/mediawiki/movie.mp3
/home/user1/public_html/mediawiki/pop.mp3
/home/user2/public_html/index test/pop.mp3
/home/user2/public_html/index test/web.xml
/home/user2/public_html/song.mp3

If I echo the file name from the script Then output is little missed match when a directory name has special char like " "

/home/user1/public_html/mediawiki/config/movie.mp3
/home/user1/public_html/mediawiki/movie.mp3
/home/user1/public_html/mediawiki/pop.mp3

[code]....

I am not sure what is wrong with script or my code .. Does shell have un-controlled behavior of manipulating the output of any command.

View 14 Replies View Related

Debian Programming :: Searching For A List Of Strings In File With Python

Oct 14, 2013

I'm trying to search for several strings, which I have in a .txt file line by line, on another file.

So the idea is, take input.txt and search for each line in that file in another file, let's call it rules.txt.

So far, I've been able to do this, to search for individual strings:

Code: Select allimport re

shakes = open("output.csv", "r")

for line in shakes:
    if re.match("STRING", line):
        print line,

How can I change this to input the strings to be searched from another file?

So far I haven't been able to.

View 3 Replies View Related

Ubuntu Servers :: Terminal Command - Searching Given SH File For String

Mar 10, 2010

I need a hand with a line of terminal commands. I need to be able to search a given .sh file in a given location for a string, and when found, add a "#" to the start of that string and save the file back to it's original location.

View 1 Replies View Related

General :: Getting Segmention Fault Error While Searching String In Csv File?

Jan 18, 2011

I am using grep command to search in a particular file whose size is 11 GB and i am getting Segmentation fault error as an output. My command and output is as follows:

Code:

[sdpuser@gnnsdp40 test]$ cat new* | grep 8858406465
Segmentation fault

My linux version is as follows:

Code:

[sdpuser@gnnsdp40 test]$ uname -a Linux gnnsdp40 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

how i can parse the complete file for searching string. I have also used split command of linux which splits the file of 11 GB to 11 files of 1 GB each respectively. But still getting the same "Segmentation fault" error while using grep.

View 9 Replies View Related

Programming :: Sed Script - Searching For Text Within File / Replace With Variable

Feb 25, 2011

Code:
#!/bin/bash
VARR=`cat /proc/asound/cards | grep HDMI | cut -c 1-2`
VARX="defaults.ctl.card $VARR"
VARY="defaults.pcm.card $VARR"
FILE1="alsa"
FILE2="alsa.new"
echo $VARX
echo $VARY
sed "s/defaults.ctl.card*/'$VARX'/g" $FILE1 > $FILE2

This is what I have right now. Well, I thought I knew sed, and apparently I don't... I tried writing this for someone else, and this has given me trouble, so since the user pretty much figured it out on his own, here it goes.
Say VARR=1, so VARX and VARY contain the above text, appended by 1.
What I am trying to do is replace the text "defaults.ctl.card 0" by VARX and "defaults.pcm.card 0" by VARY. The contents of FILE1 is the file being used to search for both text fields, and FILE2 is the output file. I tried using single quotes, double quotes, and a mixture of both, and no go whatsoever. So my question... What is the proper way of searching for text within a file and replacing with a variable?

View 5 Replies View Related

General :: Bash Script To Fgrep A Large File With List As Source For Searching?

Jan 17, 2011

I need to fgrep a list of things which are in a file. The file in which I will do the SEACHING is a large text file and I need fgrep to output each item from the list as a file with the item from the list as the file name.

Its kinda like this:

./script list.txt largefile.txt

output would be

jack.txt
screen.txt
blah.txt

View 14 Replies View Related

Ubuntu :: Searching WITHIN Doc - Xls - Ppt Files - Grep Is Unable To Locate Text INSIDE File Types

Sep 1, 2011

I am on Ubuntu 11.04 and using Libre Office 3.3.2 to compose new documents and am saving them using .doc, .ppt and .xls files. (due to having to share them with others who are on Windows systems)

I have a lot of doc files and I need to search for text INSIDE these files. I am perplexed with the fact that no search tool is able to search for text INSIDE these file types. "cat" can display them of course, but grep is not able to locate text INSIDE these file types. I even tried to save a .doc file as an .odt file, but no luck. The Applications>Accessories>Search for Files does not search INSIDE doc, xls or ppt with the option "Contains the text".

View 6 Replies View Related

Ubuntu :: Error Creating File System: Helper Exited With Exit Code 1: Cannot Open /dev/mmcblk0p1: Read-only File System

May 2, 2010

I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.

"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"

Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).

View 9 Replies View Related

Red Hat :: File System Corruption - Super Block Could Not Be Read Or Don't Describe A Clear Ext2 File System

Jul 12, 2010

My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-

[Code]....

The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7

View 2 Replies View Related

General :: Searching And Replacing Strings In File With Strings In Other Files

Jul 29, 2010

I want to search and replace strings in a file with strings in other files/i need to do it with big strings(string1 is big) and i want to use a txt file for this.But this code not working :

View 14 Replies View Related

OpenSUSE Install :: Get A 64 Bit File System To Read 32 Bit File System Drives?

Feb 2, 2010

Have just assembled a new computer and thought I would install the 64 bit version of openSUSE 11.2 in a "Windows free zone". After a hiccup or two I have managed to get a system of sorts running but on trying to copy files from my old computer(via a memory stick) it tells me that Vfat is an unknown file system.On my old computer I am running 32 bit openSUSE 11.2 as a dual boot system with Windows XP and have no problems moving files between the two different file systems.Is it possible to get a 64 bit file system to read 32 bit file system drives and if so how do I do it?

View 7 Replies View Related

Ubuntu :: Convert FAT File System To NTFS File System?

Mar 13, 2010

How to convert FAT file system to NTFS file system via Ubuntu,are there any commands to do this task?

View 2 Replies View Related

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

General :: Generated .exe File From C File - Run .exe File When Linux System Starts Up?

Apr 6, 2010

i have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?

View 3 Replies View Related

Ubuntu :: Incorrect File System Space Reported By System Monitor?

Apr 3, 2011

In System Monitor, on the File Systems tab, the "Total", "Available" and "Used" columns don't seem to add up, and the "Used" percentage doesn't seem correct either.

My config:
/dev/sda1 = 80 GB SSD drive, / partition.
/dev/sdb1 = 50 GB FAT32 partition of an external 500 GB USB hard disk.
/dev/sdb2 = remainder of the 500 GB USB hard disk encrypted using luks.

Screenshot: The /dev/sda1 figures don't really add up well, but they're close at least (how you get "50% Used" from any of those figures I don't know!).

However, for /dev/sdb2, they're miles off:
"Free" = 146.2 GiB
"Total" = 409.7 GiB
"Available" = 125.4 GiB
"Used" = 263.5 GiB

[Code]...

View 4 Replies View Related

General :: Diagnosis An Unstable System / Seeing File System Is Not Clean During Boot?

Feb 22, 2010

So 2 days ago everything was all fine on my machine. Has been for about a month, but all of a sudden as of yesterday I have no sound, I am seeing IRQ interupts on boot, During boot I am seeing file system is not clean, , and swap space is being used for the first time while doing normal task, etc. These are 2 new hard drives in RAID 1 with ReiserFS. I should have used a newer FS but thats a whole other argument.

Anyways here we go.
The system is Debian Lenny amd64
Physical RAM 4GB + 6GB swap
/var/log/messages

Code:
Feb 21 07:35:09 Sarah kernel: imklog 3.18.6, log source = /proc/kmsg started.
Feb 21 07:35:09 Sarah rsyslogd: [origin software="rsyslogd" swVersion="3.18.6" x-pid="3994" x-info="http://www.rsyslog.com"] restart
code....

View 8 Replies View Related

Software :: Reduce Lvm In Size In RHEL5.0 / System Is Not Booting Saying File System Corrupted Error?

May 14, 2009

reducing the size of LVM. I did it by using the commands, lvreduce,fsck,resize2fs.After reducing the lvm size, my system is not booting...it is saying file system corrupted error.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved