Re: RAID5 Recovery - superblock lost after reboot

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

 



> What were the commands ?

I created the array with: sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda /dev/sdb /dev/sdc As far as I know this used the default chunk size. I checked the status with: cat /proc/mdstat After the array has been created I formated it with:  sudo mkfs.ext4 -F /dev/md0 I saved the configuration with: sudo mdadm --detail --scan | sudo tee -a /etc/mdadm.conf
I created the mountpoint: sudo mkdir -p /mnt/raid
I mounted it: sudo mount /dev/md0 /mnt/raid
Updated the fstab for automount: echo '/dev/md0 /mnt/raid ext4 defaults 0 0' | sudo tee -a /etc/fstab

> It looks like the disk has a GPT partition table. Is this expected ?
> If not, it could be another instance of unintended GPT "recovery", and a reason against using unpartitionned disks.

Yes I choose GPT intentional as each of the HDDs exceed 2TB but they did loose the "Linux RAID" Flag after the reboot.

> What is the output of

> wipefs /dev/sda
> wipefs /dev/sdb
> wipefs /dev/sdc

DEVICE OFFSET        TYPE UUID LABEL
sda    0x200         gpt
sda    0x74702555e00 gpt
sda    0x1fe         PMBR

DEVICE OFFSET        TYPE UUID LABEL
sdb    0x200         gpt
sdb    0x74702555e00 gpt
sdb    0x1fe         PMBR

DEVICE OFFSET        TYPE UUID LABEL
sdc    0x200         gpt
sdc    0x74702555e00 gpt
sdc    0x1fe         PMBR





[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