Re: [CentOS] Directory compare
Walid wrote: 2008/6/23 Spiro Harvey, Knossos Networks Ltd <[EMAIL PROTECTED]>: I have 2 drive sets that are supposed to be identical [I use CentOS 5]: A: 1.6Tb B: 1.49Tb I need to find the differences, any suggestion? diff will do it. diff -q /dir-a/ /dir-b/ the -q will just tell you what files are different, not what's different inside the files. I would like to do the same among two, several boxes, that is take thier dir listing to a certain depth, and compare it for differences as an integrity check that they have the same installation files? cd /path/to/check rsync -essh -avn . host:/path/to/check The -n option says not to actually copy anything, -v says to print the filenames where there are differences. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] recommendations for copying large filesystems
Rainer Duffner wrote: ... Can anybody comment on the feasibility of rsync on 1 million files? I rsync 2.6M files daily. No problem. It takes 15 minutes, if there's only a few changes. For fast transfer of files between two machines I usually use ttcp: From machine: tar cf - .|ttcp -l5120 -t to_machine To machine cd /whatever ttcp -l5120 -r | tar xf - I get ~100Mbytes/sec on a gigabit connection. Note this is unsecure, no way of restarting, etc. Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Directory compare
On Sun, Jun 22, 2008 at 11:47 PM, Spiro Harvey, Knossos Networks Ltd < [EMAIL PROTECTED]> wrote: > I would like to do the same among two, several boxes, that is take thier >> dir >> listing to a certain depth, and compare it for differences as an integrity >> check that they have the same installation files? >> > > then, maybe run a find to extract all filenames, then feed each one into > sha1sum or md5sum to get a list of checksums. rinse and repeat on other > server, then compare the two resulting sets of data. > > I can't think of a single tool to do this all rolled into one. > > > -- > Spiro Harvey Knossos Networks Ltd > 021-295-1923www.knossos.net.nz > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > it may be much faster to use du or df from / to narrow down where the culprits are. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Les Mikesell wrote: Rudi Ahlers wrote: I have a problem switch in our data centre, which is connected to a linux server via a serial cable. I know I can / could access the switch from my Windows PC back at the office, using hyperterm, but trying to access it using minicom just doesn't seem to work. I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? dissertation on kermit deleted his problem is that he used /dev/tty0 and not the serial port /dev/ttyS0note the big S. very important./dev/tty0 is some kinda pseudothing./dev/ttyS0 is the serial port known as COM1: in PC terms. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Could not start X window
hce wrote: Hi, I've just installed CentOS version 5 on a laptop Acer ASPIRE 5920. But could not start X window. It got following error message: Using confi file" "/etc/X11/xorg.conf" (EE) VESA(0): No valid modes (EE) Screens(s) found, but none have a usable configuration. Fetal server error: no screens found XIO: fetal IO error 104 (Connection reset by peer) on X server ":0.0" Please also find attached xorg.conf. Thank you. Kind Regards, Jim fe·tal /?fitl/ Pronunciation Key - Show Spelled Pronunciation[*feet*-l] Pronunciation Key - Show IPA Pronunciation adjective Embryology. of, pertaining to, or having the character of a fetus. Also, foetal. I couldn't resist... never seen that type of error before ;-) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Could not start X window
On Mon, 23 Jun 2008 14:56:40 +1000 hce <[EMAIL PROTECTED]> wrote: > I've just installed CentOS version 5 on a laptop Acer ASPIRE 5920. I suspect that laptop has one of the "really new" Intel graphic chipsets. This isn't a bad thing, but the path of least resistance would be to install Fedora 8 or 9 on it instead of Centos for the time being, as Fedora will have the newer Intel video drivers that should support your chipset. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Could not start X window
Hi, I've just installed CentOS version 5 on a laptop Acer ASPIRE 5920. But could not start X window. It got following error message: Using confi file" "/etc/X11/xorg.conf" (EE) VESA(0): No valid modes (EE) Screens(s) found, but none have a usable configuration. Fetal server error: no screens found XIO: fetal IO error 104 (Connection reset by peer) on X server ":0.0" Please also find attached xorg.conf. Thank you. Kind Regards, Jim xorg.conf Description: Binary data ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Directory compare
I would like to do the same among two, several boxes, that is take thier dir listing to a certain depth, and compare it for differences as an integrity check that they have the same installation files? then, maybe run a find to extract all filenames, then feed each one into sha1sum or md5sum to get a list of checksums. rinse and repeat on other server, then compare the two resulting sets of data. I can't think of a single tool to do this all rolled into one. -- Spiro Harvey Knossos Networks Ltd 021-295-1923www.knossos.net.nz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Rudi Ahlers wrote: I have a problem switch in our data centre, which is connected to a linux server via a serial cable. I know I can / could access the switch from my Windows PC back at the office, using hyperterm, but trying to access it using minicom just doesn't seem to work. I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? That should work, but I usually use kermit which has a lot more options and is scriptable. With kermit, try: set line /dev/ttyS0 set carrier off (just in case the device doesn't raise CD) connect then it is control-] followed by 'c' to get back to kermit. where do I get kermit? yum install kermit returned no results The machine where I use it is still running Centos 4.x - and it looks like it has been dropped from 5.x. If rpmfind doesn't locate a copy, the home for the kermit project is http://www.columbia.edu/kermit/ and C-kermit would be the version for Linux. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Directory compare
2008/6/23 Spiro Harvey, Knossos Networks Ltd <[EMAIL PROTECTED]>: > I have 2 drive sets that are supposed to be identical [I use CentOS 5]: >> A: 1.6Tb >> B: 1.49Tb >> I need to find the differences, any suggestion? >> > > diff will do it. > > diff -q /dir-a/ /dir-b/ > > the -q will just tell you what files are different, not what's different > inside the files. > I would like to do the same among two, several boxes, that is take thier dir listing to a certain depth, and compare it for differences as an integrity check that they have the same installation files? W. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] recommendations for copying large filesystems
> If you do end up using rsync for something like this via ssh, you > might want to look at some of the Pittsburgh Supercomputing Center's > patches. The high-performance patches can allow you to see dramatic > increases in throughput. Or, if it's over a secure network, drop ssh entirely and use the rsync protocol. --Erek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] recommendations for copying large filesystems
On Sun, Jun 22, 2008 at 4:32 PM, Dag Wieers <[EMAIL PROTECTED]> wrote: > I have done 700k and 800k files transfers (including hardlinks), but indeed > it could take a while to compute the transferlist. Newer rsync versions > bring down the amount of memory needed drastically. That is one of the > reasons I offer a recent rsync in RPMforge. There is almost never a good > reason to use a dated rsync. > I just thought I'd de-lurk and chime in that there are some patches for ssh to allow better performance: http://www.psc.edu/networking/projects/hpn-ssh/ If you do end up using rsync for something like this via ssh, you might want to look at some of the Pittsburgh Supercomputing Center's patches. The high-performance patches can allow you to see dramatic increases in throughput. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Directory compare
I have 2 drive sets that are supposed to be identical [I use CentOS 5]: A: 1.6Tb B: 1.49Tb I need to find the differences, any suggestion? diff will do it. diff -q /dir-a/ /dir-b/ the -q will just tell you what files are different, not what's different inside the files. -- Spiro Harvey Knossos Networks Ltd 021-295-1923www.knossos.net.nz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Directory compare
Hi, I have 2 drive sets that are supposed to be identical [I use CentOS 5]: A: 1.6Tb B: 1.49Tb I need to find the differences, any suggestion? -- Thanks http://www.911networks.com When the network has to work ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] cannot unmount volume "xxx"
2008/6/21 李晖 <[EMAIL PROTECTED]>: > Hi all: > I am using Centos 5.1. But now I have a problem when unmount a > removable usb hard disk with right click and choose unmount volume command. > When I did that, system reminds me with a message like this:Cannot unmount > volume "xxx", Detail: Cannot remove directory, "xxx" represents a temporary > directory made when the system auto mount the disk in /media, and "xxx" is > simple-chinese. But in fact, the volume has been removed because there're no > files or folder in xxx. > Because the file system type of the hard disk is NTFS, I install > ntfs-3g and add a script named "mount.ntfs" in /sbin, the content of the > script is > #!/bin/sh > export LANG=zh_CN.UTF-8 > exec /sbin/mount.ntfs-3g "$@" > I googled this problem for many days and didn't find any way to solve > this problem. Maybe it is a bug. I hope someone can help me. Thank you. > -- > Sunny Lee > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > You may want to double check that all of your CTRL-ALT+Fx virtual consoles, screen sessions, and Konqueror windows do not have a folder open on the external usb drive. For instance, could you have forgotten that in the CTRL-ALT+F1 console, you cd'd into /media/sda1/ ??? i also second the lsof -a command. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] random file
On Sun, 2008-06-22 at 14:14 -0400, Mag Gam wrote: > even seeking thru it requires a sequential scan, right? If Linux FS systems work like real *IX, it depends. The underlying C/system calls should be smart enough to calculate an offset that traverses inode information to cause a direct access seek of the read write head. If you use a utility, it depends on if the utility is smart enough to use the correct system calls or just does a sequential read until the proper location is achieved. I *suspect* that most utilities are smart enough to work the "fast" way. You can test this for various utilities or applications. For instance dd if= skip= of=/dev/null count=1 should return *very* quickly. If not, that means it is stupid. For output, the same. Just replace skip with seek. Think of large database handlers. If they had to process sequentially, there would be no fast ones unless the whole DB was cached. > > On Sun, Jun 22, 2008 at 1:57 PM, Frank Cox <[EMAIL PROTECTED]> > wrote: > On Sun, 22 Jun 2008 11:20:22 -0400 > Mag Gam <[EMAIL PROTECTED]> wrote: > > > Is it possible to create a file on a random inode on a file > system? > > > Wouldn't it be easier (and safer) to create a large file, then > seek within it? > HTH -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
I have a problem switch in our data centre, which is connected to a linux server via a serial cable. I know I can / could access the switch from my Windows PC back at the office, using hyperterm, but trying to access it using minicom just doesn't seem to work. I have not been following this thread, but has minicom been suggested? Barry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Karanbir Singh wrote: Rudi Ahlers wrote: Hi all I have a problem switch in our data centre, which is connected to a linux server via a serial cable. I know I can / could access the switch from my Windows PC back at the office, using hyperterm, but trying to access it using minicom just doesn't seem to work. issues like this which are not related to CentOS should be marked with an [OT] tag in the subject line as a start I'm sorry, but I don't see the relevance. The switch is connected via serial cable to a CentOS 5.1 x64 server, and I need to connect to it from CentOS, but can't. Please explain to me how it's not related to CentOS? The fact that I mentioned Windows, is purely to indicate that the serial port works, and it can be connected to via serial cable. -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Bent Terp wrote: I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? This works for me with our Cisco console cables: sudo yum install picocom sudo picocom /dev/ttyS0 BR Bent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I have just noticed that there's no serial device loaded, yet I know it's enabled in the BIOS. The only reference I could find in dmesg for serial ports is this: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded GSI 20 sharing vector 0xC0 and IRQ 20 ACPI: PCI Interrupt :01:00.0[A] -> GSI 20 (level, low) -> IRQ 20 eth0: Identified chip type is 'RTL8169s/8110s'. [EMAIL PROTECTED] ~]# more /var/log/dmesg | grep ser Memory: 433664k/532480k available (2358k kernel code, 89936k reserved, 1325k data, 172k init) PCI: BIOS Bug: MCFG area at d000 is not E820-reserved pnp: 00:08: ioport range 0x400-0x4bf could not be reserved - User ID: CentOS (Kernel Module GPG key) serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 8250_pnp: Unknown symbol serial8250_unregister_port 8250_pnp: Unknown symbol serial8250_register_port So, it seems like there's no serial port in the Xen kernel, or am I missing something? How do I get the serial port to work in CentOS 5.1 + Xen? -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Rudi Ahlers wrote: > Hi all > > I have a problem switch in our data centre, which is connected to a > linux server via a serial cable. I know I can / could access the switch > from my Windows PC back at the office, using hyperterm, but trying to > access it using minicom just doesn't seem to work. issues like this which are not related to CentOS should be marked with an [OT] tag in the subject line as a start -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
On Sun, Jun 22, 2008 at 09:57:08PM +0200, Rudi Ahlers wrote: > Les Mikesell wrote: > >Rudi Ahlers wrote: > >>Hi all > >> > >>I have a problem switch in our data centre, which is connected to a > >>linux server via a serial cable. I know I can / could access the > >>switch from my Windows PC back at the office, using hyperterm, but > >>trying to access it using minicom just doesn't seem to work. > >> > >>I have changed the comms in minincom to use /dev/tty0 & the baud rate > >>to 9600, yet I can't seem to connect with minicom. Does anyone know > >>how to connect to a serial device from the console? > > > >That should work, but I usually use kermit which has a lot more > >options and is scriptable. > > > >With kermit, try: > > > >set line /dev/ttyS0 > >set carrier off (just in case the device doesn't raise CD) > >connect > > > >then it is control-] followed by 'c' to get back to kermit. > > > > > where do I get kermit? yum install kermit returned no results I don't know, just offhand, where you can get a binary ready to install on Centos or RH. But if you're not afraid to compile it yourself you can find it here: http://www.columbia.edu/kermit/ck80.html Shouldn't be anything harder than unpacking the archive and typing "make linux". -- Fred Smith -- [EMAIL PROTECTED] - But God demonstrates his own love for us in this: While we were still sinners, Christ died for us. --- Romans 5:8 (niv) -- pgprYnUemcZOq.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] recommendations for copying large filesystems
On Sun, 22 Jun 2008, Raja Subramanian wrote: On Sun, Jun 22, 2008 at 3:36 AM, Rainer Duffner <[EMAIL PROTECTED]> wrote: Now that I know the details - I don' think this is going to work. Not with 100 TB of data. It kind-of-works with 1 TB. Can anybody comment on the feasibility of rsync on 1 million files? rsync always broke on my filesystems with 200-300k files due to out of memory errors (my box had 2GB RAM). I have done 700k and 800k files transfers (including hardlinks), but indeed it could take a while to compute the transferlist. Newer rsync versions bring down the amount of memory needed drastically. That is one of the reasons I offer a recent rsync in RPMforge. There is almost never a good reason to use a dated rsync. -- -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Making BT/Yahoo account accessible to plain router
Anne Wilson wrote: My daughter has a BT account, with a BT supplied single-port router. I'd like to replace it with a standard router, but the settings appear to be totally hidden. If anyone reading uses BT, could you please tell me where to find the info? Maybe off-list, to save bandwidth for others/ Thanks Anne this might help. http://corz.org/comms/hardware/router/other.bt.voyager.routers.php -- Mark Ignorance, like Reality, is a matter of perspective. - If more people used Linux, Gas would be cheaper! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Les Mikesell wrote: Rudi Ahlers wrote: Hi all I have a problem switch in our data centre, which is connected to a linux server via a serial cable. I know I can / could access the switch from my Windows PC back at the office, using hyperterm, but trying to access it using minicom just doesn't seem to work. I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? That should work, but I usually use kermit which has a lot more options and is scriptable. With kermit, try: set line /dev/ttyS0 set carrier off (just in case the device doesn't raise CD) connect then it is control-] followed by 'c' to get back to kermit. where do I get kermit? yum install kermit returned no results -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] recommendations for copying large filesystems
stops sync? 2008/6/22 Raja Subramanian <[EMAIL PROTECTED]>: > On Sun, Jun 22, 2008 at 3:36 AM, Rainer Duffner <[EMAIL PROTECTED]> wrote: >> Now that I know the details - I don' think this is going to work. Not with >> 100 TB of data. It kind-of-works with 1 TB. >> Can anybody comment on the feasibility of rsync on 1 million files? > > rsync always broke on my filesystems with 200-300k files > due to out of memory errors (my box had 2GB RAM). > > - Raja > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] random file
even seeking thru it requires a sequential scan, right? On Sun, Jun 22, 2008 at 1:57 PM, Frank Cox <[EMAIL PROTECTED]> wrote: > On Sun, 22 Jun 2008 11:20:22 -0400 > Mag Gam <[EMAIL PROTECTED]> wrote: > > > Is it possible to create a file on a random inode on a file system? > > Wouldn't it be easier (and safer) to create a large file, then seek within > it? > > -- > MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] random file
On Sun, 22 Jun 2008 11:20:22 -0400 Mag Gam <[EMAIL PROTECTED]> wrote: > Is it possible to create a file on a random inode on a file system? Wouldn't it be easier (and safer) to create a large file, then seek within it? -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 3ware 9650 issues
On Sunday 22 June 2008 12:04:47 am Joshua Baker-LePain wrote: > I've been having no end of issues with a 3ware 9650SE-24M8 in a server > that's coming on a year old. I've got 24 WDC WD5001ABYS drives (500GB) > hooked to it, running as a single RAID6 w/ a hot spare. What size power supply do you have in your server? Peter. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] recommendations for copying large filesystems
On Sun, Jun 22, 2008 at 3:36 AM, Rainer Duffner <[EMAIL PROTECTED]> wrote: > Now that I know the details - I don' think this is going to work. Not with > 100 TB of data. It kind-of-works with 1 TB. > Can anybody comment on the feasibility of rsync on 1 million files? rsync always broke on my filesystems with 200-300k files due to out of memory errors (my box had 2GB RAM). - Raja ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: 3ware 9650 issues
on 6-21-2008 9:04 PM Joshua Baker-LePain spake the following: I've been having no end of issues with a 3ware 9650SE-24M8 in a server that's coming on a year old. I've got 24 WDC WD5001ABYS drives (500GB) hooked to it, running as a single RAID6 w/ a hot spare. These issues boil down to the card periodically throwing errors like the following: sd 1:0:0:0: WARNING: (0x06:0x002C): Command (0x8a) timed out, resetting card. Usually when this happens, it's followed by: 3w-9xxx: scsi1: AEN: INFO (0x04:0x005E): Cache synchronization completed:unit=0. On the less pleasant occasions, it's followed by: scsi1: ERROR: (0x06:0x0036): Response queue (large) empty failed during reset sequence. 3w-9xxx: scsi1: ERROR: (0x06:0x002B): Controller reset failed during scsi host reset. sd 1:0:0:0: scsi: Device offlined - not ready after error recovery This of course leads to a several hour downtime as the system has to be powered down (not just rebooted) and then the volume needs to be fscked. I've been back and forth with both the vendor and (via the vendor) 3ware with this. The card has been replaced, as well as the whole system. I'm running the latest firmware and drivers from 3ware. Have other folks had good luck with this card? What sorts of configs are you running? I'm in the position of needing more storage, and I'm a bit gun shy on 3ware at the moment... That looks like either drive, cabling, or power problems. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] backup question
On Sunday 22 June 2008 15:27:34 Les Mikesell wrote: > Anne Wilson wrote: > >> I've had good results using Clonezilla for complete backup of OS+data. > > > > Is there any compression? Does it span multiple CDs if necessary? > > It does an image copy and knows enough about most filesystems to only > copy the used portions of the disk. Yes it compresses, no it doesn't > split - or write CD's directly. It lets you store the image in a > variety of places (network mount via samba, NFS, or ssh), local disks > which could be USB external, etc.). After the image is stored, you can > use a command line to convert the image to a bootable DVD image > containing clonezilla and the image. But it doesn't split and you have > to use some other utility to burn the DVD. It would probably work > pretty well to install clonezilla to boot from a large USB disk where > you could store images directly and restore from them. With usb sticks becoming so cheap that's a viable option, then. Thanks Anne ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] random file
Is it possible to create a file on a random inode on a file system? I am trying to simulate a random read and write for testing purposes. TIA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Rudi Ahlers wrote: Hi all I have a problem switch in our data centre, which is connected to a linux server via a serial cable. I know I can / could access the switch from my Windows PC back at the office, using hyperterm, but trying to access it using minicom just doesn't seem to work. I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? That should work, but I usually use kermit which has a lot more options and is scriptable. With kermit, try: set line /dev/ttyS0 set carrier off (just in case the device doesn't raise CD) connect then it is control-] followed by 'c' to get back to kermit. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] backup question
Anne Wilson wrote: I've had good results using Clonezilla for complete backup of OS+data. Is there any compression? Does it span multiple CDs if necessary? It does an image copy and knows enough about most filesystems to only copy the used portions of the disk. Yes it compresses, no it doesn't split - or write CD's directly. It lets you store the image in a variety of places (network mount via samba, NFS, or ssh), local disks which could be USB external, etc.). After the image is stored, you can use a command line to convert the image to a bootable DVD image containing clonezilla and the image. But it doesn't split and you have to use some other utility to burn the DVD. It would probably work pretty well to install clonezilla to boot from a large USB disk where you could store images directly and restore from them. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] backup question
http://www.rsnapshot.org/ 2008/6/22 Anne Wilson <[EMAIL PROTECTED]>: > On Sunday 22 June 2008 09:37:38 admin wrote: >> I've had good results using Clonezilla for complete backup of OS+data. > > Is there any compression? Does it span multiple CDs if necessary? > > Anne > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] problems installing samba
On 6/22/08, Rajeev R. Veedu <[EMAIL PROTECTED]> wrote: > I am trying to install Samba 3.0.30 on a new Centos 5 machine and I am > getting following error. Samba has been downloaded form setnet. Could some > please let me know how to fix this? > rpmdb: Program version 4.3 doesn't match environment version > > error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database > environment version mismatch > > warning: cannot open Solve database in > /usr/lib/rpmdb/x86_64-redhat-linux/CentO > > rpmdb: Program version 4.3 doesn't match environment version > yum install samba ? Maybe there are issues with the Samba version you got from setnet ? Generally, with an RPM based distribution like CentOS, it is better to stay with packages that work with the OS, as it comes from Upstream, and that are known to work and are supported by the developers. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Rsync + crontab centos5.1
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Frank Murphy > Sent: Sunday, 22 June 2008 9:38 PM > To: CentOS User-List > Subject: [CentOS] Rsync + crontab centos5.1 > > Just looking at the "man rsync". > > Might as well be duagnosing a plattypus. > > I have made a dir on my Cent samba shares to setup a local fedora.repo > > (1) How do I get it to run weekly at a certain time. is this correct? > > crontab -e 22 7 0 0 /usr/bin/rsync -va This is what I added to the top of my /etc/crontab file to remind me what goes where: SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/root/bin MAILTO=root HOME=/ # * * * * * 'command to be executed - preceed with a usersname (such as root) # | | | | | to run command as that user' # | | | | | # | | | | +- day of week (0 - 6) (0 = Sunday) # | | | +--- month (1 - 12) # | | +- day of month (1 - 31) # | +--- hour (0 - 23) # +- min (0 - 59) # an asterix (*) in any field matches all values. # To create a periodic event, use */n where n is the required period. # For instance, to run a command every 5 minutes, do the following # */5 * * * * 'command to be executed' Hope it helps clean the issue of setting up a cron job. As for rsync, maybe I'll know better when I'm done setting up a cluster system which I'm in the middle of. Cheers, AK. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Rsync + crontab centos5.1
Just looking at the "man rsync". Might as well be duagnosing a plattypus. I have made a dir on my Cent samba shares to setup a local fedora.repo (1) How do I get it to run weekly at a certain time. is this correct? crontab -e 22 7 0 0 /usr/bin/rsync -va /Fedora-Mirror /local samba share. (2) Trying to get cron it run 10pm every saturday night. Log whats happening. update packages, include new packages. Exlude extra languages from things like openoffice\xorg etc.. that the family don't need. (family lan) (3) Would one normally download the mirrors "repodata", or run create createrepo oneself? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] backup question
On Sunday 22 June 2008 09:37:38 admin wrote: > I've had good results using Clonezilla for complete backup of OS+data. Is there any compression? Does it span multiple CDs if necessary? Anne ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: Making BT/Yahoo account accessible to plain router
My daughter has a BT account, with a BT supplied single-port router. I'd like to replace it with a standard router, but the settings appear to be totally hidden. If anyone reading uses BT, could you please tell me where to find the info? Maybe off-list, to save bandwidth for others/ Thanks Anne ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] backup question
I've had good results using Clonezilla for complete backup of OS+data. It backs up entire disks/partitions, so includes everything including configuration files, tweaks etc. It is fast compared to something like Ghost, and can backup to devices (USB stick or external HDD) or a network location. Restores are also fast and have been flawless to date (restoring to identical hardware). If you want to restore an entire system in all its detail in one quick operation, something like Clonezilla is worth investigating. http://www.clonezilla.org/ or Google "Gparted-clonezilla" as many versions of Clonezilla are packaged on a Live CD with Gparted. Gergely Buday wrote: Dear CentOs users, I have a centos server with nothing important at the moment, but I would like to install some web-based project management tool (trac for the curious) that would contain important data. And, as my network is growing the configuration of the server is becoming complex. I would like to have a proper backup so that I can restore the whole system easily, should any problem occur. What do you recommend? I'm not an expert on this, so my first idea is that I could do a per application backup and create a tar file of the /etc. The latter especially could be too naive. And, a push-the-button method that handles all in once, not depending on the app number would be much better. Another thing: how I could do this to be safe across a centos upgrade? - Gergely ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] lvm with iscsi devices on boot
On Fri, Jun 20, 2008 at 1:04 AM, Ross S. W. Walker <[EMAIL PROTECTED]> wrote: > I think the key here is to add the _netdev option in fstab for > those filesystems over iSCSI, even using LVM. I got a chance to reboot the server this weekend and happy to report that my iscsi/multipath/lvm volumes are discovered and automatically mounting on boot. It worked! Thanks :-) - Raja ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] backup question
Dear CentOs users, I have a centos server with nothing important at the moment, but I would like to install some web-based project management tool (trac for the curious) that would contain important data. And, as my network is growing the configuration of the server is becoming complex. I would like to have a proper backup so that I can restore the whole system easily, should any problem occur. What do you recommend? I'm not an expert on this, so my first idea is that I could do a per application backup and create a tar file of the /etc. The latter especially could be too naive. And, a push-the-button method that handles all in once, not depending on the app number would be much better. Another thing: how I could do this to be safe across a centos upgrade? - Gergely ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Bent Terp wrote: I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? This works for me with our Cisco console cables: sudo yum install picocom sudo picocom /dev/ttyS0 BR Bent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos On which OS did you install this? On CentOS? If so, which repository did you have to add, cause I see the ones I have enabled doesn't have it? [EMAIL PROTECTED] ~]# yum install picocom Loading "installonlyn" plugin Setting up Install Process Setting up repositories rpmforge 100% |=| 1.1 kB00:00 base 100% |=| 1.1 kB00:00 updates 100% |=| 951 B00:00 addons100% |=| 951 B00:00 extras100% |=| 1.1 kB00:00 Reading repository metadata in from local files Parsing package install arguments Nothing to do -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
John R Pierce wrote: Rudi Ahlers wrote: Hi all I have a problem switch in our data centre, which is connected to a linux server via a serial cable. I know I can / could access the switch from my Windows PC back at the office, using hyperterm, but trying to access it using minicom just doesn't seem to work. I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? try /dev/ttyS0 or /dev/ttyS1 for the serial ports. ___ Sorry, I am using ttyS0 no tty0 - using ttyS1 doesn't help either. Am I doing this right? I press CTRL + A + M to Initialize Modem, or should I be issuing a different command to connect? -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Bent Terp wrote: I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? This works for me with our Cisco console cables: sudo yum install picocom sudo picocom /dev/ttyS0 BR Bent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos but will that program work for other devices as well? this is a cheap D-Link layer2 managed switch. -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
> I have changed the comms in minincom to use /dev/tty0 & the baud rate to > 9600, yet I can't seem to connect with minicom. Does anyone know how to > connect to a serial device from the console? This works for me with our Cisco console cables: sudo yum install picocom sudo picocom /dev/ttyS0 BR Bent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Rudi Ahlers wrote: Hi all I have a problem switch in our data centre, which is connected to a linux server via a serial cable. I know I can / could access the switch from my Windows PC back at the office, using hyperterm, but trying to access it using minicom just doesn't seem to work. I have changed the comms in minincom to use /dev/tty0 & the baud rate to 9600, yet I can't seem to connect with minicom. Does anyone know how to connect to a serial device from the console? try /dev/ttyS0 or /dev/ttyS1 for the serial ports. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos