(no subject)
I installed Suse Linux Professional 8 on a HP Netserver LC3 PII/450. An AHA-2940 UW Scsi host adapter with a AIC-78XX Scsi Protocol Chip/50 pin high density scsi-2 control. I have a raid (3 drives) off the host adapter and a 80 gig scsi drive off the mother board. After launching yast2 the first raid has the following device: LD0 raid 5 34730R:device_name /dev/sda, vendor megaraid. Disk two (80 gig drive) has LD1 raid 0 70006R: device name /dev/sdb vendor the same as above. There was no raidtab file so I created one with the following:
raiddev /dev/md0
raid-level 5
nr-raid-disks 1(little sketchy on this because it is three drives that make up the raid)
nr-spare-disks 0
persistent superblock 1
parity-algorithm left-symmetric
chunk-size 2048
device /dev/sda
raid-disk 0 (sketchy here as well)
#Second drive
raiddev /dev/md1
raid-level 5
nr-raid-disks 1
nr-spare-disks 0
persistent-superblock 1
chunk-size 2048
device /dev/sdb
raid-disks 1 (sketchy as well)
Trying to follow the procedures and I type:
mkraid /dev/md0 and I get:
Handling md device /dev/md0
analyzing super-block
disk 0: /dev/sda, 35563520kb, raid superblock at 35563456kb
Second drive I get:
Handling md deviice /dev/md1
analyzing super-block
disk 0: /dev/sdb, 71686144kb, raid superblock at 71686080kb
I then type cat /proc/mdstat and get the following:
Personalities [RAID5]read_ahead not set
md1: inactive sdb [0]
71684096 blocks
md0: inactive sda [0]
35561472 blocksunused devices: <none>
If I read this correctly both are inactive when it should be stating that they are active. At this point I am baffled any suggestions or possible directions would greatly be appreciated.
Thanks in advance,
Ed
hiya eddie
i think you want raid5 w/ 3 disks instead of 3 copies of the same data on 3 disks w/ raid1
watch our for old raid commands (mkraid ) vs new raid commands (raidstart)
More raid commands
http://www.1U-Raid5.net/HowTo/Commands.uhow2.txt
have fun raiding
alvin
#
#
# sample /etc/raidtab # # To start it up # -------------- # fdsisk /dev/sda # --> use FD raid partion ( 1 partition - the whole disk ?) # # raidstart /dev/md0 # cat /proc/mdstat --> see if all 3 disks is listed # mke2fs -j /dev/md0 # mount /dev/md0 /RAID # # dd if=/dev/random of=/RAID/test.big count=1000000 # # # raiddev /dev/md0 raid-level 5 # nr-raid-disks 3 # note the above # nr-spare-disks 0 persistent superblock 1 parity-algorithm left-symmetric # # # That's a huge chunk .... units are 1024 block * chunk-size # chunk-size 2048 chunk-size 8 # # # use the "partition" on the disk and define the raiddev device /dev/md0 # device /dev/sda1 raid-disk 0 # device /dev/sdb1 raid-disk 1 # device /dev/sdc1 raid-disk 2 # # end of raidtab file
Quoted 66 lines · Eddie Johnson
I installed Suse Linux Professional 8 on a HP Netserver LC3 PII/450. An AHA-2940 UW Scsi host adapter with a AIC-78XX Scsi Protocol Chip/50 pin high density scsi-2 control. I have a raid (3 drives) off the host adapter and a 80 gig scsi drive off the mother board. After launching yast2 the first raid has the following device: LD0 raid 5 34730R:
device_name/dev/sda, vendor megaraid. Disk two (80 gig drive) has LD1 raid 0 70006R: device name/dev/sdbvendor the same as above. There was no raidtab file so I created one with the following:raiddev
/dev/md0
raid-level 5
nr-raid-disks 1(little sketchy on this because it is three drives that make up the raid)
nr-spare-disks 0
persistent superblock 1
parity-algorithm left-symmetric
chunk-size 2048
device/dev/sda
raid-disk 0 (sketchy here as well)#Second drive
raiddev/dev/md1
raid-level 5
nr-raid-disks 1
nr-spare-disks 0
persistent-superblock 1
chunk-size 2048
device/dev/sdb
raid-disks 1 (sketchy as well)Trying to follow the procedures and I type:
mkraid/dev/md0and I get:Handling md device
/dev/md0
analyzing super-block
disk 0:/dev/sda, 35563520kb, raid superblock at 35563456kbSecond drive I get:
Handling md deviice
/dev/md1
analyzing super-block
disk 0:/dev/sdb, 71686144kb, raid superblock at 71686080kbI then type cat
/proc/mdstatand get the following:Personalities [RAID5]
read_aheadnot set
md1: inactive sdb [0]71684096 blocks md0: inactive sda [0] 35561472 blocksunused devices: <none>
If I read this correctly both are inactive when it should be stating that they are active. At this point I am baffled any suggestions or possible directions would greatly be appreciated.
Thanks in advance,
Ed-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · On Wednesday September 11, [email protected] wrote:
I installed Suse Linux Professional 8 on a HP Netserver LC3 PII/450. An AHA-2940 UW Scsi host adapter with a AIC-78XX Scsi Protocol Chip/50 pin high density scsi-2 control. I have a raid (3 drives) off the host adapter and a 80 gig scsi drive off the mother board. After launching yast2 the first raid has the following device: LD0 raid 5 34730R:
device_name/dev/sda, vendor megaraid. Disk two (80 gig drive) has LD1 raid 0 70006R: device name/dev/sdbvendor the same as above. There was no raidtab file so I created one with the following:
It sounds like you have hardware raid (megaraid) that presents the two raid devices as /dev/sda and /dev/sdb so they look like scsi devices, but are really raid arrays.
In this case, you don't need raidtab or mkraid at all. These are for 'software' raid which is quite separate from hardware raid.
software raid: Linux kernel does all raid management. hardware raid: special card knows about raid and does lots of the work
rest of work done in the driver for the card.
NeilBrown
Quoted 57 lines
raiddev
/dev/md0
raid-level 5
nr-raid-disks 1(little sketchy on this because it is three drives that make up the raid)
nr-spare-disks 0
persistent superblock 1
parity-algorithm left-symmetric
chunk-size 2048
device/dev/sda
raid-disk 0 (sketchy here as well)#Second drive
raiddev/dev/md1
raid-level 5
nr-raid-disks 1
nr-spare-disks 0
persistent-superblock 1
chunk-size 2048
device/dev/sdb
raid-disks 1 (sketchy as well)Trying to follow the procedures and I type:
mkraid/dev/md0and I get:Handling md device
/dev/md0
analyzing super-block
disk 0:/dev/sda, 35563520kb, raid superblock at 35563456kbSecond drive I get:
Handling md deviice
/dev/md1
analyzing super-block
disk 0:/dev/sdb, 71686144kb, raid superblock at 71686080kbI then type cat
/proc/mdstatand get the following:Personalities [RAID5]
read_aheadnot set
md1: inactive sdb [0]71684096 blocks md0: inactive sda [0] 35561472 blocksunused devices: <none>
If I read this correctly both are inactive when it should be stating that they are active. At this point I am baffled any suggestions or possible directions would greatly be appreciated.
Thanks in advance,
Ed-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Eddie Johnson
I installed Suse Linux Professional 8 on a HP Netserver LC3 PII/450. An AHA-2940 UW Scsi host adapter with a AIC-78XX Scsi Protocol Chip/50 pin high density scsi-2 control. I have a raid (3 drives) off the host
No, you have an HP NetRaid Adapter (Aka AMI megaraid)
Quoted 5 lines
adapter and a 80 gig scsi drive off the mother board. After launching yast2 the first raid has the following device: LD0 raid 5 34730R:
device_name/dev/sda, vendor megaraid. Disk two (80 gig drive) has LD1 raid 0 70006R: device name/dev/sdbvendor the same as above. There was no raidtab file so I created one with the following: >
.........
Quoted 3 lines
If I read this correctly both are inactive when it should be stating that they are active. At this point I am baffled any suggestions or possible directions would greatly be appreciated.
you don't need md, mkraid or such,
if you want to configure your hw raid just press Ctrl-M at boot or start the server from the Navigator CD
L.