wait, you have a new system and it doesn't show a /proc/mdstat file?
Can you first of all confirm that it missing: cat /proc/mdstat want to make sure I didn't make a mistake there. Good point on the -b output, that should probably show nothing, agreed, if no data, or if no file. The lenovo is reporting what lenovo entered for each space, it's not incorrect, the mobo is lenovo, etc. Just like it could be hp, or gigabyte, or tyan. So there's no error there and nothing to correct. It's just not that interesting to see, but it is correct. Back to top |
|||||
:: Code :: cat /proc/mdstat
cat: /proc/mdstat: No such file or directory also the system is not that new , it's from 2007-2008 something like that, here is the complete inxi if it helps. :: Code :: inxi -Fz
System: Host: antiX Kernel: 3.3.0-5.dmz.1-liquorix-686 i686 (32 bit) Desktop: Fluxbox 1.3.2 Distro: unstable Machine: System: LENOVO (portable) product: 89329WU version: ThinkPad R61/R61i Mobo: LENOVO model: 89329WU Bios: LENOVO version: 7OETC3WW (2.23 ) date: 05/12/2009 CPU: Dual core Intel Core2 Duo CPU T5250 (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 ssse3) Clock Speeds: 1: 1000.00 MHz 2: 1000.00 MHz Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary) X.Org: 1.12.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1280x800@60.0hz GLX Renderer: Mesa DRI Intel 965GM x86/MMX/SSE2 GLX Version: 2.1 Mesa 8.0.2 Audio: Card: Intel 82801H (ICH8 Family) HD Audio Controller driver: snd_hda_intel Sound: ALSA ver: 1.0.24 Network: Card-1: Broadcom NetLink BCM5787M Gigabit Ethernet PCI Express driver: tg3 IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> Card-2: Intel PRO/Wireless 3945ABG [Golan] Network Connection driver: iwl3945 IF: wlan0 state: down mac: <filter> Drives: HDD Total Size: 120.0GB (37.2% used) 1: id: /dev/sda model: HITACHI_HTS54161 size: 120.0GB Partition: ID: / size: 2.0G used: 1.3G (64%) fs: ext4 RAID: Error: No /proc/mdstat file detected! Sensors: System Temperatures: cpu: 42.0C mobo: 35.0C Fan Speeds (in rpm): cpu: 3030 Info: Processes: 92 Uptime: 1:46 Memory: 272.4/999.4MB Client: Shell inxi: 1.8.0 Back to top |
|||||
Great, thanks, I actually only added in the missing /proc/mdstat test at the very last minute, glad I did.
1.8.1, removed RAID if either no devices found, or if no /proc/mdstat file exists. I tend to get a bit overenthusiastic about new features and showing them all off, but you were correct to note that -b should not show extra output that gives no real useful information. Back to top |
|||||
By the way, I had thought that /proc/mdstat was a file generated by the kernel, I see you are running everything new and up to date, apparently that assumption is not correct.
Here's what my /proc/mdstat looks like, similar os/kernel, pc hardware: :: Code :: cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] unused devices: <none> I had assumed all new kernels would show that if no raid was present, but your example clearly shows that assumption on my part was wrong. Always something to learn with new features, but I am glad I decided to handle what I thought would be highly fringe cases of no /proc/mdstat I do see an error on the distro line, that should be showing either antix or Debian unstable, not just: unstable. Do you have the file: /etc/antix-version and what is its contents, and do you have: /etc/issue and what is its content? or do you have: /etc/lsb-release and what is its content? /etc/issue should be something like this: :: Code :: cat /etc/issue
Debian GNU/Linux wheezy/sid \n \l Here's a sample, I bypassed the sidux distro output and made it show just debian: :: Code :: System: Host: ferd Kernel: 3.2.0-5.dmz.3-liquorix-686 i686 (32 bit)
Desktop: KDE 3.5.10 Distro: Debian GNU/Linux wheezy/sid Info: Processes: 219 Uptime: 1:41 Memory: 2201.5/3166.3MB Client: Shell inxi: 1.8.1 Back to top |
|||||
there is no error, the /etc/antix-version is modified by me to show unstable, because text was to long for my taste. also the hostname is already antiX. /etc/issue and /etc/issue.net are empty, so they don't give away something in tty. inxi shows the correct info on a standard install of antiX in all the files.
i updated inxi to the new version and the error about raid from -b is gone, but it's still present in -F. if i get to a computer configured in raid i will test to see the output of the new feature. thanks for addressing the issue so fast. Back to top |
|||||
thanks for confirming, for -F it should show that, since it's more full output, and it is information to show that no raid is present, as with no audio card, no networking, etc.
-F basically shows all uppercase option line outputs, including now -R, and those are never not shown since the data that there is no such device is also very useful data to have at times. Inxi is now at 1.8.2 after fixing a small glitch that someone else's data exposed. Back to top |
|||||
This is just for information.
:: Code :: inxi -F
System: Host: antiX1 Kernel: 3.3.5-antix.1-486-smp i686 (32 bit) Desktop: wmii 3.9.2 Distro: antiX-base 04 March 2012 Machine: Mobo: MICRO-STAR INTERANTIONAL model: MS-7367 version: 1.0 Bios: American Megatrends version: V3.3 date: 11/05/2007 CPU: Dual core AMD Athlon 64 X2 4200+ (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 svm) Clock Speeds: 1: 1000.00 MHz 2: 1000.00 MHz Graphics: Card: NVIDIA G98 [GeForce 8400 GS] X.Org: 1.12.1 driver: nvidia Resolution: 1280x1024@50.0hz GLX Renderer: GeForce 8400 GS/PCIe/SSE2/3DNOW! GLX Version: 3.3.0 NVIDIA 295.49 Audio: Card-1: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) driver: snd_hda_intel Card-2: Microsoft LifeCam VX-1000 driver: USB Audio Sound: Advanced Linux Sound Architecture ver: 1.0.24 Network: Card: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169 IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:1d:92:80:80:86 Drives: HDD Total Size: 480.1GB (26.6% used) 1: id: /dev/sda model: WDC_WD1600AAJS size: 160.0GB 2: id: /dev/sdb model: ST3320620AS size: 320.1GB Partition: ID: / size: 40G used: 19G (49%) fs: ext4 ID: swap-1 size: 1.09GB used: 0.00GB (0%) fs: swap RAID: Error: No /proc/mdstat file detected! Sensors: System Temperatures: cpu: 40.0C mobo: N/A gpu: 48C Fan Speeds (in rpm): cpu: N/A Info: Processes: 88 Uptime: 14 min Memory: 260.8/3040.9MB Client: Shell inxi: 1.8.2 Back to top |
|||||
By the way, I should include some samples, here's some from my dev version:
:: Code :: inxi -R
RAID: Device-1: /dev/md0 - active raid: 1 components: 2/2 - sdb1 sda1 Device-2: /dev/md125 - active raid: 6 components: 6/6 - sdk1 sdp1 sdo1 sdm1 sdn1 sdl1 spare: sdr1 Device-3: /dev/md126 - active (auto-read-only) raid: 1 components: 2/1 - sdq1 Device-4: /dev/md127 - active raid: 6 components: 8/8 - sdj1 sdc1 sdi1 sdg1 sdd1 sde1 sdh1 sdf1 ######################################## inxi -Rx RAID: Device-1: /dev/md0 - active components: sdb1[2] sda1[0] Info: raid: 1 report: 2/2 blocks: 175778744 chunk size: N/A Device-2: /dev/md125 - active components: sdk1[4] sdp1[2] sdo1[0] sdm1[3] sdn1[1] sdl1[5] spare: sdr1[6] Info: raid: 6 report: 6/6 blocks: 7814047744 chunk size: 256k Device-3: /dev/md126 - active (auto-read-only) components: sdq1[0] Info: raid: 1 report: 2/1 blocks: 195310080 chunk size: N/A Device-4: /dev/md127 - active components: sdj1[2] sdc1[1] sdi1[3] sdg1[5] sdd1[0] sde1[6] sdh1[7] sdf1[4] Info: raid: 6 report: 8/8 blocks: 5860559616 chunk size: 64k ############################ inxi -Rxx RAID: System: supported: linear multipath raid0 raid1 raid6 raid5 raid4 raid10 Device-1: /dev/md0 - active components: sdb1[2] sda1[0] Info: raid: 1 report: 2/2 UU blocks: 175778744 chunk size: N/A super blocks: 1.2 Device-2: /dev/md125 - active components: sdk1[4] sdp1[2] sdo1[0] sdm1[3] sdn1[1] sdl1[5] spare: sdr1[6] Info: raid: 6 report: 6/6 UUUUUU blocks: 7814047744 chunk size: 256k algorithm: 2 Device-3: /dev/md126 - active (auto-read-only) components: sdq1[0] Info: raid: 1 report: 2/1 U_ blocks: 195310080 chunk size: N/A algorithm: 2 Device-4: /dev/md127 - active components: sdj1[2] sdc1[1] sdi1[3] sdg1[5] sdd1[0] sde1[6] sdh1[7] sdf1[4] Info: raid: 6 report: 8/8 UUUUUUUU blocks: 5860559616 chunk size: 64k algorithm: 2 Unused Devices: none ############################ inxi -b (just showing the R line, which uses a special -b short formatting) RAID: Devices: 1: /dev/md0 2: /dev/md125 3: /dev/md126 4: /dev/md127 ############################ ## and here's a sample showing the rebuild output, which is important: inxi -R RAID: Device-1: /dev/md0 - active raid: 6 components: 8/7 - sde1 sdh1 sdc1 sdb1 sdd1 sdg1 sdf1 sda1 spare: sdq1 Recovering: 99.5% time remaining: 3.1 min Device-2: /dev/md1 - active raid: 6 components: 8/8 - sdp1 sdm1 sdk1 sdi1 sdl1 sdn1 sdj1 sdr1 ############################ inxi -Rx RAID: Device-1: /dev/md0 - active components: sde1[4] sdh1[8] sdc1[2] sdb1[1] sdd1[3] sdg1[6] sdf1[5] sda1[0] spare: sdq1[9] Info: raid: 6 report: 8/7 blocks: 5860559616 chunk size: 64k Recovering: 99.5% sectors: 972091272/976759936 time remaining: 3.1 min Device-2: /dev/md1 - active components: sdp1[6] sdm1[4] sdk1[2] sdi1[0] sdl1[3] sdn1[5] sdj1[1] sdr1[7] Info: raid: 6 report: 8/8 blocks: 5860559616 chunk size: 64k ############################ inxi -Rxx RAID: System: supported: linear multipath raid0 raid1 raid6 raid5 raid4 raid10 Device-1: /dev/md0 - active components: sde1[4] sdh1[8] sdc1[2] sdb1[1] sdd1[3] sdg1[6] sdf1[5] sda1[0] spare: sdq1[9] Info: raid: 6 report: 8/7 UUUUUUU_ blocks: 5860559616 chunk size: 64k algorithm: 2 Recovering: 99.5% [===================>.] sectors: 972091272/976759936 time remaining: 3.1 min speed: 24989 K/sec Device-2: /dev/md1 - active components: sdp1[6] sdm1[4] sdk1[2] sdi1[0] sdl1[3] sdn1[5] sdj1[1] sdr1[7] Info: raid: 6 report: 8/8 UUUUUUUU blocks: 5860559616 chunk size: 64k algorithm: 2 Unused Devices: none and that's that, handles most every format and syntax I've yet found. Back to top |
|||||
Oh, I should mention also that inxi now has a man page, both the text file and the gz actual man file on svn.
You can download it if you don't have an inxi package, and install it here, at least that's where it is on debian: /usr/share/man/man8 The gz is called: inxi.8.gz and can be direct downloaded here Simply download that, then as root, mv to the man directory, then type: man inxi and there it is! Linux Mint if they get the new cathbard inxi package will have this automatically, and siduction users if they update once the man stuff is in the siduction package will also get it. Currently the man page is pretty much the --help menus plus a few extra bits of info, but over time it might have more information on it. Back to top |
|||||
antiX users will also get it as part of the inxi-gui.deb package
Back to top |
|||||
All times are GMT - 8 Hours
|