linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: mickg <mickg@mickg.net>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm RAID5 Grow
Date: Thu, 05 Oct 2006 17:47:39 -0400	[thread overview]
Message-ID: <45257D7B.90401@mickg.net> (raw)
In-Reply-To: <17701.504.201046.256698@cse.unsw.edu.au>

Neil Brown wrote:
> On Thursday October 5, mickg@mickg.net wrote:
>> Neil Brown wrote:
>>> On Wednesday October 4, mickg@mickg.net 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.
> 
Worked like a charm!

Thank you!

There is a
   sysfs   /sys    sysfs   noauto 0 0
line in /etc/fstab
I am assuming noauto is the culprit?

Should it be made to automount ?

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



  reply	other threads:[~2006-10-05 21:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05  4:26 mdadm RAID5 Grow mickg
2006-10-05  4:35 ` Neil Brown
2006-10-05 12:41   ` mickg
2006-10-05 13:00     ` Neil Brown
2006-10-05 21:47       ` mickg [this message]
2006-10-05 22:30         ` Neil Brown
2006-11-28 23:56         ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45257D7B.90401@mickg.net \
    --to=mickg@mickg.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).