Re: [CentOS] Fsck on mdraid array - SOLVED

2010-07-23 Thread Jussi Hirvi
Hei, Ok, as many of you pointed out, the raid arrays did not start automatically on "linux rescue" boot (when not mounting the arrays). I followed Mogens' advice: I let linux rescue mount the arrays, then checked /etc/mtab and unmounted everything. After that fsck run ok. (Turned out the files

Re: [CentOS] Fsck on mdraid array

2010-07-22 Thread Mogens Kjaer
On 07/22/2010 10:38 AM, Jussi Hirvi wrote: ... > I still don't know why fsck from the rescue dvd does not work. You could try to let the rescue dvd mount the partitions. Then you can umount them and fsck. I don't think that the rescue disk assembles the RAID partitions unless they are going to b

Re: [CentOS] Fsck on mdraid array

2010-07-22 Thread Kay Diederichs
Jussi Hirvi schrieb: > Something seems to be wrong with my file systems, and I want to fsck > everything. But I cannot. > > The setup consists of 2 hds, carrying 3 raid1 (ext3) file systems (boot, > /, swap). OS is up-to-date CentOS 5. > > So I boot from CentOS 5.3 dvd in rescue mode, do not mo

Re: [CentOS] Fsck on mdraid array

2010-07-22 Thread Jussi Hirvi
> Are you using lvm on top of the mdraid? > > If so you need to fsck the lvs not the mds. No lvm's. I can boot the raid system, and cat /proc/mdstat shows clean arrays. The automatic fsck reported problems a while ago, and corrected them. When I now try to run certain rsync script, I ge

Re: [CentOS] Fsck on mdraid array

2010-07-21 Thread Gordon Messmer
On 07/21/2010 09:12 AM, Jussi Hirvi wrote: > > So I boot from CentOS 5.3 dvd in rescue mode, do not mount the file > systems, and try to run > fsck -y /dev/md0 > fsck -y /dev/md1 > fsck -y /dev/md2 > > For each try I get an error message: "Superblock could not be found..." > "The

Re: [CentOS] Fsck on mdraid array

2010-07-21 Thread Ross Walker
On Jul 21, 2010, at 12:12 PM, Jussi Hirvi wrote: > Something seems to be wrong with my file systems, and I want to fsck > everything. But I cannot. > > The setup consists of 2 hds, carrying 3 raid1 (ext3) file systems (boot, > /, swap). OS is up-to-date CentOS 5. > > So I boot from CentOS 5.3

Re: [CentOS] Fsck on mdraid array

2010-07-21 Thread Arun Khan
On Wed, Jul 21, 2010 at 9:42 PM, Jussi Hirvi wrote: > Something seems to be wrong with my file systems, and I want to fsck > everything. But I cannot. > > The setup consists of 2 hds, carrying 3 raid1 (ext3) file systems (boot, > /, swap). OS is up-to-date CentOS 5. > > So I boot from CentOS 5.3 d