OUT OF DATE as of 2008-11-01.
We decided to convert the Raid1 array to LVM instead of a monolithic partition. This will make life easier.
Commands:
- pvcreate /dev/md0
makes a physical volume out of the RAID array device - vgcreate VolGroup01 /dev/md0
creates a new volume group to which we can add logical volumes - Use Redhat Logical Volume Management tool to create partitions on the new device
- /docs (5 gigs)
- /home (50 gigs)
- /etc/secret (10 gigs)
- /data (399 gigs)
- Modified /etc/exports on Algol to export the new partitions
- Modified /etc/fstab on the client computers to use the new partitions
- mkdir /docs
- mkdir /data
- added lines to /etc/fstab:
algol:/data /data nfs defaults 1 1
algol:/docs /docs nfs defaults 1 1
- Un-tarred the backups from /bkup, which I created with the command:
cd /bkup & tar -czvpf home.tgz /home - Untar by going to desired directory and running:
tar -xzvpf /bkup/secret.tgz
Both of these commands put the directory INTO the desired directory. Once unpacked, it’s necessary to move the contents to the proper location. - Modified /etc/cron.weekly/quotacheck.cron to be:
#!/bin/bash
# Update the database that keeps track of quotas
# Created by Mark Knight (4.13.06)
# Modified by Mark Knight (5.06.06)
quotaoff -a
quotacheck -agum
quotaon -aexit 0
- Also, had to modify /etc/fstab to add quotas back on to the new mount line for /home
All in all, not that hard. The permissions are all correct, so hopefully this was just as easy & painless as I think it was.
Be First to Comment