Enter SANman!

Openfiler 2.99 Final-

NFS does NOT work:
Portmap and rpcbind are fighting for control. The portmap service has been replaced by rpcbind in most distros, so I don’t think both should be active. Stopping and disabling the portmap service, then restarting the other NFS-related services seems to fix the problem:

# Confirm that mountd is missing (NFSv3 is broken)
rpcinfo -p | grep mountd

# Stop running NFS-related services
service nfslock stop
service nfs stop
service portmap stop
service rpcbind stop

# Make sure NFS-related services start at boot
chkconfig rpcbind on
chkconfig nfs on
chkconfig nfslock on

# Prevent portmap from starting at boot
chkconfig portmap off

# Restart nfs related services without portmap
service rpcbind start
service nfs start
service nfslock start

# Confirm that mountd is available (NFSv3 is working)
rpcinfo -p | grep mountd

NFSv3 mounts (ESXi 4.1u1) should work now. I may be over simplifying the problem, so proceed with caution.

Backup Jobs:

RSYNC documentation:

rsync -avr –inplace –progress –delete /mnt/vol1/store1/vmstore1 /mnt/spare01/backup01/june12/

rsync -avr –inplace –progress –delete /mnt/vol1/store2/vmstore2 /mnt/spare01/backup01/june12/

rsync -avr –inplace –progress –delete /mnt/vol1/store4/iso1 /mnt/spare01/backup01/june12/

rsync -avr –inplace –progress –delete /mnt/vol1/store5/doogie /mnt/spare01/backup01/june12/

rsync -avr –inplace –progress –delete /mnt/vol1/store3/rsync2 /mnt/spare01/backup01/june12/

# rsync -avr –inplace –progress –delete /mnt/vol1/store5/s /mnt/spare01/backup01/june12/

#

Delete a directory and all of it’s contents:

rm -f -r /mnt/spare01/backup01/june12/*

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: