Stormbackup: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
  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 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-20120326T042354'''p3''' >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out"
  2012-03-26 00:27:39 No 10.30.114.32 0.0000 Executing: "/sbin/tune2fs -l /dev/mapper/1EHYR2-BACKUP-20120326T042354'''p3''' >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out"
  <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-20120326T042354'''p2''' >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out] () [1]</span>
  2012-03-26 00:27:39 No 10.30.114.32 0.0000 Executing: "/sbin/tune2fs -l /dev/mapper/1EHYR2-BACKUP-20120326T042354'''p2''' >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out"
  2012-03-26 00:27:39 No 10.30.114.32 0.0000 Executing: "/sbin/tune2fs -l /dev/mapper/1EHYR2-BACKUP-20120326T042354'''p2''' >> /usr/local/lp/temp/1EHYR2.tune2fs.4600734.out"


Now notice in each line there is a p1, p2, or a p3.
Now notice in each line there is a p1, p2, or a p3, these each have a defined meaning.
 
p1 is /boot
<span style="color:red">p2 is swap</span>
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

Revision as of 23:06, 26 March 2012

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


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]

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