Andrew Hadinyoto wrote:
On Thu, May 27, 2004 at 11:04:18PM +1000, Ronny Haryanto wrote:
On Thu, May 27, 2004 at 07:41:07PM +0700, Agus Budy Wuysang wrote:
M.ASKARI.A wrote:
Dear all,
Rekan2 ada yang tau (command console) cara ngecek HD yang ada dalam 1
unit komp?.
Tapi ini juga kurang akurat, karena anda tidak tahu jenis raid
(& physical disk) yang digunakan untuk logical raid disk.
Kalo pake devfs tinggal 'ls -l /dev/discs/' kan yah?
Ini contoh di komp saya dg dua hd ide:
[EMAIL PROTECTED]:~# ls -l /dev/discs/
total 0
lr-xr-xr-x 1 root root 30 Jan 1 1970 disc0 -> ../ide/host0/bus0/target0/lun0/
lr-xr-xr-x 1 root root 30 Jan 1 1970 disc1 -> ../ide/host0/bus0/target1/lun0/
devfs salah satu solusi, tapi tetap tidak akurat
untuk HARDWARE raid.
Terkecuali driver specific (/proc/driver/*) punya info detail
tentang "physical raid layout" untuk tiap raid logical disk,
compaq smartarray saja hanya list logical raid disks, kapasitas &
serta jenis raid yang digunakan...
~# cat /proc/driver/cciss/cciss0
cciss0: HP Smart Array 6400 Controller
Board ID: 0x409c0e11
Firmware Version: 1.92
IRQ: 10
Logical drives: 2
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 128
Max # commands on controller since init: 128
Max SG entries since init: 31
Monitor thread period: 0
Monitor thread deadline: 0
Status: operational
cciss/c0d0: 34.72GB RAID 1(0+1)
cciss/c0d1: 34.72GB RAID 1(0+1)
2 logical drives with RAID1 -> belum tentu mirror dengan 2 hd,
c0d0 adalah raid1 redundant 4 hd, begitupula dengan c0d1,
total 8 hd untuk c0 (controller 0).
Atau bisa juga (kalo nggak pake devfs) di lihat di /proc/devices bagian
Block devices (tinggal dibuang aja bagian yg nggak perlu)
prompt:~# cat /proc/devices
...
Block devices:
1 ramdisk
2 fd
3 ide0
22 ide1
Tapi tetap require anda memprobe ide0 untuk hda & hdb kan?
kalau tidak gimana tau ada berapa disk/cd/tape yang terpasang?
--
+-R-| Mozilla 1.6 Gecko20040116 |-H-| Powered by Linux 2.4.x |-9-+
|/v\ Agus Budy Wuysang MIS Department |
| | Phone: +62-21-344-1316 ext 317 Mobile: +62-816-1972-051 |
+------------| http://www.fasw.co.id/person/supes/ |-------------+
--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php