Copying large number of files between two Unix/Linux/OSX Servers

CLI, Linux, OSX, osx Server, Redhat, rsync, ssh, SuSE, Sysadmin, Tip, Ubuntu, Unix
Here are some quick tip(s) for copying a ton of files between unixy machines really fast. You're probably thinking "why not use rsync?"…..well rsync can be miserably slow if your source or destination cpu is underpowered. You can always do a rsync after these commands to make 100% certain that everything checks out, but try using one of these methods for the initial copy: One way of doing it is tar -c /path/to/dir | ssh user@remote_server 'tar -xpvf - -C /absolute/path/to/remotedir' You'll be prompted for the remote servers password or you can use the private key of the remote server using the -i switch in the ssh command. This has the side benefit of preserving permissions. An alternate version of this command can also be used to locally move folder…
Read More

Suse 10.1 to 10.3 upgrade Episode 3

Linux, Opensource, SuSE
Well in Episode 3 of our saga Many goes bald (again) and (almost) drop kicks the server out the window. After going through the pain of installing 10.1 and updating everything I proceeded to upgrade to OpenSuSE 10.3. The upgrade went okay as far as the boot DVD was concerned (no errors during boot), but the dreaded SCSI errors from Episode 1 came back when I finished the upgrade and rebooted the machine. After about 10 minutes of repeating the F-word to the machine I decided to check on the net again, this time not at google.com, but at their linux centric search page google.com/linux. Well I have to admit, google is really god :-). Someone there had suggested an upgrade to the Adaptec PERC 3Di raid scsi card that…
Read More

Suse 10.1 to 10.3 upgrade Episode 2

Linux, Opensource, SuSE
Okay, don't laugh, but I'm really starting to believe in the "third time is the charm" saying. Episode 2 was going fine until last night when I left work. I had installed 10.1, skipped installing any of the XEN packages, updated 10.1, installed 10.3 and was in the process of letting it run over night (2.6 GB worth of updates.....wasn't gonna hang around waiting for this to finish). Well somebody upstairs (santa, superman, spidy or one of those guys) did not agree and literally 20 minutes before I got into work this morning the power went out to our entire building, leaving my poor -- almost done -- 10.3 install in the middle of nowhere. I rebooted and just about cried my eyes out when GRUB could not find the…
Read More

Suse 10.1 to 10.3 upgrade Episode 1

Linux, Opensource, SuSE
So I've been preparing a test server for the past couple of days, so that I can test the Suse upgrade path from 10.1 to 10.3. I've got a spare Dell 2650 machine with a PERC3/i card and two 37 GB scsi drives in raid-1 configuration.To get the test going I installed SuSE 10.1 from the install DVD and proceeded to choose pretty much all the options for the packages thinking that if the upgrade worked with (almost) all the installable packages selected, then it would almost certainly work on the real server. That was I believe my first mistake, by choosing (almost) all the options, I had also included XEN virtualization. This forces the 10.1 installer to install the XENified version of the linux kernel off the 10.1 DVD.…
Read More

Getting Samba to work properly with SuSE’s Firewall…

bug, Firewall, Linux, Samba, SuSE
Here we are again and I have to sadly say.....yet another OS (which I also love) that does not do what it promises. I know that you can do some major iptables kungfu under linux through command line, but when SuSE/Novell tries to sell you Yast as a graphical admin interface they should atleast check to make sure things are working properly.Samba works under SuSE 10.x, and even with the firewall turned on the machine can act as a member of a Windows domain/workgroup. The problem though, is not with using Samba and having the firewall turned on. The problem is having Samba do more than just act as a member of the domain. We have a SuSE 10.1 machine that is part of our AD domain (spanning 3 subnets)…
Read More