[CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Rafał Radecki
Hi All. I have two running servers (drbd primary, drbd secondary). When there is a problem with one of them we switch to the second one. Currently on the /dev/drbd0 (it has /xxx ext3 filesystem directly on it) we have some filesystem problems (after fsck -n). I would like to correct these errors

Re: [CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Dennis Jacobfeuerborn
On 04/12/2012 09:50 AM, Rafał Radecki wrote: Hi All. I have two running servers (drbd primary, drbd secondary). When there is a problem with one of them we switch to the second one. Currently on the /dev/drbd0 (it has /xxx ext3 filesystem directly on it) we have some filesystem problems

Re: [CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Devin Reade
--On Thursday, April 12, 2012 03:17:37 PM +0200 Dennis Jacobfeuerborn denni...@conversis.de wrote: On 04/12/2012 09:50 AM, Rafał Radecki wrote: I have two running servers (drbd primary, drbd secondary). When there is a problem with one of them we switch to the second one. [...] Is there a

Re: [CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Dennis Jacobfeuerborn
On 04/12/2012 08:17 PM, Devin Reade wrote: --On Thursday, April 12, 2012 03:17:37 PM +0200 Dennis Jacobfeuerborn denni...@conversis.de wrote: On 04/12/2012 09:50 AM, Rafał Radecki wrote: I have two running servers (drbd primary, drbd secondary). When there is a problem with one of them we

Re: [CentOS] FSCK on mounted filesystem (LVM/DRBD)?

2012-04-12 Thread Devin Reade
--On Thursday, April 12, 2012 10:38:56 PM +0200 Dennis Jacobfeuerborn denni...@conversis.de wrote: On 04/12/2012 08:17 PM, Devin Reade wrote: However, if you're using pacemaker the RA (IIRC) has the option of doing an 'fsck -p' before mounting. [...] doing an 'fsck -p' before mounting