Re: mdadm RAID5 Grow

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

 



On Thursday October 5, mickg@xxxxxxxxx wrote:
> Neil Brown wrote:
> > On Wednesday October 4, mickg@xxxxxxxxx wrote:
> >> I have been trying to run: 
> >> mdadm --grow /dev/md0 --raid-devices=6 --backup-file /backup_raid_grow
> >> I get:
> >> mdadm: Need to backup 1280K of critical section..
> >> mdadm: /dev/md0: Cannot get array details from sysfs
> > 
> > It shouldn't do that.... 
> > Can you 
> >   strace -o /tmp/trace -s 300 mdadm --grow .....
...
> open("/sys/block/md0/md/component_size", O_RDONLY) = -1 ENOENT (No such file or directory)

So it couldn't open .../component_size.  That was added prior to the
release of 2.6.16, and you are running 2.6.17.13 so the kernel
certainly supports it.  
Most likely explanation is that /sys isn't mounted.
Do you have a "/sys"?
Is it mounted?
Can you "ls -l /sys/block/md0/md" ??

Maybe you need to
  mkdir /sys
  mount -t sysfs sysfs /sys

and try again.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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