linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm RAID5 Grow
@ 2006-10-05  4:26 mickg
  2006-10-05  4:35 ` Neil Brown
  0 siblings, 1 reply; 7+ messages in thread
From: mickg @ 2006-10-05  4:26 UTC (permalink / raw)
  To: linux-raid


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

Software versions:
mdadm version 2.5.3, kernel 2.6.17.13

Note that /dev/md0 does in fact have 6 drives, with 4+2 spares:

linux-nas:~/source/mdadm-2.5.3 # mdadm -D /dev/md0
/dev/md0:
        Version : 00.90.03
  Creation Time : Mon Dec 31 20:20:05 2001
     Raid Level : raid5
     Array Size : 937681536 (894.24 GiB 960.19 GB)
    Device Size : 312560512 (298.08 GiB 320.06 GB)
   Raid Devices : 4
  Total Devices : 6
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Oct  5 00:24:18 2006
          State : clean
 Active Devices : 4
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 2

         Layout : left-symmetric
     Chunk Size : 128K

           UUID : 0d4e2bae:95de9dc6:4bf9f695:9e1a48be
         Events : 0.988859

    Number   Major   Minor   RaidDevice State
       0       8      209        0      active sync   /dev/sdn1
       1       8      145        1      active sync   /dev/sdj1
       2       8      129        2      active sync   /dev/sdi1
       3       8      161        3      active sync   /dev/sdk1

       4       8      192        -      spare   /dev/sdm
       5       8      176        -      spare   /dev/sdl

As I said, I am getting an error resizing the array.

Would it need to be unmounted to work properly (It is currently mounted
under lvm)?

Thank you in advance,
mickg
-- 
View this message in context: http://www.nabble.com/mdadm-RAID5-Grow-tf2386446.html#a6652499
Sent from the linux-raid mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-28 23:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-10-05 22:30         ` Neil Brown
2006-11-28 23:56         ` Bill Davidsen

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).