CentOS 5 :: Add External HD To Updatedb?
Mar 21, 2009
I have been trying to find a solution for my problem but I can't find it.
Does anyone know how I can add my external HD (USB 400GB) to the "updatedb" so I can find files in my hard drive? code...
View 5 Replies
ADVERTISEMENT
Feb 1, 2010
when I opened /etc/updatedb.conf it says there in the file that one should make ones own updatedb.local. But how, exactly? Presumably I create /etc/updatedb.local but what do I put into that? With all those $-signs I'm pretty much lost. Could anyone post his/her example of a PRUNE_FS statement or point me to some reference where I can read up on this
View 10 Replies
View Related
Jul 10, 2011
I want to use updatedb to index an external hard disk drive. I mount the drive under /media/external and removed '/media' from the PRUNEPATHS in /etc/updatedb.conf file.This works and I can search for files when the drive is not connected using slocate. However it takes sometime to index the drive and I do not want updatedb to run on its own (if it ran while external is disconnected well...) and seeing as the box in question is on 24/7 if it should run by itself it will most certainly ruin the slocate db.I was thinking of plugging the drive in and running updatedb again, once completed will this work
Code:
# slocate '/media/external' > ext_file_list
and then to find a file even when external is disconnected
[code]...
View 3 Replies
View Related
Feb 16, 2010
If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
View 2 Replies
View Related
Aug 26, 2010
kernel 2.6.21.5, GNU (Slackware 12.0).updatedb: Secure Locate 3.1 - Released March 7, 2006.
Cdrecord-ProDVD-Clone 2.01.01a23.Some script in my system runs updatedb (in the background) on a periodic basis. I am wondering what would happen if it runs while I am burning a CD/DVD, a thing I usually do with cdrecord. Cannot this cause a buffer underrun
View 2 Replies
View Related
Jan 21, 2010
I would like an NFS drive to be added to the drives that are updated by updatedb. Here is my update.conf (default values):
Code:
PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf"
PRUNENAMES = ".hg .svn"
PRUNEPATHS = "/afs /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp"
As far as I can see, there is no option explicitly excluding NFS drives. Neither, as far as my perusal of man updateddb.conf is there any way to telling updatedb to include a given path, only exclude one.getting it to include a path on an NFS drive?
View 1 Replies
View Related
May 17, 2010
I have a WebDav (davfs2) mounted in /home/myuser/mydavmountI would like to prevent updatedb from indexing the content of the mounted drive. I tried editing /etc/updatedb.conf and setting the following:
Code:
PRUNEPATHS="/tmp /var/spool /media /home/myuser/mydavmount"
also tried these:
[code]...
View 2 Replies
View Related
May 22, 2010
I used to be able to run locate and updatedb, but after an OpenSUSE update, they no longer work. I've reinstalled findutils and it appears to install correctly, but the commands still don't work.
server:/tmp # rpm -Uvh --force findutils-4.2.28-24.i586.rpm
Preparing... ########################################### [100%]
1:findutils ########################################### [100%]
[code]...
View 3 Replies
View Related
Jul 5, 2010
I recently installed 10.04, in the process of installing MythTV... I'm looking for installed files and find bash no longer finds updatedb or locate commands. I did change /etc/hosts and /etc/hostname to change the name of the box. Could this have hosed those commands? I tried them as root... sudo -i, same result...
View 6 Replies
View Related
May 31, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
bash-3.1$ cat /etc/cron.daily/slocate
#!/bin/sh
[code]...
View 10 Replies
View Related
Apr 16, 2010
I've used updatedb to catalog a remote XP drive as follows:
Code:
sudo mkdir /mnt/xpcdrive
sudo mount //winxp/c$ /mnt/xpcdrive -o username=administrator,password=mypassword
[code]...
View 2 Replies
View Related
Mar 20, 2011
On fedora system I do a updatedb command and thereafter a simple locate to look for files and softwares. But on my ubuntu 10.10 install, when I do a updatedb, I get Quote:nishith@nishith-Aspire-4720:~$ updatedbupdatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'Also locate doesnot do anything, just gives back the shell prompt! what could be the issue here? BTW my install is on a usb 8 gb stick
View 2 Replies
View Related
Jun 26, 2011
I need to read information from SUN hard disks which are about a decade old. My CentOS 5.6 mount command comes from util-linux 2.13-pre7."mount -t ufs -o ufstype=sun /dev/sdb2 /New" reports "mount: unknown filesystem type 'ufs'", though its man page describes such settings.How could I read an external UltraSCSI hard disk (yes: high pitch noise and only 9 GB capacity) on a current CentOS? Is that possible at all?
View 1 Replies
View Related
Mar 8, 2010
I am trying to install the locate and the updatedb command as they were not intially installed during the desktop installation of linux. How do I do this
View 1 Replies
View Related
Feb 1, 2010
Since some days ago, my external usb BenQ DVD R/W become unrecognizable by CentOS. It was recognized before.
During those days, I updated software packages, and later reinstall the whole system. I cannot remember the time point that the problem began to happen. Yestoday, my kernel version was still 2.6.18-164.10.1.el5, when I enter single user mode through Quote:(exit gnome) $ init 1
View 7 Replies
View Related
Oct 28, 2010
I am running Centos 5.5 on a IBM Think Centre. I am using it for File sharing Samba and one moment it would be working find then the external 1TB HDD would lockup and I would have to reformat it in order for it to work. I don't really have and other information but that is basicallly what happen even if i manually go to the Centos server it would not allow and thing to be created.
View 7 Replies
View Related
Sep 8, 2011
I have 10 dell 980s with centos 5.5 final on a closed network (I can't connect them to the internet).The internal speaker works but anything plugged into the front or back jack doesn't work.
View 1 Replies
View Related
Dec 5, 2010
Installed CentOS 5.5 some time ago and I can proudly say I am more than satisfied with it. Managed to install codecs, flash player, media players, chrome and opera browsers and all other things I need. My only problem is that as of about a week ago my external DVD player is not recognized any more by CentOS so I am unable to watch movies. My external DVD player is Magnavox and it works great but CentOS does not recognize it any more. I used to watch movies in CentOS in SMPlayer all the time. What to do to get it back?
View 1 Replies
View Related
Dec 6, 2010
I have a secondary IP (external/Internet, not LAN) for a CentOS box, what do I need to do to make the server bind to that IP as well as it's primary one?
View 2 Replies
View Related
Oct 5, 2009
I recently installed CentOS 5.3 (from DVD media) on a Seagate 320GB external USB drive; this drive is connected to an Intel-based desktop computer (Intel D945GNT motherboard) with two internal SATA drives (both NTFS, as I'm running Windows XP SP3 as my primary OS). The install found the USB drive fine, and I manually configured my partitions; I had the install place the boot loader in the first sector of the boot partition of the external USB drive. I had set my BIOS to boot from the USB drive first; after a reboot, nothing happened...no GRUB menu, nada.
After some research, I had found an article discussing the need to rebuild the initrd for USB drive support. So, I booted the computer from the CentOS DVD, then went into 'linux rescue' mode; once I was at a command prompt, I navigated to the /boot directory and executed the following command:
mkinitrd --with-usb --preload=ehci-hcd --preload=usb-storage --preload=scsi_mod --preload=sd_mod ./usbinitrd-2.6.18-128.el5 2.6.18-128.el5
After the new "usbinitrd" was created, I edited grub.conf to reflect the new image, then attempted the reboot again from the USB drive. Still no GRUB menu.
View 2 Replies
View Related
Jan 20, 2010
i have two centos systems one automounts the external usb hard drive and other doesn't what do you think could be missing in the system that is not automounting the external usb drive.
View 4 Replies
View Related
Jun 7, 2010
I have a CentOS system totally devoted to a 500GB disk. I have an additional disk mounted via an external device that will not execute scripts that are located on that device.
Current hardware configuration:
Quote:
t [root@localhost ~]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 60801 488279610 8e Linux LVM
Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 42261 339457466+ 83 Linux
/dev/sdd2 42261 60801 148925985+ 5 Extended
/dev/sdd5 59372 60801 11486443+ 82 Linux swap / Solaris
/dev/sdd6 42261 58671 131814400 83 Linux
/dev/sdd7 58671 59371 5623808 82 Linux swap / Solaris
Partition table entries are not in disk order
[root@localhost ~]# uname -a
Linux localhost 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]#
View 17 Replies
View Related
Oct 25, 2010
I have an external DVD burner hooked up to an EEE PC 701SD. The disk has worked on a dell desktop computer, and a 701 (the first eee pc which I built the install on) without a problem, however when I boot up the install disk on the 701SD, I get a message telling me it's unable to download the kickstart file. It's being set to cdrom:/ks.cfg, which should work, but it isn't.... This exact same disk just did a full install on the 701 15 minutes before I ran it on this computer.
View 8 Replies
View Related
Jan 14, 2011
In Red hat i used the nail command to send mail using an external smtp server without sendmail or other mail services active. My question is: In Centos 5 nail is not present but is present mailx in version 8.1.1-44.2.2
Is there a way to set mailx to use external smtp server ? because in many forum i get the string mailx -S smtp= etc.etc. but in my case the -S parameter generate mailx: invalid option -- S antoher question is there a an official repository to download rpm nail for centos ?
View 3 Replies
View Related
Sep 30, 2009
I installed the latest download of centos 5 on to a older dell optiplex gx260. install went fine. I then hooked up an external 1tb USB drive, formatted it ext3 from inside the LVM, and mounted it to /usb-mnt. the mount command is in /etc/fstab like normal: /dev/1tb-usb/1tb-usb /usb-mnt ext3 defaults 1 2
all of the steps taken were straight out of the gui now on boot up I get: checking filesystems fsck.ext3" No such file or directory while trying to open /dev/1tb-usb/1tb-usb [FAILED]
*** an error occurred during the file system check
*** Droping you to a shell; the system will reboot
*** when you leave the shell.
give root password for maintenance
(or type control-D to continue):
and yeah all the /dev entries are gone. I have rebooted in linux rescue mode from the install cd, commented out fstab and been able to boot. but that doesn't actually get me to having this disk available. how to I get the system to see the drive again? if I add it back to fstab is just goes into the above. I don't seem to be able to get LVM to see the disk anymore to reformat it, I can't get the system to allow me to access it so I seem stuck.
so how do you get the system to reprobe and add a drive that once existed? uname -a output: Linux guff.domain.edu 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux
View 6 Replies
View Related
Apr 1, 2010
I recently upgraded my MBP motherboard which evidentially has an advanced graphics architecture that employs both the NVIDIA GeForce 9400M integrated and NVIDIA GeForce 9600M GT discrete graphics processors. I had no problems powering my external monitor until the MB upgrade. Now I get an xorg.conf conflict where
[root@cloudstation X11]# lspci
00:00.0 Host bridge: nVidia Corporation MCP79 Host Bridge (rev b1)
00:00.1 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
00:01.3 RAM memory: nVidia Corporation Unknown device 0a8d (rev a1)
[code]....
View 1 Replies
View Related
Sep 22, 2010
I have created a 2nd user account on my system and when that user accesses the external hard drive it's permissions are root.
@one ~]$ ls /media -l
total 13 dr-xr-xr-x 1 root root 8192 Sep 19 11:49 External Drive 1TB
View 4 Replies
View Related
Mar 1, 2011
I have a CentOS 5 Server running for private fun... Just for playing with it and learn a little linux.this server has to Network interface cards. one for connecting from extern and one from connecting from the LAN.when i want to connect from lan (eg via SSH) this allways works!when i want to connect not from LAN this only works sometimes! only if i establish at the same time a connection from LAN it wors mostly.with other devices i have no problem (tested another server with just 1 NIC) and this works too.also the problem is not dyndns because i have the same problem when i try to connect through the direct IP.
View 3 Replies
View Related
May 23, 2011
i have centos 5.5 and qmail installed in it this qmail is used for internal mail , we are not send mail from internal to external ids i.e gmail, yahoo etc, this qmail intalled on 192.x.x.x ip server this ip is not live ip but my problem is that from few days mail are sending from internal to external like indiatimes ,yahoo etc
View 1 Replies
View Related
Oct 22, 2009
I am trying to connect IOSafe Solo external usb drive. The systems sees it then disconnects it.
View 1 Replies
View Related