Hi there:

Need some help here.
OS: standard RedHat6.1, raid level: raid1

/etc]# raidhotadd /dev/md0 /dev/hdc7
trying to hot-add [dev 16:07] to md0 ...
blkdev_open() failed: -19
md: could not lock [dev 16:07], zero-size? Marking
faulty.
md: error, md_import_device() returned -22
/dev/md0: can not hot-add disk: invalid argument. 

Any help is appreciated.

J.

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

cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hda7[1] 513984 blocks [2/1] [_U]
md1 : active raid1 hda8[1] 513984 blocks [2/1] [_U]
md2 : active raid1 hda9[1] 256896 blocks [2/1] [_U]
unused devices: <none>             
----------------------------------------------------
cat /etc/raidtab

# Config file for raid-1 device.
raiddev                /dev/md0
raid-level             1
nr-raid-disks          2
nr-spare-disks         0
chunk-size             4
persistent-superblock  1

          device                  /dev/hda7
          raid-disk               0

          device                  /dev/hdc7
         raid-disk               1


raiddev                /dev/md1
raid-level             1
nr-raid-disks          2
nr-spare-disks         0
chunk-size             4
persistent-superblock  1            

          device                  /dev/hda8
          raid-disk               0

          device                  /dev/hdc8
         raid-disk               1


raiddev                /dev/md2
raid-level             1
nr-raid-disks          2
nr-spare-disks         0
chunk-size             4
persistent-superblock  1

          device                  /dev/hda9
          raid-disk               0

          device                  /dev/hdc9
         raid-disk               1                
-----------------------------------------------------
# df
Filesystem           1k-blocks      Used Available
Use% Mounted on
/dev/hda11              248895     44783    191262 
19% /

/dev/md1                497765      2370    469696  
1% /etc_mrr

/dev/hda1                23302      3336     18763 
15% /boot

/dev/hda6               497829     42283    429844  
9% /home

/dev/hda5               497829    323993    148134 
69% /usr

/dev/md2                248783     11047    224892  
5% /var     

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

Reply via email to