Page MenuHomePhabricator

restbase1007 not assembling raid after reboot
Closed, DuplicatePublic

Description

when rebooting restbase1007 to apply thermal paste, it didn't come back up clean, dropping into initramfs due to failure to mount/find root FS

Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the syst[   35.568027] uhci_hcd: USB Universal Host Controller Interface driver
em wait long enough?)
   - Chec[   35.578259] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
k root= (did the system wait for[   35.588534] hidraw: raw HID events driver (C) Jiri Kosina
 the right devic[   35.596003] usbcore: registered new interface driver usbhid
e?)
 - Missing [   35.602900] usbhid: USB HID core driver
modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-uuid/5bb485ce-51bd-4f58-8d0e-baed3e5347f6 does not exist.  Dropping to a shell!
modprobe: module ehci-orion not found in modules.dep


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) cat /proc/partitions 
major minor  #blocks  name

   8        0 1000204632 sda
   8        1   29295616 sda1
   8        2     976896 sda2
   8        3  969930752 sda3
   8       16 1000204632 sdb
   8       17   29295616 sdb1
   8       18     976896 sdb2
   8       19  969930752 sdb3
   8       32 1000204632 sdc
   8       33   29295616 sdc1
   8       34     976896 sdc2
   8       35  969930752 sdc3
   8       48 1000204632 sdd
   8       49   29295616 sdd1
   8       50     976896 sdd2
   8       51  969930752 sdd3
   8       64 1000204632 sde
   8       65   29295616 sde1
   8       66     976896 sde2
   8       67  969930752 sde3
(initramfs) cat /proc/mdstat 
Personalities : 
unused devices: <none>
(initramfs) mdadm --assemble --scan
[   99.952572] md: md0 stopped.
[   99.956921] md: bind<sdb1>
[   99.960184] md: bind<sdc1>
[   99.963463] md: bind<sdd1>
[   99.966698] md: bind<sde1>
[   99.969885] md: bind<sda1>
[   99.974688] md: raid1 personality registered for level 1
[   99.981383] md/raid1:md0: active with 5 out of 5 mirrors
[   99.987407] md0: detected capacity change from 0 to 29981933568
[   99.994583]  md0: unknown partition table
mdadm: /dev/md/0 has been started with 5 drives.
[  100.067397] md: md1 stopped.
[  100.072032] md: bind<sdb2>
[  100.075319] md: bind<sdc2>
[  100.078578] md: bind<sdd2>
[  100.081775] md: bind<sde2>
[  100.085012] md: bind<sda2>
[  100.089473] md/raid1:md1: not clean -- starting background reconstruction
[  100.097057] md/raid1:md1: active with 5 out of 5 mirrors
[  100.103017] md1: detected capacity change from 0 to 999751680
[  100.109818]  md1: unknown partition table
mdadm: /dev/md/1 has been started with 5 drives.
[  100.125856] md: md2 stopped.
[  100.130132] md: bind<sdb3>
[  100.133372] md: bind<sdc3>
[  100.136619] md: bind<sdd3>
[  100.139821] md: bind<sde3>
[  100.143017] md: bind<sda3>
[  100.147505] md: raid0 personality registered for level 0
[  100.153972] md/raid0:md2: md_size is 9697996800 sectors.
[  100.159910] md: RAID0 configuration for md2 - 1 zone
[  100.165447] md: zone0=[sda3/sdb3/sdc3/sdd3/sde3]
[  100.170660]       zone-offset=         0KB, device-offset=         0KB, size=4848998400KB
[  100.179787] 
[  100.181459] md2: detected capacity change from 0 to 4965374361600
[  100.188647]  md2: unknown partition table
mdadm: /dev/md/2 has been started with 5 drives.
(initramfs) cat /proc/mdstat 
Personalities : [raid1] [raid0] 
md2 : active raid0 sda3[0] sde3[4] sdd3[3] sdc3[2] sdb3[1]
      4848998400 blocks super 1.2 512k chunks
      
md1 : active (auto-read-only) raid1 sda2[0] sde2[4] sdd2[3] sdc2[2] sdb2[1]
      976320 blocks super 1.2 [5/5] [UUUUU]
      	resync=PENDING
      
md0 : active (auto-read-only) raid1 sda1[0] sde1[4] sdd1[3] sdc1[2] sdb1[1]
      29279232 blocks super 1.2 [5/5] [UUUUU]
      
unused devices: <none>
(initramfs) exit
Begin: Checking root file system ... fsck from util-linux 2.25.2
/dev/md0: clean, 77632/1831424 files, 891372/7319808 blocks
done.
[  187.117060] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[  187.218377] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +X)
[  187.234163] systemd[1]: Detected architecture 'x86-64'.

Welcome to Debian GNU/Linux 8 (jessie)!

[  187.260679] systemd[1]: Inserted module 'autofs4'
[  187.266214] systemd[1]: Set hostname to <restbase1007>.