Stormbackup: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
==== Tune2fs error ====
==== Tune2fs error ====
Alright first off if you run into this error:
Alright first off if you run into this error:
  <span style="color:red">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]</span>
  <span style="color:red">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]</span>
{{Notice|THIS IS NOT A FATAL ERROR AND WILL NOT STOP THE BACKUP FROM RUNNING.}}
{{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.
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.
Now you will notice that there are three copies of this line in the provisioning log.

Revision as of 23:52, 26 March 2012

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.