Hello All,

I am new to the list.  I have checked all the Linux Raid FAQs and read
through just about all the linux-raid mailing list archives on
"marc.theaimsgroup.com".  But still can not find a solution to my problem.

My problem:  I have set up RAID-1 on a HP NetSever (kernel and other info
listed below), by all indications (/proc/mdstat, syslog, etc) it is working
properly.  But when I copy something to either of the raided partitions, it
does not show up on the mirrored partition.  Could someone take a look a the
info below and see if I have done something wrong.

Thanks

Gary Barrentine
[EMAIL PROTECTED]

Kernel - 2.2.18
Added patches - kernel-cdhs-2.2.18 from www.linuxraid.org

Kernel Configuration
Multiple devices driver support - Built In
Autodetect RAID partitions - Built In
RAID-1 (mirroring) mode - Built In

raidtools-19990824-0.90.tar.gz - Installed
According to the source the version numbers are Major: 0, Minor: 90, Patch:
0

Listings from fdisk for the 2 SCSI drives

Disk /dev/sda: 64 heads, 32 sectors, 17366 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1      5000   5119984   83  Linux native
/dev/sda2          5001     10928   6070272   fd  Linux raid autodetect
/dev/sda3         10929     16853   6067200   fd  Linux raid autodetect
/dev/sda4         16854     17366    525312   82  Linux swap

Disk /dev/sdb: 64 heads, 32 sectors, 17366 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1      5000   5119984   83  Linux native
/dev/sdb2          5001     10928   6070272   fd  Linux raid autodetect
/dev/sdb3         10929     16853   6067200   fd  Linux raid autodetect
/dev/sdb4         16854     17366    525312   82  Linux swap


Listing from raidtab

# raidtab
# 02/20/2001 - G.Barrentine - Created
# 02/21/2001 - G.Barrentine - Added persistent-superblock option

# this is /usr3
raiddev                 /dev/md1
raid-level              1
nr-raid-disks           2
nr-spare-disks          0
chunk-size              4
persistent-superblock   1
device                  /dev/sda3
raid-disk               0
device                  /dev/sdb3
raid-disk               1

# this is /usr2
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
nr-spare-disks          0
chunk-size              4
persistent-superblock   1
device                  /dev/sda2
raid-disk               0
device                  /dev/sdb2
raid-disk               1


listing from /proc/mdstat

Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb2[1] sda2[0] 6070208 blocks [2/2] [UU]
md1 : active raid1 sdb3[1] sda3[0] 6067136 blocks [2/2] [UU]
unused devices: <none>

Some Lines from dmesg listing

md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid1 personality registered

Partition check:
 sda: sda1 sda2 sda3 sda4
 sdb: sdb1 sdb2 sdb3 sdb4
md.c: sizeof(mdp_super_t) = 4096
autodetecting RAID arrays
(read) sda2's sb offset: 6070208 [events: 00000002]
(read) sda3's sb offset: 6067136 [events: 0000000a]
(read) sdb2's sb offset: 6070208 [events: 00000002]
(read) sdb3's sb offset: 6067136 [events: 0000000a]
autorun ...
considering sdb3 ...
  adding sdb3 ...
  adding sda3 ...
created md1
bind<sda3,1>
bind<sdb3,2>
running: <sdb3><sda3>
now!
sdb3's event counter: 0000000a
sda3's event counter: 0000000a
md1: max total readahead window set to 128k
md1: 1 data-disks, max readahead per data-disk: 128k
raid1: device sdb3 operational as mirror 1
raid1: device sda3 operational as mirror 0
(checking disk 0)
(really checking disk 0)
(checking disk 1)
(really checking disk 1)
raid1: raid set md1 active with 2 out of 2 mirrors
md: updating md1 RAID superblock on device
sdb3 [events: 0000000b](write) sdb3's sb offset: 6067136
sda3 [events: 0000000b](write) sda3's sb offset: 6067136
.
considering sdb2 ...
  adding sdb2 ...
  adding sda2 ...
created md0
bind<sda2,1>
bind<sdb2,2>
running: <sdb2><sda2>
now!
sdb2's event counter: 00000002
sda2's event counter: 00000002
md0: max total readahead window set to 128k
md0: 1 data-disks, max readahead per data-disk: 128k
raid1: device sdb2 operational as mirror 1
raid1: device sda2 operational as mirror 0
(checking disk 0)
(really checking disk 0)
(checking disk 1)
(really checking disk 1)
(checking disk 2)
(checking disk 3)
(checking disk 4)
(checking disk 5)
(checking disk 6)
(checking disk 7)
(checking disk 8)
(checking disk 9)
(checking disk 10)
(checking disk 11)
raid1: raid set md0 active with 2 out of 2 mirrors
md: updating md0 RAID superblock on device
sdb2 [events: 00000003](write) sdb2's sb offset: 6070208
sda2 [events: 00000003](write) sda2's sb offset: 6070208
.
... autorun DONE.

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to