Re: Raid array empty after restart

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

 



On Sun, 2020-05-24 at 18:37 +0200, Roberto Ragusa wrote:
> On 2020-05-24 13:37, Patrick O'Callaghan wrote:
> 
> > sdd                               8:48   0 931.5G  0 disk
> > └─md127                           9:127  0 931.4G  0 raid1
> >    └─md127p1                     259:0    0 931.4G  0 part
> > sde                               8:64   0 931.5G  0 disk
> > └─md127                           9:127  0 931.4G  0 raid1
> >    └─md127p1                     259:0    0 931.4G  0 part
> > 
> > # mdadm --detail /dev/md127p1
> > /dev/md127p1:
> >             Version : 1.2
> >       Creation Time : Wed May 20 16:34:58 2020
> >          Raid Level : raid1
> >          Array Size : 976628736 (931.39 GiB 1000.07 GB)
> >       Used Dev Size : 976630464 (931.39 GiB 1000.07 GB)
> >        Raid Devices : 2
> >       Total Devices : 2
> >         Persistence : Superblock is persistent
> There is something strange here.
> You have created md127 as a RAID1 of sdd and sde.
> Then you have md127p1, so have you partitioned your RAID?
> And then you are asking details for md127p1 (which could be your filesystem),
> while your RAID is instead md127.

IIRC I created the RAID1 array (which took hours), then formatted the
resulting /dev/md127 (using gparted) as a single ext4 partition.

> This is an unusual configuration.
> Generally you partition the disks: sdd1 sde1, then create a RAID of of them: md127,
> then you format and mount md127.

So clearly the other way around.

> You may have messed up something: maybe you have formatted both md127 and md127p1?

I don't think so, but I guess it's possible. What I can't understand is
why everything appeared to be working before I rebooted.

I'm OK with doing it again if need be, but I don't find all this in any
way obvious.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux