免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 1621 | 回复: 12
打印 上一主题 下一主题

怎样将做过raid后的物理硬盘信息找到。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-14 10:55 |只看该作者 |倒序浏览
PC SERVER
OS:Linux AS 3.0
DISK:2*36G
做的raid 1
有什么办法找出物理磁盘的信息吗?

论坛徽章:
0
2 [报告]
发表于 2005-12-14 16:18 |只看该作者
bios,dmesg

论坛徽章:
0
3 [报告]
发表于 2005-12-14 17:48 |只看该作者

我已经试过了.还是不行.

很感谢您的回复 ,我已经用dmesg试过了.但只能拿到做过raid后的磁盘信息.

论坛徽章:
0
4 [报告]
发表于 2005-12-15 00:03 |只看该作者
你重启服务器的时候不是有提示么,第2个提示的时候再.ctrl + A 不就可以看了么 !

论坛徽章:
0
5 [报告]
发表于 2005-12-15 15:07 |只看该作者
现在是要在系统一级的情况下获取相关信息.并且这些服务器在一个机架里面,是没有显示器的.另外现在进机房手续比较多,以下是我用dmesg拿的信息
APIC ID to 9 ... ok.
Setting 10 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 10 ... ok.
Setting 11 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 11 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 8-0, 9-0, 9-1, 9-2, 9-3, 9-4, 9-5, 9-6, 9-7, 9-8, 9-9, 9-10, 9-11, 9-12, 9-13, 9-14, 9-15, 10-0, 10-1, 10-2, 10-3, 10-4, 10-5, 10-6, 10-7, 10-8, 10-9, 10-10, 10-11, 10-12, 10-13, 10-14, 10-15, 11-0, 11-1, 11-2, 11-3, 11-4, 11-5, 11-6, 11-7, 11-8, 11-9, 11-10, 11-11, 11-12, 11-13, 11-14, 11-15 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 16.
number of IO-APIC #8 registers: 16.
number of IO-APIC #9 registers: 16.
number of IO-APIC #10 registers: 16.
number of IO-APIC #11 registers: 16.
testing the IO APIC.......................

IO APIC #8......
.... register #00: 08000000
.......    : physical APIC id: 08
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 000F0011
.......     : max redirection entries: 000F
.......     : PRQ implemented: 0
.......     : IO APIC version: 0011
.... register #02: 08000000
.......     : arbitration: 08
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
00 000 00  1    0    0   0   0    0    0    00
01 00F 0F  0    0    0   0   0    1    1    39
02 00F 0F  0    0    0   0   0    1    1    31
03 00F 0F  1    1    0   1   0    1    1    41
04 00F 0F  0    0    0   0   0    1    1    49
05 00F 0F  1    1    0   1   0    1    1    51
06 00F 0F  0    0    0   0   0    1    1    59
07 00F 0F  1    1    0   1   0    1    1    61
08 00F 0F  0    0    0   0   0    1    1    69
09 00F 0F  1    1    0   1   0    1    1    71
0a 00F 0F  1    1    0   1   0    1    1    79
0b 00F 0F  1    1    0   1   0    1    1    81
0c 00F 0F  0    0    0   0   0    1    1    89
0d 00F 0F  0    0    0   0   0    1    1    91
0e 00F 0F  0    0    0   0   0    1    1    99
0f 00F 0F  0    0    0   0   0    1    1    A1

IO APIC #9......
.... register #00: 09000000
.......    : physical APIC id: 09
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 000F0011
.......     : max redirection entries: 000F
.......     : PRQ implemented: 0
.......     : IO APIC version: 0011
.... register #02: 09000000
.......     : arbitration: 09
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
00 000 00  1    0    0   0   0    0    0    00
01 000 00  1    0    0   0   0    0    0    00
02 000 00  1    0    0   0   0    0    0    00
03 000 00  1    0    0   0   0    0    0    00
04 000 00  1    0    0   0   0    0    0    00
05 000 00  1    0    0   0   0    0    0    00
06 000 00  1    0    0   0   0    0    0    00
07 000 00  1    0    0   0   0    0    0    00
08 000 00  1    0    0   0   0    0    0    00
09 000 00  1    0    0   0   0    0    0    00
0a 000 00  1    0    0   0   0    0    0    00
0b 000 00  1    0    0   0   0    0    0    00
0c 000 00  1    0    0   0   0    0    0    00
0d 000 00  1    0    0   0   0    0    0    00
0e 000 00  1    0    0   0   0    0    0    00
0f 000 00  1    0    0   0   0    0    0    00

论坛徽章:
0
6 [报告]
发表于 2005-12-15 15:08 |只看该作者
IO APIC #10......
.... register #00: 0A000000
.......    : physical APIC id: 0A
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 000F0011
.......     : max redirection entries: 000F
.......     : PRQ implemented: 0
.......     : IO APIC version: 0011
.... register #02: 0A000000
.......     : arbitration: 0A
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
00 000 00  1    0    0   0   0    0    0    00
01 000 00  1    0    0   0   0    0    0    00
02 000 00  1    0    0   0   0    0    0    00
03 000 00  1    0    0   0   0    0    0    00
04 000 00  1    0    0   0   0    0    0    00
05 000 00  1    0    0   0   0    0    0    00
06 000 00  1    0    0   0   0    0    0    00
07 000 00  1    0    0   0   0    0    0    00
08 000 00  1    0    0   0   0    0    0    00
09 000 00  1    0    0   0   0    0    0    00
0a 000 00  1    0    0   0   0    0    0    00
0b 000 00  1    0    0   0   0    0    0    00
0c 000 00  1    0    0   0   0    0    0    00
0d 000 00  1    0    0   0   0    0    0    00
0e 000 00  1    0    0   0   0    0    0    00
0f 000 00  1    0    0   0   0    0    0    00

IO APIC #11......
.... register #00: 0B000000
.......    : physical APIC id: 0B
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 000F0011
.......     : max redirection entries: 000F
.......     : PRQ implemented: 0
.......     : IO APIC version: 0011
.... register #02: 0B000000
.......     : arbitration: 0B
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
00 000 00  1    0    0   0   0    0    0    00
01 000 00  1    0    0   0   0    0    0    00
02 000 00  1    0    0   0   0    0    0    00
03 000 00  1    0    0   0   0    0    0    00
04 000 00  1    0    0   0   0    0    0    00
05 000 00  1    0    0   0   0    0    0    00
06 000 00  1    0    0   0   0    0    0    00
07 000 00  1    0    0   0   0    0    0    00
08 000 00  1    0    0   0   0    0    0    00
09 000 00  1    0    0   0   0    0    0    00
0a 000 00  1    0    0   0   0    0    0    00
0b 000 00  1    0    0   0   0    0    0    00
0c 000 00  1    0    0   0   0    0    0    00
0d 000 00  1    0    0   0   0    0    0    00
0e 000 00  1    0    0   0   0    0    0    00
0f 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.

论坛徽章:
0
7 [报告]
发表于 2005-12-15 15:09 |只看该作者
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1999.8839 MHz.
..... host bus clock speed is 99.9940 MHz.
cpu: 0, clocks: 999940, slice: 199988
CPU0<T0:999936,T1:799936,D:12,S:199988,C:999940>
cpu: 2, clocks: 999940, slice: 199988
cpu: 3, clocks: 999940, slice: 199988
cpu: 1, clocks: 999940, slice: 199988
CPU1<T0:999936,T1:599952,D:8,S:199988,C:999940>
CPU2<T0:999936,T1:399968,D:4,S:199988,C:999940>
CPU3<T0:999936,T1:199984,D:0,S:199988,C:999940>
WARNING: No sibling found for CPU 0.
WARNING: No sibling found for CPU 1.
WARNING: No sibling found for CPU 2.
WARNING: No sibling found for CPU 3.
zapping low mappings.
Process timing init...done.
Starting migration thread for cpu 0
Starting migration thread for cpu 1
Starting migration thread for cpu 2
Starting migration thread for cpu 3
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs
PCI: PCI BIOS revision 2.10 entry at 0xf0094, last bus=13
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 00:0f.1
PCI: Discovered peer bus 01
PCI: Discovered peer bus 02
PCI: Discovered peer bus 06
PCI: Discovered peer bus 0a
PCI: Device 00:00 not found by BIOS
PCI: Device 00:01 not found by BIOS
PCI: Device 00:02 not found by BIOS
PCI: Device 00:03 not found by BIOS
PCI: Device 00:78 not found by BIOS
PCI: Device 00:7b not found by BIOS
PCI: Device 00:80 not found by BIOS
PCI: Device 00:82 not found by BIOS
PCI: Device 00:88 not found by BIOS
PCI: Device 00:8a not found by BIOS
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS not found.
Total HugeTLB memory allocated, 0
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
aio_setup: num_physpages = 524287
aio_setup: sizeof(struct page) = 60
Hugetlbfs mounted.
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0 with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 256 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SvrWks CSB5: IDE controller at PCI slot 00:0f.1
SvrWks CSB5: chipset revision 147
SvrWks CSB5: not 100% native mode: will probe irqs later
SvrWks CSB5: simplex device: DMA forced
    ide0: BM-DMA at 0x2000-0x2007, BIOS settings: hda:pio, hdb:pio
SvrWks CSB5: simplex device: DMA forced
    ide1: BM-DMA at 0x2008-0x200f, BIOS settings: hdc:pio, hdd:pio
hda: COMPAQ CD-ROM SN-124, ATAPI CD/DVD-ROM drive
hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hda: set_drive_speed_status: error=0x04
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide-floppy driver 0.99.newide
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.

论坛徽章:
0
8 [报告]
发表于 2005-12-15 15:10 |只看该作者
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 65536 buckets, 512Kbytes
TCP: Hash tables configured (established 524288 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
Initializing IPsec netlink socket
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 253k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
HP CISS Driver (v 2.4.54.RH1)
cciss: Device 0xb178 has been found at bus 1 dev 1 func 0
      blocks= 71122560 block_size= 512
      heads= 255, sectors= 32, cylinders= 8716 RAID 1(0+1)

blk: queue c04fefa0, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
Partition check:
cciss/c0d0: p1 p2 p3 p4 < p5 p6 p7 p8 >
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 228k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xf8891000, IRQ 7
usb-ohci.c: usb-00:0f.2, ServerWorks OSB4/CSB5 OHCI USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 4 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,1), internal journal
Adding Swap: 4194216k swap-space (priority -1)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on cciss0(104,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
IA-32 Microcode Update Driver: v1.13 <tigran@veritas.com>
microcode: CPU0 already at revision 0x2a (current=0x2a)
microcode: CPU1 already at revision 0x2a (current=0x2a)
microcode: CPU2 already at revision 0x2a (current=0x2a)
microcode: CPU3 already at revision 0x2a (current=0x2a)
microcode: No suitable data for cpu 0
microcode: No suitable data for cpu 2
microcode: No suitable data for cpu 3
microcode: No suitable data for cpu 1
inserting floppy driver for 2.4.21-32.ELsmp
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
tg3.c:v3.22RH (February 11, 2005)
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(284685-001) rev 0105 PHY(5701)] (PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:02:a5:e7:16:30
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
divert: allocating divert_blk for eth1
eth1: Tigon3 [partno(284685-001) rev 0105 PHY(5701)] (PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:02:a5:e7:1c:df
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
divert: allocating divert_blk for eth2
eth2: Tigon3 [partno(284685-003) rev 0105 PHY(5701)] (PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:0b:cd:ff:a5:23
eth2: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
divert: freeing divert_blk for eth0
divert: freeing divert_blk for eth1
divert: freeing divert_blk for eth2
ip_tables: (C) 2000-2002 Netfilter core team
tg3.c:v3.22RH (February 11, 2005)
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(284685-001) rev 0105 PHY(5701)] (PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:02:a5:e7:16:30
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
divert: allocating divert_blk for eth1
eth1: Tigon3 [partno(284685-001) rev 0105 PHY(5701)] (PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:02:a5:e7:1c:df
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
divert: allocating divert_blk for eth2
eth2: Tigon3 [partno(284685-003) rev 0105 PHY(5701)] (PCIX:100MHz:64-bit) 10/100/1000BaseT Ethernet 00:0b:cd:ff:a5:23
eth2: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
ip_tables: (C) 2000-2002 Netfilter core team
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
lp: driver loaded but no devices found
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
audit subsystem ver 0.1 initialized
mtrr: type mismatch for f6000000,800000 old: uncachable new: write-combining
mtrr: type mismatch for f6000000,800000 old: uncachable new: write-combining
mtrr: type mismatch for f6000000,800000 old: uncachable new: write-combining
mtrr: type mismatch for f6000000,800000 old: uncachable new: write-combining
ide-floppy driver 0.99.newide
hda: attached ide-cdrom driver.
hda: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
cdrom: This disc doesn't have any tracks I recognize!
loop: loaded (max 8 devices)
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
ip_tables: (C) 2000-2002 Netfilter core team
Ethernet Channel Bonding Driver: v2.6.0 (January 14, 2004)
bonding: MII link monitoring set to 100 ms
divert: allocating divert_blk for bond0
ip_tables: (C) 2000-2002 Netfilter core team
bonding: bond0: enslaving eth0 as a backup interface with a down link.
bonding: bond0: enslaving eth1 as a backup interface with a down link.
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
bonding: bond0: link status definitely up for interface eth0.
bonding: bond0: making interface eth0 the new active one.
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
nfsd: last server has exited
nfsd: unexporting all filesystems

论坛徽章:
0
9 [报告]
发表于 2005-12-15 15:12 |只看该作者
在这里先谢谢大家的帮忙了!那些服务器都是HPDL580 ,以上执行dmesg命令的服务器上是两块36G硬盘做的raid1

论坛徽章:
0
10 [报告]
发表于 2005-12-15 15:45 |只看该作者
不好意思,我的标题有点问题,应该是将做raid前的物理磁盘信息拿到.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP