Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Software Raid partitions on a sparc system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
wan-geek
n00b
n00b


Joined: 03 Apr 2003
Posts: 66
Location: knee-deep in the ether

PostPosted: Sat Oct 30, 2004 1:46 am    Post subject: Software Raid partitions on a sparc system Reply with quote

Ok. Have followed the HOWTO's for building a software-based raid array in my E450. Was having an issue where the partitions would disappear upon reboot...and found this post:
Code:
http://forums.gentoo.org/viewtopic.php?t=152881&highlight=sparc+raid5


So...rebuilt RAID array per the HOWTO. All "appears" to be working. I can format and mount the raid volume fine.

THis is what concerns me.

Code:

jukebox ~ # lsraid -a /dev/md0
lsraid: Device "/dev/scsi/host0/bus0/target1/lun0/part1" does not have a valid raid superblock
lsraid: Device "/dev/scsi/host0/bus0/target2/lun0/part1" does not have a valid raid superblock
lsraid: Device "/dev/scsi/host0/bus0/target3/lun0/part1" does not have a valid raid superblock
lsraid: Device "/dev/scsi/host1/bus0/target1/lun0/part1" does not have a valid raid superblock
lsraid: Device "/dev/scsi/host1/bus0/target2/lun0/part1" does not have a valid raid superblock
lsraid: Device "/dev/scsi/host1/bus0/target3/lun0/part1" does not have a valid raid superblock
lsraid: Device "/dev/scsi/host3/bus0/target2/lun0/part1" does not have a valid raid superblock
lsraid: Device "/dev/scsi/host3/bus0/target3/lun0/part1" does not have a valid raid superblock
[dev   9,   0] /dev/md0         00000000.00000000.00000000.00000000 online
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing


I have googled and searched the forums, without much luck as to why the superblock seems missing on each disk in the volume. mkraid indicates that it adds the superblock ok...and starts rebuilding the array without any complaints.

Anyone have any ideas as to why lsraid is bitching?

I NEED to know that this is built correctly before I start migrating data over.

Cheers,
-Chris
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Mon Nov 01, 2004 11:46 pm    Post subject: Perhaps lsraid is broken Reply with quote

I don't get good results from the lsraid command on x86, and
my RAID is fine. On x86, lsraid often produces a segmentation fault.

Try this instead:
Code:

cat /proc/mdstat


That should give you a good report card on how well the raid is set up.

Also, try the mdadm command and options.
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Tue Nov 02, 2004 3:06 am    Post subject: Reply with quote

Also, make sure that none of your RAID paritions start on cylinder 0
Back to top
View user's profile Send private message
wan-geek
n00b
n00b


Joined: 03 Apr 2003
Posts: 66
Location: knee-deep in the ether

PostPosted: Tue Nov 02, 2004 3:13 am    Post subject: Reply with quote

yeah. found the issue with the partitions on cyl 0. have everything sitting higher up on the disk.

perhaps this is just a cosmetic issue...???...

thanks for the insight.

-Chris
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum