Skip to main content

Thread: mdadm level migration


hi,

i've installed experimental deb of mdadm 3.1.1, intended use migrate 4 disk raid5 5 disk raid6, mdadm won't ahve of it. running 9.04 64bit server.

suggestions?

code:
tgrimley@gutsy:~$ sudo mdadm --grow /dev/md0 --level=6 --raid-devices=5 --backup-file=/home/tgrimley/md0.backup
code:
  tgrimley@gutsy:~$ sudo mdadm -d /dev/md0  /dev/md0:          version : 0.90    creation time : sat aug 22 13:50:42 2009       raid level : raid5       array size : 5860535808 (5589.04 gib 6001.19 gb)    used dev size : 1953511936 (1863.01 gib 2000.40 gb)     raid devices : 4    total devices : 5  preferred minor : 0      persistence : superblock persistent        update time : wed feb 10 07:32:50 2010            state : active   active devices : 4  working devices : 5   failed devices : 0    spare devices : 1             layout : left-symmetric       chunk size : 128k               uuid : 117232ce:f55876b7:9822568f:9ddc1a1a           events : 0.1387401        number   major   minor   raiddevice state         0       8       65        0      active sync   /dev/sde1         1       8       97        1      active sync   /dev/sdg1         2       8       49        2      active sync   /dev/sdd1         3       8      161        3      active sync   /dev/sdk1           4       8      145        -      spare   /dev/sdj1

upgraded 2.6.32 kernel , says


code:
tgrimley@gutsy:~$ sudo mdadm --grow /dev/md0 --level=6 --raid-devices=5 --backup-file=/home/tgrimley/md0.backup  [sudo] password tgrimley:  mdadm level of /dev/md0 changed raid6  mdadm: change reduce size of array.         use --grow --array-size first truncate array.         e.g. mdadm --grow /dev/md0 --array-size 1565568512  mdadm: aborting level change  tgrimley@gutsy:~$
looked online , seems common if there bitmap, don't have one!

code:
tgrimley@gutsy:~$ sudo mdadm -d /dev/md0  /dev/md0:          version : 0.90    creation time : sat aug 22 13:50:42 2009       raid level : raid5       array size : 5860535808 (5589.04 gib 6001.19 gb)    used dev size : 1953511936 (1863.01 gib 2000.40 gb)     raid devices : 4    total devices : 5  preferred minor : 0      persistence : superblock persistent        update time : fri feb 12 08:12:52 2010            state : clean   active devices : 4  working devices : 5   failed devices : 0    spare devices : 1             layout : left-symmetric       chunk size : 128k               uuid : 117232ce:f55876b7:9822568f:9ddc1a1a           events : 0.1388737        number   major   minor   raiddevice state         0       8       81        0      active sync   /dev/sdf1         1       8      129        1      active sync   /dev/sdi1         2       8       65        2      active sync   /dev/sde1         3       8       33        3      active sync   /dev/sdc1           4       8       97        -      spare   /dev/sdg1  tgrimley@gutsy:~$


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] mdadm level migration


Ubuntu

Comments

Popular posts from this blog

Installation database is corrupt

Error compiling for board Arduino/Genuino Uno.

Nogen der kender et simpelt hvidt template med topmenu kun - Joomla! Forum - community, help and support