Re: Can't mount /dev/md0 Raid5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 22 2017, Joseba Ibarra wrote:

> Hi.I have a RAID5 using 4 drives in a HO Proliant G8 Microserver
>
> I got a Proxmox installed and the disks for RAID are associated with a 
> specific VM with Debian 9. It worked like a charm.
>
> But, some days ago i broke a proccess giving some permissions (sudo 
> chmod....) to some folders into of the mounted /dev/md0. Then after 
> restart the VM the RAID din't mount again. The raid contents very 
> important data for me, so i'm not very sure what to do in order don't 
> lose the data. So, i´m getting bit panic.
>
> I need some guide to rebuild the system without losing the content.

Thanks for providing lots of useful data.

>
> root@grafico:/# cat /proc/mdstat
> Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] 
> [raid1] [raid10]
> md0 : active (auto-read-only) raid5 sdb1[0] sde1[3] sdc1[1] sdd1[2]
>        2929889280 blocks super 1.2 level 5, 512k chunk, algorithm 2 
> [4/4] [UUUU]
>        bitmap: 0/8 pages [0KB], 65536KB chunk

It appears that md0 has been successfully assembled.  What does it
contain? What do you expect it to contain?  ext4? xfs? btrfs? LVM volume
??

What does "pvscan" show?
What does "fsck -n /dev/md0" show?
What happens when you "mount /dev/md0 /mnt" ?

NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux