LINUX.ORG.RU

Сообщения music-sf

 

Пересбор RAID6

Форум — Admin

Доброго всем времени суток.

Добавили на днях в raid6 диски, стали делать как тут http://www.ashep.org/2012/programmnyj-raid-v-linux-rasshirenie-massiva/

и пришли к тому, что по ходу ошиблись где-то, как исправить?

mdadm --detail /dev/md0 
/dev/md0: 
        Version : 1.2 
  Creation Time : Mon Nov 14 10:50:56 2011 
     Raid Level : raid6 
     Array Size : 9767552000 (9315.06 GiB 10001.97 GB) 
  Used Dev Size : 1953510400 (1863.01 GiB 2000.39 GB) 
   Raid Devices : 7 
  Total Devices : 7 
    Persistence : Superblock is persistent 

    Update Time : Tue Nov 20 09:09:06 2012 
          State : clean 
 Active Devices : 7 
Working Devices : 7 
 Failed Devices : 0 
  Spare Devices : 0 

         Layout : left-symmetric 
     Chunk Size : 512K 

           Name : tonas:0  (local to host tonas) 
           UUID : 287f64dd:11d67ba0:6387d98a:671871f1 
         Events : 35008 

    Number   Major   Minor   RaidDevice State 
       0       8       81        0      active sync   /dev/sdf1 
       1       8       65        1      active sync   /dev/sde1 
       2       8       97        2      active sync   /dev/sdg1 
       3       8       17        3      active sync   /dev/sdb1 
       4       8       33        4      active sync   /dev/sdc1 
       6       8      112        5      active sync   /dev/sdh 
       5       8       48        6      active sync   /dev/sdd

mdadm --detail /dev/md0p1 
/dev/md0p1: 
        Version : 1.2 
  Creation Time : Mon Nov 14 10:50:56 2011 
     Raid Level : raid6 
     Array Size : 5860531166 (5589.04 GiB 6001.18 GB) 
  Used Dev Size : 1953510400 (1863.01 GiB 2000.39 GB) 
   Raid Devices : 7 
  Total Devices : 7 
    Persistence : Superblock is persistent 

    Update Time : Tue Nov 20 09:02:24 2012 
          State : clean 
 Active Devices : 7 
Working Devices : 7 
 Failed Devices : 0 
  Spare Devices : 0 

         Layout : left-symmetric 
     Chunk Size : 512K 

           Name : tonas:0  (local to host tonas) 
           UUID : 287f64dd:11d67ba0:6387d98a:671871f1 
         Events : 35008 

    Number   Major   Minor   RaidDevice State 
       0       8       81        0      active sync   /dev/sdf1 
       1       8       65        1      active sync   /dev/sde1 
       2       8       97        2      active sync   /dev/sdg1 
       3       8       17        3      active sync   /dev/sdb1 
       4       8       33        4      active sync   /dev/sdc1 
       6       8      112        5      active sync   /dev/sdh 
       5       8       48        6      active sync   /dev/sdd 

resize2fs /dev/md0p1 
resize2fs 1.41.12 (17-May-2010) 
The filesystem is already 1465132791 blocks long.  Nothing to do! 
fdisk -l 

Disk /dev/sda: 40.0 GB, 40019582464 bytes 
255 heads, 63 sectors/track, 4865 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
Disk identifier: 0x0002a323 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1   *           1        4663    37446656   83  Linux 
/dev/sda2            4663        4866     1632257    5  Extended 
/dev/sda5            4663        4866     1632256   82  Linux swap / Solaris 

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 
255 heads, 63 sectors/track, 243201 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
Disk identifier: 0x000498f3 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdb1               1      243201  1953512001   fd  Linux raid autodetect 

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 
255 heads, 63 sectors/track, 243201 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
Disk identifier: 0x00038618 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdc1               1      243201  1953512001   fd  Linux raid autodetect 

Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes 
255 heads, 63 sectors/track, 243201 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 4096 bytes 
I/O size (minimum/optimal): 4096 bytes / 4096 bytes 
Disk identifier: 0x00000000 

Disk /dev/sdd doesn't contain a valid partition table 

Disk /dev/sde: 2000.4 GB, 2000398934016 bytes 
255 heads, 63 sectors/track, 243201 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
Disk identifier: 0x000ec176 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sde1               1      243201  1953512001   fd  Linux raid autodetect 

Disk /dev/sdf: 2000.4 GB, 2000398934016 bytes 
255 heads, 63 sectors/track, 243201 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
Disk identifier: 0x0002a726 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdf1               1      243201  1953512001   fd  Linux raid autodetect 

Disk /dev/sdh: 2000.4 GB, 2000398934016 bytes 
255 heads, 63 sectors/track, 243201 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 4096 bytes 
I/O size (minimum/optimal): 4096 bytes / 4096 bytes 
Disk identifier: 0x00000000 

Disk /dev/sdh doesn't contain a valid partition table 

Disk /dev/sdg: 2000.4 GB, 2000398934016 bytes 
255 heads, 63 sectors/track, 243201 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 512 bytes / 512 bytes 
Disk identifier: 0xae2ddf69 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdg1               1      243201  1953512001   fd  Linux raid autodetect 

WARNING: GPT (GUID Partition Table) detected on '/dev/md0'! The util fdisk doesn't support GPT. Use GNU Parted. 


Disk /dev/md0: 10002.0 GB, 10001973248000 bytes 
255 heads, 63 sectors/track, 1216003 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Sector size (logical/physical): 512 bytes / 4096 bytes 
I/O size (minimum/optimal): 524288 bytes / 2621440 bytes 
Disk identifier: 0x00000000 

    Device Boot      Start         End      Blocks   Id  System 
/dev/md0p1               1      267350  2147483647+  ee  GPT 
Partition 1 does not start on physical sector boundary.

 ,

music-sf
()

RSS подписка на новые темы