Mounting drives

From wiki
Jump to: navigation, search

when rebooting head nodes, shelf and storage sometimes are lost

Make sure they are uncommented in the /etc/fstab file.

  1. The three vital LV's .. must be commented out when rebooting. Manual mount sonly.
/dev/INTERNAL/internal  /internal               ext4    defaults        1 1
/dev/SHELF/shelf        /shelf                  xfs     defaults        1 1
/dev/STORAGE/storage  /storage                xfs     defaults  1 1
mount -a
comment out agin. 
vgchange -a y STORAGE
mount /storage

last interesting crash info: grep -iv ': starting\|kernel: .*: Power Button\|watching system buttons\|Stopped Cleaning Up\|Started Crash recovery kernel' \ > /var/log/messages /var/log/syslog /var/log/apcupsd* \ > | grep -iw 'recover[a-z]*\|power[a-z]*\|shut[a-z ]*down\|rsyslogd\|ups' /var/log/messages:Sep 22 03:21:05 marvin rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="3243" x-info=""] rsyslogd was HUPed