-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninitialized value $linux #4
Comments
What OS distro and release are you on? |
I'm running Debian stable (8.3). root@kali:~/ansible-playbooks# megacli -pdlist -a0 | egrep 'Slot|^SAS' |
That helped me isolate the problem. (It was a bit of a head scratcher because I used the same variable name twice, but that's fixed now.) What is the output of I'm guessing the |
On Wed, Mar 16, 2016 at 10:02 AM, Christopher Hicks <
root@kali:~/megamap/megamap# ls -l /dev/disk/by-id | grep -v part total 0 lrwxrwxrwx 1 root root 9 Jul 5 2015 lrwxrwxrwx 1 root root 9 Jul 5 2015 ata-ST1000NM0033-9ZM173_Z1W3MMY5 -> lrwxrwxrwx 1 root root 10 Jul 5 2015 dm-name-CSVolGroup1-extrel -> lrwxrwxrwx 1 root root 10 Jul 5 2015 dm-name-CSVolGroup1-faculty -> lrwxrwxrwx 1 root root 10 Jul 5 2015 dm-name-CSVolGroup1-grads -> lrwxrwxrwx 1 root root 10 Jul 5 2015 dm-name-CSVolGroup1-shared -> lrwxrwxrwx 1 root root 10 Jul 5 2015 dm-name-CSVolGroup1-site -> lrwxrwxrwx 1 root root 10 Jul 5 2015 dm-name-CSVolGroup1-wexport -> lrwxrwxrwx 1 root root 10 Jul 5 2015 dm-name-kali-root -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jul 5 2015 dm-name-kali-swap_1 -> ../../dm-1 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 10 Mar 16 06:00 lrwxrwxrwx 1 root root 10 Jul 5 2015 lrwxrwxrwx 1 root root 9 Jul 5 2015 lrwxrwxrwx 1 root root 9 Mar 16 06:00 lrwxrwxrwx 1 root root 9 Jul 5 2015 wwn-0x5000c5007abd9c20 -> ../../sdb lrwxrwxrwx 1 root root 9 Jul 5 2015 lrwxrwxrwx 1 root root 9 Mar 16 06:00 pulled your changes: root@kali:~/megamap/megamap# ./megamap 0 ? ??? 1 ? ??? 2 ? ??? 3 ? ??? 4 ? ??? 5 ? ??? 6 ? ??? 7 ? ??? So, some progress. Hope this helps. Let me know if you need more. David- Two things are infinite: the universe and human stupidity; and I'm not sure |
That helps. I'm slammed this week, but I will dig in more when I get a chance. |
@chicks-net any luck with this? otherwise I may need to step in :) |
@bwitt I'd be happy for someone to shine a light on this. I've been meaning to turn David's files into debugging files but I haven't gotten that far yet. In glancing at the output just now it looks like David: what kernel version are you on? |
That script David mentioned does work for my RAID setup (shows the linux device) but not the JBOD ones: |
Hi all, sorry for reviving this, but I'm seeing the same thing on a fully updated jessie, running kernel 3.16.36-1+deb8u2 |
Howdy camypaj, It does seem like a fresh issue would be good for this. Please include the output from:
The newly included script |
Use of uninitialized value $linux in concatenation (.) or string at ./megamap line 84.
0 ?
This is output for me from megamap.
Not sure if this will help:
root@kali:~/megamap/megamap# megaclisas-status
-- Controller information --
-- ID | H/W Model | RAM | Temp | BBU | Firmware
c0 | PERC H800 Adapter | 512MB | N/A | Good | FW: 12.10.6-0001
-- Array information --
-- ID | Type | Size | Strpsz | Flags | DskCache | Status | OS Path | InProgress
c0u0 | RAID-10 | 7276G | 64 KB | ADRA,WB | Default | Optimal | /dev/sda | None
-- Disk information --
-- ID | Type | Drive Model | Size | Status | Speed | Temp | Slot ID | LSI Device ID
c0u0s0p0 | HDD | SEAGATE ST4000NM0023 GS0DZ1Z44GB3 | 3.637 TB | Online, Spun Up | 6.0Gb/s | 34C | [13:0] | 12
c0u0s0p1 | HDD | SEAGATE ST4000NM0023 GS0DZ1Z44JCA | 3.637 TB | Online, Spun Up | 6.0Gb/s | 36C | [13:1] | 11
c0u0s1p0 | HDD | SEAGATE ST4000NM0023 GS0DZ1Z43ZCY | 3.637 TB | Online, Spun Up | 6.0Gb/s | 35C | [13:2] | 9
c0u0s1p1 | HDD | SEAGATE ST4000NM0023 GS0DZ1Z44H2Y | 3.637 TB | Online, Spun Up | 6.0Gb/s | 33C | [13:3] | 10
-- Unconfigured Disk information --
-- ID | Type | Drive Model | Size | Status | Speed | Temp | Slot ID | LSI Device ID
c0uXpY | HDD | SEAGATE ST4000NM0023 GS10S1Z1KZM7 | 3.637 TB | Unconfigured(good), Spun Up | 6.0Gb/s | 35C | [13:4] | 14
c0uXpY | HDD | SEAGATE ST4000NM0023 GS10S1Z1KX7M | 3.637 TB | Unconfigured(good), Spun Up | 6.0Gb/s | 34C | [13:5] | 15
c0uXpY | HDD | SEAGATE ST4000NM0023 GS10S1Z1KZB1 | 3.637 TB | Unconfigured(good), Spun Up | 6.0Gb/s | 33C | [13:6] | 16
c0uXpY | HDD | SEAGATE ST4000NM0023 GS10S1Z1L05Y | 3.637 TB | Unconfigured(good), Spun Up | 6.0Gb/s | 31C | [13:7] | 17
The text was updated successfully, but these errors were encountered: