Bug 128089

Summary: lsraid unable to display RAID info.
Product: [Fedora] Fedora Reporter: Sam Varshavchik <mrsam>
Component: raidtoolsAssignee: Doug Ledford <dledford>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-17 17:44:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
My /proc/partitions
none
strace -s 1024 lsraid -a /dev/md0 none

Description Sam Varshavchik 2004-07-17 13:19:05 UTC
Description of problem:

This is probably an x86_64-specific issue.

My RAID-1 partitions are activated and are operating normally, yet
lsraid fails to return any useful information about them.

Version-Release number of selected component (if applicable):

raidtools-1.00.3-8

How reproducible:

Always.

Steps to Reproduce:
1. lsraid -a /dev/md0

Actual results:

# lsraid -a /dev/md0
lsraid: Unable to find superblock for "/dev/sda1": Invalid argument
lsraid: Unable to find superblock for "/dev/sdb1": Invalid argument
[dev   9,   0] /dev/md0         00000000.00000000.00000000.00000000 online
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000
missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000
missing

Expected results:


Additional info:

The RAID partitions are activated and are operating normally:

Jul  7 21:51:22 commodore kernel: md: Autodetecting RAID arrays.
Jul  7 21:51:22 commodore kernel: md: autorun ...
Jul  7 21:51:22 commodore kernel: md: ... autorun DONE.
Jul  7 21:51:22 commodore kernel: RAMDISK: Compressed image found at
block 0
Jul  7 21:51:22 commodore kernel: VFS: Mounted root (ext2 filesystem).
Jul  7 21:51:22 commodore kernel: SCSI subsystem initialized
Jul  7 21:51:22 commodore kernel: scsi0 : Adaptec AIC79XX PCI-X SCSI
HBA DRIVER, Rev 1.3.11
Jul  7 21:51:22 commodore kernel:         <Adaptec 29320 Ultra320 SCSI
adapter>
Jul  7 21:51:22 commodore kernel:         aic7901A: Ultra320 Wide
Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
Jul  7 21:51:22 commodore kernel: 
Jul  7 21:51:22 commodore kernel: scsi1 : Adaptec AIC79XX PCI-X SCSI
HBA DRIVER, Rev 1.3.11
Jul  7 21:51:22 commodore kernel:         <Adaptec 29320 Ultra320 SCSI
adapter>
Jul  7 21:51:22 commodore kernel:         aic7901A: Ultra320 Wide
Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
Jul  7 21:51:22 commodore kernel: 
Jul  7 21:51:22 commodore kernel: (scsi1:A:0): 160.000MB/s transfers
(80.000MHz DT, 16bit)
Jul  7 21:51:22 commodore kernel: (scsi1:A:1): 160.000MB/s transfers
(80.000MHz DT, 16bit)
Jul  7 21:51:22 commodore kernel:   Vendor: SEAGATE   Model:
ST336607LW        Rev: 0007
Jul  7 21:51:22 commodore kernel:   Type:   Direct-Access            
         ANSI SCSI revision: 03
Jul  7 21:51:22 commodore kernel: scsi1:A:0:0: Tagged Queuing enabled.
 Depth 4
Jul  7 21:51:23 commodore kernel: SCSI device sda: 71687372 512-byte
hdwr sectors (36704 MB)
Jul  7 21:51:23 commodore kernel: SCSI device sda: drive cache: write back
Jul  7 21:51:23 commodore kernel:  sda: sda1 sda2 sda3
Jul  7 21:51:23 commodore kernel: Attached scsi disk sda at scsi1,
channel 0, id 0, lun 0
Jul  7 21:51:23 commodore kernel:   Vendor: SEAGATE   Model:
ST336607LW        Rev: 0007
Jul  7 21:51:23 commodore kernel:   Type:   Direct-Access            
         ANSI SCSI revision: 03
Jul  7 21:51:23 commodore kernel: scsi1:A:1:0: Tagged Queuing enabled.
 Depth 4
Jul  7 21:51:23 commodore kernel: SCSI device sdb: 71687372 512-byte
hdwr sectors (36704 MB)
Jul  7 21:51:23 commodore kernel: SCSI device sdb: drive cache: write back
Jul  7 21:51:23 commodore kernel:  sdb: sdb1 sdb2 sdb3
Jul  7 21:51:23 commodore kernel: Attached scsi disk sdb at scsi1,
channel 0, id 1, lun 0
Jul  7 21:51:23 commodore kernel: md: raid1 personality registered as nr 3
Jul  7 21:51:23 commodore kernel: md: Autodetecting RAID arrays.
Jul  7 21:51:23 commodore kernel: md: autorun ...
Jul  7 21:51:23 commodore kernel: md: considering sdb3 ...
Jul  7 21:51:23 commodore kernel: md:  adding sdb3 ...
Jul  7 21:51:23 commodore kernel: md: sdb2 has different UUID to sdb3
Jul  7 21:51:23 commodore kernel: md: sdb1 has different UUID to sdb3
Jul  7 21:51:23 commodore kernel: md:  adding sda3 ...
Jul  7 21:51:23 commodore kernel: md: sda2 has different UUID to sdb3
Jul  7 21:51:23 commodore kernel: md: sda1 has different UUID to sdb3
Jul  7 21:51:23 commodore kernel: md: created md2
Jul  7 21:51:23 commodore kernel: md: bind<sda3>
Jul  7 21:51:23 commodore kernel: md: bind<sdb3>
Jul  7 21:51:23 commodore kernel: md: running: <sdb3><sda3>
Jul  7 21:51:23 commodore kernel: raid1: raid set md2 active with 2
out of 2 mirrors
Jul  7 21:51:23 commodore kernel: md: considering sdb2 ...
Jul  7 21:51:23 commodore kernel: md:  adding sdb2 ...
Jul  7 21:51:23 commodore kernel: md: sdb1 has different UUID to sdb2
Jul  7 21:51:23 commodore kernel: md:  adding sda2 ...
Jul  7 21:51:23 commodore kernel: md: sda1 has different UUID to sdb2
Jul  7 21:51:24 commodore kernel: md: created md1
Jul  7 21:51:24 commodore kernel: md: bind<sda2>
Jul  7 21:51:24 commodore kernel: md: bind<sdb2>
Jul  7 21:51:24 commodore kernel: md: running: <sdb2><sda2>
Jul  7 21:51:24 commodore kernel: raid1: raid set md1 active with 2
out of 2 mirrors
Jul  7 21:51:24 commodore kernel: md: considering sdb1 ...
Jul  7 21:51:24 commodore kernel: md:  adding sdb1 ...
Jul  7 21:51:24 commodore kernel: md:  adding sda1 ...
Jul  7 21:51:24 commodore kernel: md: created md0
Jul  7 21:51:24 commodore kernel: md: bind<sda1>
Jul  7 21:51:24 commodore kernel: md: bind<sdb1>
Jul  7 21:51:24 commodore kernel: md: running: <sdb1><sda1>
Jul  7 21:51:24 commodore kernel: raid1: raid set md0 active with 2
out of 2 mirrors
Jul  7 21:51:24 commodore kernel: md: ... autorun DONE.
Jul  7 21:51:24 commodore kernel: md: Autodetecting RAID arrays.
Jul  7 21:51:24 commodore kernel: md: autorun ...
Jul  7 21:51:24 commodore kernel: md: ... autorun DONE.
Jul  7 21:51:24 commodore kernel: md: Autodetecting RAID arrays.
Jul  7 21:51:24 commodore kernel: md: autorun ...
Jul  7 21:51:24 commodore kernel: md: ... autorun DONE.

Comment 1 Sam Varshavchik 2004-07-17 13:21:41 UTC
Created attachment 101996 [details]
My /proc/partitions

Comment 2 Sam Varshavchik 2004-07-17 13:22:34 UTC
Created attachment 101997 [details]
strace -s 1024 lsraid -a /dev/md0

Comment 3 Doug Ledford 2004-07-17 17:44:11 UTC
raidtools is deprecated and will not even be present in our next
release.  Please use mdadm instead as it is actively maintained.  The
mdadm -E /dev/md0 or mdadm -E /dev/sdb1 commands are examples of what
you want.