raidhotadd problems.

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

 



Hi.

I have a raid1 system running in degraded mode.
Now that I have retrieved my 2. disc, I wanted to add it to the raid
(kind of the reason for me to run raid1).

I have tried to run 'raidhotadd' but is complains:

root@gw:~# raidhotadd /dev/md/4 /dev/ide/host0/bus0/target1/lun0/part5
/dev/md/4: can not hot-add disk: too small disk!

I dont know excatly what this error is, but I guess it thinks that the 
partition that i try to add is too small, though it has excatly the same 
size af the existing one running raid1.

Does the new partrition need to be larger than the existing one? - this 
seems very strange....

Below is some relevant info taken from my system btw. I'm using devfs.

Any help would be appriciated.
Anders Fugmann

------------------------------------------------

root@gw:~# uname -a
Linux gw 2.4.17 #3 Sun Jan 27 00:41:36 CET 2002 i586 unknown

root@gw:~# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md4 : active raid1 ide/host0/bus0/target0/lun0/part5[0]
       102656 blocks [2/1] [U_]

md0 : active raid1 ide/host0/bus0/target0/lun0/part7[0]
       3145856 blocks [2/1] [U_]

md1 : active raid1 ide/host0/bus0/target0/lun0/part8[0]
       4194688 blocks [2/1] [U_]

md2 : active raid1 ide/host0/bus0/target0/lun0/part9[0]
       1048704 blocks [2/1] [U_]

md3 : active raid1 ide/host0/bus0/target0/lun0/part10[0]
       31191936 blocks [2/1] [U_]

unused devices: <none>


root@gw:~# ls -l /dev/hd?
   lr-xr-xr-x    1 root     root           32 Feb  5 16:23 /dev/hda -> 

   ide/host0/bus0/target0/lun0/disc
   lr-xr-xr-x    1 root     root           32 Feb  5 16:23 /dev/hdc ->
   ide/host0/bus1/target0/lun0/disc

root@gw:~# fdisk -l /dev/hda

Disk /dev/hda: 16 heads, 63 sectors, 79780 cylinders
Units = cylinders of 1008 * 512 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1     79780  40209088+   5  Extended
/dev/hda5             1       204    102753   fd  Linux raid autodetect
/dev/hda6           205      1245    524632+  82  Linux swap
/dev/hda7          1246      7487   3145936+  fd  Linux raid autodetect
/dev/hda8          7488     15810   4194760+  fd  Linux raid autodetect
/dev/hda9         15811     17891   1048792+  fd  Linux raid autodetect
/dev/hda10        17892     79780  31192024+  fd  Linux raid autodetect

root@gw:~# fdisk -l /dev/hdc

Disk /dev/hdc: 16 heads, 63 sectors, 79780 cylinders
Units = cylinders of 1008 * 512 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/hdc1             1     79780  40209088+   5  Extended
/dev/hdc5             1       204    102753   fd  Linux raid autodetect
/dev/hdc6           205      1245    524632+  82  Linux swap
/dev/hdc7          1246      7487   3145936+  fd  Linux raid autodetect
/dev/hdc8          7488     15810   4194760+  fd  Linux raid autodetect
/dev/hdc9         15811     17891   1048792+  fd  Linux raid autodetect
/dev/hdc10        17892     79780  31192024+  fd  Linux raid autodetect


-
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

[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