There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 We are warned that filesystems on the disks to be converted need to be dismounted: The system will need to reboot: Confirm reboot: At this point, add a drive. After the system reboot, go back in to computer management/disk […]
Software RAID on Windows 2003 – Part2
Software RAID on Windows 2003 – Part3
There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 At the Initialize and Convert Disk Wizard dialog, check the disk you want to convert, and click next: Click finish to complete the Initialize and Convert Disk Wizard: There is now one healthy dynamic disk, and one unallocated disk, […]
Software RAID on Windows 2003 – Part4
There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 An error may pop up that says “Logical Disk Manager could not update the boot file for any boot partitions on the target disk. Verify your arcpath listings in file boot.ini or through the bootcfg.exe utility.” Well, we are […]
Software RAID on Windows 2003 – Part5
There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 Select the Disk to remove: Confirm: We now have a healthy Disk 0: Remove the missing drive: All is as it should be:
Open Source Utility to Recover Lost Partitions and Fix Boot Problems
Famiarize yourself with TestDisk. It will run on many platforms, and supports many different kinds of partitions. We were able to compile the source on two different machines (GNU/Linux and Mac OS X Tiger). One problem with compiling on Mac OS X is that the ext2 libraries are not available. This was, of course, not […]
Restoring Individual Files and Directories with Tar
One of our systems has a DLT drive we use for backup. It isn’t in a library, and we just use regular tar to back up our main share. Here are some pointers on restoring from tape with tar. First off, you need to specify the exact path from the perspective of the tar archive. […]
Quick And Dirty Directory Replication Verification
The combination of find and wc is perfect for doing a quick verification of the integrity of the transfer. It doesn’t verify the content of the files; however, it is quick. Run this command in the root of the source and destination directories: find . | wc 9052 9052 256270 The first column of the […]
Rsync Over a Flakey Connection
By default, rsync will start the sync of a particular file over again if the connection is lost. Use the –inplace option if the sync is getting hung up on a large file: rsync -e ‘ssh -p sshport’ -av –inplace /source/ root@example.com:/dest/ Since the problem file is compressed, it does no good to use -avz, […]
Backing Up Windows XP With FreeNAS
We wrote about FreeNAS in this series of articles. A lot has happened with FreeNAS since then. The most important addition is user security for CIFS. We brought up an old PII 333 box to test performance, and it passed with flying colors doing a rather large backup over the network. Here is a screenshot […]
Finding Files Over a Certain Size
Try this: find . -type f -size +90M -exec ls -l -h {} \;
Backoffice 4.5 Patches/Upgrades
We put together a list of files needed to update Backoffice 4.5. This includes NT 4.0, Exchange 5.5, SQL Server 7.0, SMS 2.0, Site Server 3.0, SNA server 4.0, and Proxy Server 2.0. This is what is available from Microsoft as of July 5th, 2001. Get the files while you can. Note that these files […]
Recovery From Msgina.dll Errors With Windows 2000 Service Pack 3
There is a problem with Windows 2000 Service Pack 3 that affects some systems (including ours). Microsoft has documented this problem here. It turns out there is a dependency between two services that start at the same time. If you are unlucky enough to finish one before the other, you can’t log on and see […]
NT 4.0 MCSE Certification will not expire
For those of you out there who have an MCSE in NT 4.0, but haven’t been motivated to upgrade your certification, Microsoft has decided not to expire the certification. Instead, they will offer separate certifications for Win2k and XP. Check it out here.
MySQL installation and initial configuration
Uncompress the source: [src]# tar -xzf mysql-3.23.40.tar.gz Change to mysql source root, and add mysql group and user: [src]# cd my* [mysql-3.23.40]# groupadd mysql [mysql-3.23.40]# useradd -g mysql mysql Run configure, specifying installation directory as /usr/local/mysql: [mysql-3.23.40]# ./configure –prefix=/usr/local/mysql creating cache ./config.cache checking host system type… i586-pc-linux-gnu . . . Remember to check the platform […]
Backing up and restoring MySQL databases
To back up MySQL, log on as the root user and run: mysqldump –opt -u user -p dbname > {path}/backup.sql To restore the database run: mysql -u user -p dbname < {path}/backup.sql
Changing the root password on MySQL
Many distributions of Linux have an option to install MySQL. In this case, or even if you compile MySQL, the default password is blank. MySQL can also run on Windows boxes. When you install MySQL, make sure that you set the root password. You can do this: root@u-1:/home/u-1# mysql -u root mysql Reading table information […]
Using phpMyAdmin to Administer MySQL on Red Hat 8.0
One excellent MySQL administration tool is phpMyAdmin. The installation is straightforward, just extract and follow Documentation.txt. One gotcha is that it requires an Apache server with php support, and MySQL, of course. It is fairly easy to install Apache and MySQL, but getting everything installed in the right order to run a PHP web site […]
Using Perl With MySQL
To communicate with MySQL via Perl, use the DBI and DBD-MySQL modules. With Red Hat 8.0, just install perl-DBD-MySQL-2.1017-3 and perl-DBI-1.30-1 off of the CDs. Why would you want to do such a thing? Well, say you had a tab delimited text file: sam 33 red sarah 32 blue ed 23 black russell 13 yellow […]
Checking the Root Filesystem without Rebooting
I’m not making any guarantees about this or even recommending it, but this is a procedure you can use to fsck a Linux root filesystem in a situation where a reboot is impossible but you suspect filesystem corruption. Example: Remote web server suspected of having filesystem corruption. Can be taken out of service for maintenance […]
Power Management Console
We are creating a lab of 16 servers here at NetAdminTools.com to test various configurations in a simulated enterprise environment. One of the first problems we needed to solve was remote power management. If you are running a data center, you should seriously consider a commercial product like the APC MasterSwitch. We don’t have that […]