DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-09-20 22:01:09

rage_311
Member
Registered: 2008-09-20
Posts: 12

Quick question about unmounting... trying to resync array, linux noob

Hey guys, I've got the "degraded" sync problem. I've found a couple of threads that talk about how to fix it. One in particular I'm looking at is: http://dns323.kood.org/forum/t2595-(another)-Degraded-Array-Topic-with-mdadm%3F.html . I'm in the exact same situation as the original poster and I'm following bq041's advice. He says "run mount and check to make sure the system did not mount that drive by itself.  If it did, it will not add back until after you unmount it." So, (from doing a little bit of reading) I've run 'dmesg|grep sd' and it gives me the same message the OP got: "kicking non-fresh sda2 from the array!" So, I figured it IS sda2 that needs to be unmounted. So, I tried 'umount /dev/sda2' and got the message "cannot umount /dev/sda2: Invalid argument." I'm assuming this means that the drive has already been unmounted..? I'm very, very new to all of this, so any help would be grateful. Thanks in advance!


Matt



Edit: Just thought I'd let you guys know how it went... I only had a limited amount of time, so I went ahead with bq041's advice (minus the formatting... a little too scary for me in a relatively unknown linux world) and I'm in good shape now. The GUI's sync time now says "Completed" instead of "Degraded". And in telnet, I did some checking as well. Everything looks healthy. Thanks, indirectly I suppose, to everyone posting on these forums... keeping my drives redundantly healthy!

/ # mdadm --misc -D /dev/md0
/dev/md0:
        Version : 00.90.01
  Creation Time : Wed Mar 26 16:44:50 2008
     Raid Level : raid1
     Array Size : 730860992 (697.00 GiB 748.40 GB)
    Device Size : 730860992 (697.00 GiB 748.40 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sat Sep 20 16:19:33 2008
          State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
  Spare Devices : 0

           UUID : 909769ab:c5078906:7d9cf480:4855b6fe
         Events : 0.627954

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2

Last edited by rage_311 (2008-09-21 01:25:04)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB