[08:13] <fabbione> BenC: still around?
[08:14] <fabbione> or kylem..
[10:10] <fabbione> BenC: FYI i did push gfs1 update to the repo on rookery as described on the wiki.. i think it's ok.. if it's not fix the wiki :P
[10:10] <fabbione> have fun dude
[02:28] <BenC> fabbione: Thanks
[03:09] <shashi_sa>  Hi All , i have few ubuntu boxes , sometimes disk failes in our servers, at that time , if we look at log  files , we observe scsi id's , like sd08:12 . My questions , where i can find a map file which conatins mapping of scsi ids corresponds to which partition/disk ?
[03:38] <BenC> shashi_sa: Generally you go by info in /proc/scsi/
[03:38] <BenC> shashi_sa: There should be a mapping for the bus/target/lun in there
[03:38] <shashi_sa> K
[03:39] <mjg59> 08:12 looks like major/minor
[03:39] <BenC> If you have more than one bus, then it can be a little ambiguous, but hopefully your scsi bus's don't contain the exact same devices in that case :)
[03:39] <mjg59> shashi_sa: If you ls -l /dev/sda1, it'll be 08:01
[03:39] <mjg59> Other partitions should have similar numbering
[03:41] <kylem> it's complicated...
[03:47] <shashi_sa> I know about this , but scsi files mention only  bus/target/lun information , but the message i am getting are like sd08:17 sd08:12
[03:48] <mjg59> shashi_sa: Check the major and minor numbers on the device nodes
[03:48] <shashi_sa> K
[03:48] <BenC> shashi_sa: Also, dmesg on boot should show the bus/target/lun during the probe, and show the /dev/sdXX to go with it, which should help you map them
[03:50] <shashi_sa> brw-rw----    1 root     disk       8,   1 Mar 19  2002 /dev/sda1
[03:51] <mjg59> shashi_sa: So sda1 is 08:01
[03:51] <mjg59> shashi_sa: Now you get to check which is 08:12
[03:52] <kylem> 08:12 is always going to be sda12...
[03:52] <mjg59> kylem: Where does sdb start?
[03:52] <kylem> 08:16
[03:53] <kylem> it's maj:16*n
[03:53] <mjg59> Ah, right. I couldn't remember how many partitions we supported on scsi
[03:53] <kylem> there's a lot of scsi majors, but the first 16 disks are all on 8.
[03:57] <shashi_sa> No , if i am getting errors like sd08:17 sd08:12 , but i don't partitions only upto 6 . sdb6 is my last partition
[03:58] <shashi_sa> I don't have 12 or 16 partitions in my disk , i have only 6 partitions on each and evry disk
[04:03] <shashi_sa> K , are you guys saying "if it is sd08:<16 , then it is first hard disk , and if it is sd08:>=16 , then it is second disk" ?
[04:05] <kylem> /proc/scsi/scsi should tell you what you need. are these sata or pata disks?
[04:06] <shashi_sa> Attached devices:
[04:06] <shashi_sa> Host: scsi0 Channel: 00 Id: 00 Lun: 00
[04:06] <shashi_sa>   Vendor: SEAGATE  Model: ST336607LC       Rev: 6D01
[04:06] <shashi_sa>   Type:   Direct-Access                    ANSI SCSI revision: 03
[04:06] <shashi_sa> scsi disks 
[04:12] <shashi_sa> But looks like /proc/partitions file contains all information what i am looking for
[04:12] <kylem> ah. ok.
[04:15] <shashi_sa> But still i am not understanding , i got 35k errors on sd08:12 , but i don't have 12 partitions on my disk , even /proc/partitions file don't contains 8 12 word , so still i am not understanding sd08:12 refres to which disk/partition ?
[05:25] <zul> time for chilli
[05:26] <Nafallo> time for wine (no, not software. I'm on x86_64.)