[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Ubuntu server filsystem mounted sit eget filsystem ro ?



> Hvorfor er det sdb som er faulty og sda som er aktiv? I den email du startede med at sende så var det sda som gav problemer.
>
> Mon der er sket det at sdb er fejlet uden at du har opdaget det og reageret?

Det har du nok ret i, desværre.


> Når sda så fejler så går det først helt galt.
>
> mdadm --remove /dev/md0 /dev/sdb1 && mdadm --add /dev/md0 /dev/sdb1
>
> cat /proc/mdstat med regelmæssige mellemrum og se hvad der sker

Efter ovennævnte kommandoer ser det sådan ud
 (som jeg forstår det kører begge disks nu i raid, hvor før den ene fejlede.
Jeg kan dog stadig ikke bruge: sudo mount -o remount,rw /dev/md0; men
jeg kan måske tage sda ud af mdarray og så købe en ny disk til den
medens systemet kan køre på sdb):

sslug@sslug:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md0 : active raid1 sdb1[1] sda1[0]
      234372160 blocks [2/2] [UU]

unused devices: <none>


gunner@:~$ sudo mdadm --detail /dev/md0
/dev/md0:
        Version : 00.90.03
  Creation Time : Mon Dec 14 09:58:48 2009
     Raid Level : raid1
     Array Size : 234372160 (223.51 GiB 240.00 GB)
  Used Dev Size : 234372160 (223.51 GiB 240.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Tue Jan 18 16:03:35 2011
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : ecb64c4a:a039cf03:53733773:e84c0574
         Events : 0.2007576

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2011-02-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *