Md0 raid don't see my folders


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 4 Weeks Ago
Md0 raid don't see my folders

I suddenly don't see my folders into /mnt/md0.
What can be reason?

Code:
 mdadm --detail /dev/md*
/dev/md0:
        Version : 1.2
  Creation Time : Fri Jan 18 09:54:27 2019
     Raid Level : raid1
     Array Size : 1953383488 (1862.89 GiB 2000.26 GB)
  Used Dev Size : 1953383488 (1862.89 GiB 2000.26 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Fri Jan 18 10:03:38 2019
          State : active, resyncing
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

  Resync Status : 4% complete

           Name : myuser:0  (local to host myuser)
           UUID : 26f5fe1c:1c272ebe:74d72e1e:0360a892
         Events : 112

    Number   Major   Minor   RaidDevice State
       0       8       16        0      active sync   /dev/sdb
       1       8       32        1      active sync   /dev/sdc

Code:
cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdc[1] sdb[0]
      1953383488 blocks super 1.2 [2/2] [UU]
      [>....................]  resync =  4.5% (89573888/1953383488) finish=214.3min speed=144938K/sec
      bitmap: 15/15 pages [60KB], 65536KB chunk

unused devices: <none>


Last edited by RudiC; 4 Weeks Ago at 07:36 AM.. Reason: Changed [QUOTE] tags to [CODE].
# 2  
Old 4 Weeks Ago
Quote:
Originally Posted by tomislav91
I suddenly don't see my folders into /mnt/md0.
What can be reason?
Sorry if this question seems silly, but i have seen sillier than that: did you mount the FS(es)? Look at the output of

Code:
mount | grep md0

# 3  
Old 4 Weeks Ago
Quote:
Originally Posted by bakunin
Sorry if this question seems silly, but i have seen sillier than that: did you mount the FS(es)? Look at the output of

Code:
mount | grep md0

Code:
mount | grep md0
root@myuser:/mnt/md0# sudo mount /dev/md0 /mnt/md0
mount: /dev/md0: can't read superblock


Last edited by RudiC; 4 Weeks Ago at 07:34 AM.. Reason: Removed duplicate quote; changed [QUOTE] tags to [CODE].
# 4  
Old 4 Weeks Ago
It seems to be syncing - sure that doesn't influence the superblock / mounting?
# 5  
Old 4 Weeks Ago
I noticed something strange now. My md change number, look

Code:
 cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid1 sdb[0] sdc[1]
      1953383488 blocks super 1.2 [2/2] [UU]
        resync=PENDING
      bitmap: 12/15 pages [48KB], 65536KB chunk

unused devices: <none>

Code:
 sudo mkfs.ext4 -F /dev/md127
mke2fs 1.43.4 (31-Jan-2017)
/dev/md127 contains a ext4 file system
        last mounted on /mnt/md0 on Thu Oct 11 09:44:02 2018
Creating filesystem with 488345872 4k blocks and 122093568 inodes
Filesystem UUID: 5458e532-e0f1-4cf9-9cdd-d016d16c21fd
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000, 214990848

Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information:
done

Maybe to wait no to finish sync?




Moderator's Comments:
Mod Comment Please make sure to use [CODE] tags for data / output, not [QUOTE]!

Last edited by RudiC; 4 Weeks Ago at 08:08 AM.. Reason: Changed [QUOTE] tags to [CODE].
# 6  
Old 4 Weeks Ago
You don't need to wait for it to finish syncing, no.

The device changing number may have been due to a reboot, i.e. one boot was a device you made, the next reboot was auto-assembled and the device number chosen automatically.

By running mkfs on it again you wiped out whatever was on it before.
# 7  
Old 4 Weeks Ago
The question is, why was this raid1 array rebuilding?

It could be that the resilvering has, for some reason, occurred in the wrong direction, meaning that your replacement disk has been mirrored over the running disk causing the data to be lost.

Did you initiate the rebuild of the raid1? Or did it start automatically?

Last edited by hicksd8; 4 Weeks Ago at 05:34 PM.. Reason: Correct typo's
This User Gave Thanks to hicksd8 For This Post:
Neo (4 Weeks Ago)
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
RAID Configuration for IBM Serveraid-7k SCSI RAID Controller @dagio Red Hat 0 04-30-2013 10:11 AM
Software RAID on top of Hardware RAID KhawHL Solaris 4 12-16-2011 02:52 AM
Searching for folders/parent folders not files. Aussiemick UNIX for Dummies Questions & Answers 2 06-23-2011 11:56 PM
SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared filosophizer AIX 0 06-14-2011 03:20 PM
Making 99 folders 99 folders deep YukonAppleGeek Shell Programming and Scripting 18 04-27-2011 04:37 AM
If i don't have raid disks can i shut down dmraid device-mapper? tip78 Linux 7 04-13-2011 02:05 PM
Creation of Raid 01 and Raid 10 Solarister Solaris 1 01-26-2011 08:39 AM
implementing RAID 1 from RAID 5 jegaraman Solaris 2 12-19-2010 09:38 PM
RAID software vs hardware RAID presul UNIX for Dummies Questions & Answers 2 07-20-2010 03:09 PM
Copying multiple folders to local machine (don't know folder names) leenyburger UNIX for Dummies Questions & Answers 5 06-12-2008 08:38 AM
Bad magic number on /dev/md0 ravinandan UNIX for Advanced & Expert Users 0 08-17-2007 08:56 AM
RAID 5 mount points don't automount on boot rpollard001 Solaris 2 11-25-2006 11:49 PM