This is an old revision of the document!
lsofin the directories where the data is
sudo umount /exports/xraid/*
sudo mount /exports/xraid/?_?where ?_? is l_1, l_2, l_3, r_1, r_2, r_3 as required (left and right referring to disk banks in a chassis). We believe that this will mount the first left device in l_1 and so forth. However you should check this by ensuring that the data you expect to be on the device is in fact there before you try doing anything with it! ABSOLUTELY NO WARRANTY and all that. If you're concerned, then mount them manually in the cluster room, mounting
/dev/sd?1to the exports directory you want it to be, and making sure the left/right set of lights come on when you run the command. I believe devices always come up in the same order within a disk set, but disk sets are not always recognised in the same order (left-right, right-left, alternating) in a chassis.
NOTE At this time, this will make the devices be mounted locally on the cuppa machine attached to the xraid - ie xraid01 is on cuppa01, xraid05 is on cuppa05.
mount /nfs/xraid01/l_1. To make life easier, there are shell scripts to do it in /home/corr/LBA/scripts/ mountxraids.sh and unmountxraids.sh
cssh cuppato get a multi-window command prompt, so the scripts can be run simultaneously on all cuppas.
sudo /etc/initd/nfs-kernel-server restartin order to
umount /exports/xraid01/l_1etc. without getting “device busy” errors. Be a bit careful doing this… try to check that noone is running stuff first. If other people are logged on may get stale file handle problems.