Stormbackup

From Cheatsheet
Revision as of 23:52, 26 March 2012 by Admin (talk | contribs)
Jump to navigation Jump to search

This is a list of storm errors and potential fixes for them.

Tune2fs error

Alright first off if you run into this error:

2012-03-26 00:27:39 	Yes 	10.30.114.32 	0.0000 	Error running '/sbin/tune2fs': Command exit code [1] [/sbin/tune2fs -l /dev/mapper/1EHYR2-BACKUP-20120326T042354p2 >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out] () [1]


Notice: THIS IS NOT A FATAL ERROR AND WILL NOT STOP THE BACKUP FROM RUNNING.

We need to stop and take a minute to look over the error. Now you will notice that there are three copies of this line in the provisioning log.

2012-03-26 00:27:39 	No 	10.30.114.32 	0.0000 	Executing: "/sbin/tune2fs -l /dev/mapper/1EHYR2-BACKUP-20120326T042354p1 >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out"
2012-03-26 00:27:39 	No 	10.30.114.32 	0.0000 	Execution time: 0.266281
2012-03-26 00:27:39 	No 	10.30.114.32 	0.0000 	Executing: "/sbin/tune2fs -l /dev/mapper/1EHYR2-BACKUP-20120326T042354p3 >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out"
2012-03-26 00:27:39 	Yes 	10.30.114.32 	0.0000 	Error running '/sbin/tune2fs': Command exit code [1] [/sbin/tune2fs -l /dev/mapper/1EHYR2-BACKUP-20120326T042354p2 >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out] () [1]
2012-03-26 00:27:39 	No 	10.30.114.32 	0.0000 	Executing: "/sbin/tune2fs -l /dev/mapper/1EHYR2-BACKUP-20120326T042354p2 >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out"

Now notice in each line there is a p1, p2, or a p3, these each have a defined meaning.

p1 is /boot
p2 is swap
p3 is /

Now we are getting this error because it is trying to run the tune2fs on the p2 mount which is the swap drive and it does not have a file system so this command fails to run. Ignore this backup it this is the only red line as this is not the error that you are looking for.