assemble didn't quite (was "Re: all of my drives are spares")

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

 



...and then David T-G home said...
% 
% ...and then Wol said...
% 
...
% % I wonder if a controlled reboot would fix it. Or just do a --stop followed
% 
% I've tried a couple of reboots; they're stuck that way.  I'll try the
% stop and assemble.
[snip]

Stopping was easy:

  diskfarm:~ # for A in 51 52 53 54 55 56 ; do mdadm --stop /dev/md$A ;
  done
  mdadm: stopped /dev/md51
  mdadm: stopped /dev/md52
  mdadm: stopped /dev/md53
  mdadm: stopped /dev/md54
  mdadm: stopped /dev/md55
  mdadm: stopped /dev/md56

Restarting wasn't as impressive:

  diskfarm:~ # for A in 51 52 53 54 55 56 ; do mdadm --assemble /dev/md$A /dev/sd[dcblfk]$A ; done
  mdadm: /dev/md51 assembled from 3 drives - not enough to start the array.
  mdadm: /dev/md52 assembled from 3 drives - not enough to start the array.
  mdadm: /dev/md53 assembled from 3 drives - not enough to start the array.
  mdadm: /dev/md54 assembled from 3 drives - not enough to start the array.
  mdadm: /dev/md55 assembled from 3 drives - not enough to start the array.
  mdadm: /dev/md56 assembled from 3 drives - not enough to start the array.

  diskfarm:~ # mdadm --detail /dev/md51
  /dev/md51:
	     Version : 1.2
	  Raid Level : raid5
       Total Devices : 6
	 Persistence : Superblock is persistent
  
	       State : inactive
     Working Devices : 6
  
		Name : diskfarm:51  (local to host diskfarm)
		UUID : 9330e44f:35baf039:7e971a8e:da983e31
	      Events : 46655
  
      Number   Major   Minor   RaidDevice
  
	 -     259       39        -        /dev/sdl51
	 -     259        9        -        /dev/sdb51
	 -     259       31        -        /dev/sdk51
	 -     259       16        -        /dev/sdd51
	 -     259        2        -        /dev/sdc51
	 -     259       23        -        /dev/sdf51
  diskfarm:~ # grep md51 /proc/mdstat
  md51 : inactive sdk51[6](S) sdl51[4](S) sdf51[5](S) sdc51[1](S) sdd51[3](S) sdb51[0](S)

Still all spares.  And here I was hoping this would be easy ...


Thanks again

:-D
-- 
David T-G
See http://justpickone.org/davidtg/email/
See http://justpickone.org/davidtg/tofu.txt




[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