Anda di halaman 1dari 12

Belajar Melepas Storage External (SAN) yang sudah tidak dipergunakan

(Studi kasus O.S RHEL)


Suatu ketika server yang anda manage sebutlah hostname server tersebut adalah
toiletumum, terhubung ke dua perangkat storage yang berbeda. Storage pertama
dihubungkan dan dimountpoint dengan nama /bayar_seribu sedangkan storage kedua
dimountpoint dengan nama /bayar_duaribu, Berhubung storage pertama sudah tidak
dipergunakan dan data sudah dimigrasi kestorage baru, maka diputuskan agar mount
point /bayar_seribu, akan dilepas dan tidak pergunakan lagi. Kali ini saya akan
berbagi pengalaman bagaimana melepas mount point tersebut secara bersih, sehingga
tidak ada pesan error yang timbul di /var/log/messages. Pekerjaan yang saya lakukan
mengacu pada ref[1].
1. Cek
a)
b)
c)
d)
e)

kondisi dan informasi server :


Df h
Physical Volumes scan
Volume Group scan
Logical Volume scan
Multipath ll

2. Pastikan tidak ada user/aplikasi yang sedang mengakses data dimount point
/bayar_seribu
a) fuser cu /bayar_seribu
b) kill (pid)
3. Unmount filesystem tersebut
a) umount /bayar_seribu
4. Hapus device
a) vgchange
b) lvremove
c) vgreduce
d) pvremove

lun tersebut dari LVM


-an /dev/(vgname)
(lvname)
(vgname) (disk name)
(disk name)

5. Hapus device lun tersebut dari multipath


a) multipath -ll
b) multipath -f (lun device)
6. Flush any outstanding IO
a) blockdev --flushbufs device
7. Hapus hba path device lun tersebut
a) *sd[x] adalah device lun yang mau dihapus
b) cat /sys/block/ sd[x] /device/state
c) echo offline > /sys/block/ sd[x] /device/state
d) echo 1 > /sys/block/ sd[x] /device/delete
8. Delete mount point di /etc/fstab
9. Cabut Fisik Cable FC yang terhubung ke server
Ref:
[1]. https://access.redhat.com/site/documentation/enUS/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/removing_de
vices.html, (Diakses Juni 2014)
[2]. http://dudulz.wordpress.com/2013/06/26/sop-untuk-menghapus-lun-pada-linux/,
(Diakses Juni 2014)

Contoh pekerjaan yang diambil dari console:


---------------------------------------------------------------------------1. [a]
[root@toiletumum ~]# df -h
Filesystem
Size

Used Avail Use% Mounted on

. . .
/dev/mapper/vg01-lv00
394G 311G
/dev/mapper/abc--vg-bayar_duribu
3.9T 271G
. . .

64G

84% /bayar_seribu

3.5T

8% /bayar_duribu

[root@toiletumum ~]#
---------------------------------------------------------------------------1. [b]
[root@toiletumum ~]# pvscan
PV /dev/dm-5
VG vg01
lvm2 [200.88 GB / 0
free]
PV /dev/dm-6
VG vg01
lvm2 [199.88 GB / 768.00 MB free]
PV /dev/dm-4
VG abc-vg
lvm2 [3.91 TB / 0
free]
PV /dev/cciss/c0d0p2
VG VolGroup00
lvm2 [546.69 GB / 225.44 GB free]
Total: 4 [2.83 TB] / in use: 4 [2.83 TB] / in no VG: 0 [0
]
---------------------------------------------------------------------------1. [c]
[root@toiletumum ~]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg01" using metadata type lvm2
Found volume group "abc-vg" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
[root@toiletumum ~]#
---------------------------------------------------------------------------1. [d]
[root@toiletumum ~]#
[root@toiletumum ~]# lvscan
ACTIVE
'/dev/vg01/lv00' [400.00 GB] inherit
ACTIVE
'/dev/abc-vg/bayar_duribu' [3.91 TB] inherit
ACTIVE
'/dev/VolGroup00/LV00' [15.62 GB] inherit
ACTIVE
'/dev/VolGroup00/LV05' [195.31 GB] inherit
ACTIVE
'/dev/VolGroup00/LS01' [70.31 GB] inherit
ACTIVE
'/dev/VolGroup00/LV02' [40.00 GB] inherit
[root@toiletumum ~]#
----------------------------------------------------------------------------------1. [e]
[root@toiletumum ~]# multipath -ll
3600601606d803000b8e80b78feb0e311 dm-4 DGC,VRAID
[size=3.9T][features=1 queue_if_no_path][hwhandler=1 abc][rw]
\_ round-robin 0 [prio=2][active]

\_ 2:0:0:0 sda 8:0


[active][ready]
\_ 3:0:0:0 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:0 sdb 8:16 [active][ready]
\_ 3:0:1:0 sdd 8:48 [active][ready]
3600508b40006fe850000600000570000 dm-5 HP,HSV200
[size=201G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 4:0:0:1 sde 8:64 [active][ready]
\_ 5:0:1:1 sdk 8:160 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 4:0:1:1 sdg 8:96 [active][ready]
\_ 5:0:0:1 sdi 8:128 [active][ready]
3600508b40006fe7d0000b00000150000 dm-6 HP,HSV200
[size=200G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 4:0:0:2 sdf 8:80 [active][ready]
\_ 5:0:1:2 sdl 8:176 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 4:0:1:2 sdh 8:112 [active][ready]
\_ 5:0:0:2 sdj 8:144 [active][ready]
[root@toiletumum ~]#
---------------------------------------------------------------------------2. [a]
[root@toiletumum ~]#
[root@toiletumum ~]# fuser -cu /bayar_seribu
[root@toiletumum ~]#
---------------------------------------------------------------------------3. [a]
[root@toiletumum ~]# umount /bayar_seribu
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# df -h
Filesystem
Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LV00
16G
11G 4.2G 72% /
/dev/mapper/VolGroup00-LV05
190G
25G 155G 14% /bayar_seratus
/dev/cciss/c0d0p1
99M
13M
81M 14% /boot
tmpfs
48G
84K
48G
1% /dev/shm
/dev/mapper/abc-vg-bayar_duribu
3.9T 271G 3.5T
8% /bayar_duribu
/dev/mapper/VolGroup00-LV02
40G 854M
37G
3% /opt
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# lvscan
ACTIVE
'/dev/vg01/lv00' [400.00 GB] inherit
ACTIVE
'/dev/abc-vg/bayar_duribu' [3.91 TB] inherit
ACTIVE
'/dev/VolGroup00/LV00' [15.62 GB] inherit
ACTIVE
'/dev/VolGroup00/LV05' [195.31 GB] inherit
ACTIVE
'/dev/VolGroup00/LS01' [70.31 GB] inherit
ACTIVE
'/dev/VolGroup00/LV02' [40.00 GB] inherit
[root@toiletumum ~]#
---------------------------------------------------------------------------4. [a]
[root@toiletumum ~]# vgchange -an /dev/vg01
0 logical volume(s) in volume group "vg01" now active
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# lvscan

inactive
'/dev/vg01/lv00' [400.00 GB] inherit
ACTIVE
'/dev/abc-vg/bayar_duribu' [3.91 TB] inherit
ACTIVE
'/dev/VolGroup00/LV00' [15.62 GB] inherit
ACTIVE
'/dev/VolGroup00/LV05' [195.31 GB] inherit
ACTIVE
'/dev/VolGroup00/LS01' [70.31 GB] inherit
ACTIVE
'/dev/VolGroup00/LV02' [40.00 GB] inherit
[root@toiletumum ~]#
---------------------------------------------------------------------------4. [b]
[root@toiletumum ~]#
[root@toiletumum ~]# lvremove /dev/vg01/lv00
Logical volume "lv00" successfully removed
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# lvscan
ACTIVE
'/dev/abc-vg/bayar_duribu' [3.91 TB] inherit
ACTIVE
'/dev/VolGroup00/LV00' [15.62 GB] inherit
ACTIVE
'/dev/VolGroup00/LV05' [195.31 GB] inherit
ACTIVE
'/dev/VolGroup00/LS01' [70.31 GB] inherit
ACTIVE
'/dev/VolGroup00/LV02' [40.00 GB] inherit
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg01" using metadata type lvm2
Found volume group "abc-vg" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# pvscan
PV /dev/dm-5
VG vg01
lvm2 [200.88 GB / 200.88 GB free]
PV /dev/dm-6
VG vg01
lvm2 [199.88 GB / 199.88 GB free]
PV /dev/dm-4
VG abc-vg
lvm2 [3.91 TB / 0
free]
PV /dev/cciss/c0d0p2
VG VolGroup00
lvm2 [546.69 GB / 225.44 GB free]
Total: 4 [2.83 TB] / in use: 4 [2.83 TB] / in no VG: 0 [0
]
[root@toiletumum ~]#
---------------------------------------------------------------------------4. [c]
[root@toiletumum ~]# vgreduce vg01 /dev/dm-5
Removed "/dev/dm-5" from volume group "vg01"
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# pvscan
PV /dev/dm-6
VG vg01
lvm2 [199.88 GB / 199.88 GB free]
PV /dev/dm-4
VG abc-vg
lvm2 [3.91 TB / 0
free]
PV /dev/cciss/c0d0p2
VG VolGroup00
lvm2 [546.69 GB / 225.44 GB free]
PV /dev/dm-5
lvm2 [201.00 GB]
Total: 4 [2.83 TB] / in use: 3 [2.64 TB] / in no VG: 1 [201.00 GB]
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# vgreduce vg01 /dev/dm-6
Can't remove final physical volume "/dev/dm-6" from volume group "vg01"
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# pvscan
PV /dev/dm-6
VG vg01
lvm2 [199.88 GB / 199.88 GB free]
PV /dev/dm-4
VG abc-vg
lvm2 [3.91 TB / 0
free]
PV /dev/cciss/c0d0p2
VG VolGroup00
lvm2 [546.69 GB / 225.44 GB free]
PV /dev/dm-5
lvm2 [201.00 GB]
Total: 4 [2.83 TB] / in use: 3 [2.64 TB] / in no VG: 1 [201.00 GB]

[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg01" using metadata type lvm2
Found volume group "abc-vg" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
[root@toiletumum ~]#
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# vgreduce vg01 /dev/dm-6
Can't remove final physical volume "/dev/dm-6" from volume group "vg01"
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# vgremove vg01 /dev/dm-6
Volume group "vg01" successfully removed
Volume group "dm-6" not found
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]#
[root@toiletumum ~]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "abc-vg" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# vgscan
PV /dev/dm-4
VG abc-vg
lvm2 [3.91 TB / 0
free]
PV /dev/cciss/c0d0p2
VG VolGroup00
lvm2 [546.69 GB / 225.44 GB free]
PV /dev/dm-5
lvm2 [201.00 GB]
PV /dev/dm-6
lvm2 [200.00 GB]
Total: 4 [2.83 TB] / in use: 2 [2.44 TB] / in no VG: 2 [401.00 GB]
[root@toiletumum ~]#
---------------------------------------------------------------------------4. [d]
[root@toiletumum ~]# pvremove /dev/dm-5
Labels on physical volume "/dev/dm-5" successfully wiped
[root@toiletumum ~]# pvremove /dev/dm-6
Labels on physical volume "/dev/dm-6" successfully wiped
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# pvscan
PV /dev/dm-4
VG abc-vg
lvm2 [3.91 TB / 0
free]
PV /dev/cciss/c0d0p2
VG VolGroup00
lvm2 [546.69 GB / 225.44 GB free]
Total: 2 [2.44 TB] / in use: 2 [2.44 TB] / in no VG: 0 [0
]
[root@toiletumum ~]#
[root@toiletumum ~]#
---------------------------------------------------------------------------5. [a]
[root@toiletumum ~]# multipath -ll
3600601606d803000b8e80b78feb0e311 dm-4 DGC,VRAID
[size=3.9T][features=1 queue_if_no_path][hwhandler=1 abc][rw]
\_ round-robin 0 [prio=2][active]
\_ 2:0:0:0 sda 8:0
[active][ready]
\_ 3:0:0:0 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:0 sdb 8:16 [active][ready]
\_ 3:0:1:0 sdd 8:48 [active][ready]
3600508b40006fe850000600000570000 dm-5 HP,HSV200

[size=201G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 4:0:0:1 sde 8:64 [active][ready]
\_ 5:0:1:1 sdk 8:160 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 4:0:1:1 sdg 8:96 [active][ready]
\_ 5:0:0:1 sdi 8:128 [active][ready]
3600508b40006fe7d0000b00000150000 dm-6 HP,HSV200
[size=200G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 4:0:0:2 sdf 8:80 [active][ready]
\_ 5:0:1:2 sdl 8:176 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 4:0:1:2 sdh 8:112 [active][ready]
\_ 5:0:0:2 sdj 8:144 [active][ready]
[root@toiletumum ~]#
---------------------------------------------------------------------------5. [b]
[root@toiletumum ~]# multipath -f sde
[root@toiletumum ~]# multipath -f sdk
[root@toiletumum ~]# multipath -f sdg
[root@toiletumum ~]# multipath -f sdi
[root@toiletumum ~]# multipath -f sdf
[root@toiletumum ~]# multipath -f sdl
[root@toiletumum ~]# multipath -f sdh
[root@toiletumum ~]# multipath -f sdj
---------------------------------------------------------------------------6. [a]
[root@toiletumum ~]# blockdev --flushbufs /dev/sd sde
[root@toiletumum ~]# blockdev --flushbufs /dev/sd sdk
[root@toiletumum ~]# blockdev --flushbufs /dev/sd sdg
[root@toiletumum ~]# blockdev --flushbufs /dev/sd sdi
[root@toiletumum ~]# blockdev --flushbufs /dev/sd sdf
[root@toiletumum ~]# blockdev --flushbufs /dev/sd sdl
[root@toiletumum ~]# blockdev --flushbufs /dev/sd sdh
[root@toiletumum ~]# blockdev --flushbufs /dev/sd sdj
---------------------------------------------------------------------------8.
[root@toiletumum ~]# cat /etc/fstab
/dev/VolGroup00/LV00
/
ext3
defaults
1 1
/dev/VolGroup00/LV05
/bayar_seratus
ext3
defaults
1 2
LABEL=/boot
/boot
ext3
defaults
1 2
tmpfs
/dev/shm
tmpfs
defaults
0 0
devpts
/dev/pts
devpts gid=5,mode=620 0 0
sysfs
/sys
sysfs
defaults
0 0
proc
/proc
proc
defaults
0 0
/dev/VolGroup00/LS01
swap
swap
defaults
0 0
#/dev/vg01/lv00
/bayar_seribu
ext3
defaults
0 0
/dev/abc-vg/bayar_duribu
/bayar_duribu ext3
defaults
1 2
/dev/VolGroup00/LV02
/opt
ext3
defaults
1 2
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]#reboot
---------------------------------------------------------------------------[root@toiletumum ~]# tail -f /var/log/messages
Apr 11 22:01:09 toiletumum smartd[12061]: Device: /dev/sdi, IE (SMART) not enabled,
skip device Try
'smartctl -s on /dev/sdi' to turn on STUPIDfeatures
Apr 11 22:01:09 toiletumum smartd[12061]: Device: /dev/sdj, opened
Apr 11 22:01:09 toiletumum smartd[12061]: Device: /dev/sdj, IE (SMART) not enabled,
skip device Try

'smartctl -s on /dev/sdj' to turn on STUPIDfeatures


Apr 11 22:01:09 toiletumum smartd[12061]: Device: /dev/sdk, opened
Apr 11 22:01:09 toiletumum smartd[12061]: Device: /dev/sdk, IE (SMART) not enabled,
skip device Try
'smartctl -s on /dev/sdk' to turn on STUPIDfeatures
Apr 11 22:01:09 toiletumum smartd[12061]: Device: /dev/sdl, opened
Apr 11 22:01:09 toiletumum smartd[12061]: Device: /dev/sdl, IE (SMART) not enabled,
skip device Try
'smartctl -s on
Apr 11 22:01:09
Apr 11 22:01:10
New PID=12163.
Apr 11 22:01:10
Not Found
Apr 11 22:01:10
Apr 11 22:01:12
uncachable new:

/dev/sdl' to turn on STUPIDfeatures


toiletumum smartd[12061]: Monitoring 0 ATA and 0 SCSI devices
toiletumum smartd[12163]: smartd has fork()ed into background mode.
toiletumum pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0
toiletumum last message repeated 3 times
toiletumum kernel: mtrr: type mismatch for b8000000,4000000 old:
write-

combining
Apr 11 22:01:27 toiletumum snmpd[7338]: Connection from UDP: [127.0.0.1]:59423
Apr 11 22:01:27 toiletumum snmpd[7338]: Received SNMP packet(s) from UDP:
[127.0.0.1]:59423
Apr 11 22:01:28 toiletumum snmpd[7338]: Connection from UDP: [127.0.0.1]:59423
Apr 11 22:01:28 toiletumum snmpd[7338]: Connection from UDP: [127.0.0.1]:40946
Apr 11 22:01:28 toiletumum snmpd[7338]: Received SNMP packet(s) from UDP:
[127.0.0.1]:40946
Apr 11 22:01:28 toiletumum snmpd[7338]: Connection from UDP: [127.0.0.1]:50905
Apr 11 22:01:28 toiletumum snmpd[7338]: Received SNMP packet(s) from UDP:
[127.0.0.1]:50905
Apr 11 22:01:28 toiletumum snmpd[7338]: Connection from UDP: [127.0.0.1]:50905
Apr 11 22:01:28 toiletumum snmpd[7338]: Connection from UDP: [127.0.0.1]:60657
Apr 11 22:01:28 toiletumum snmpd[7338]: Received SNMP packet(s) from UDP:
[127.0.0.1]:60657
Apr 11 22:01:28 toiletumum snmpd[7338]: Connection from UDP: [127.0.0.1]:38495
Apr 11 22:01:28 toiletumum snmpd[7338]: Received SNMP packet(s) from UDP:
[127.0.0.1]:38495
Apr 11 22:01:44 toiletumum snmpd[7338]: Connection from UDP: [127.0.0.1]:53852
Apr 11 22:01:
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# multipath -ll
sde: checker msg is "tur checker reports path is down"
sdf: checker msg is "tur checker reports path is down"
sdg: checker msg is "tur checker reports path is down"
sdh: checker msg is "tur checker reports path is down"
sdi: checker msg is "tur checker reports path is down"
sdj: checker msg is "tur checker reports path is down"
sdk: checker msg is "tur checker reports path is down"
sdl: checker msg is "tur checker reports path is down"
3600601606d803000b8e80b78feb0e311 dm-4 DGC,VRAID
[size=3.9T][features=1 queue_if_no_path][hwhandler=1 abc][rw]
\_ round-robin 0 [prio=2][active]
\_ 2:0:0:0 sda 8:0
[active][ready]
\_ 3:0:0:0 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:0 sdb 8:16 [active][ready]
\_ 3:0:1:0 sdd 8:48 [active][ready]
3600508b40006fe850000600000570000 dm-5 HP,HSV200
[size=201G][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 4:0:0:1 sde 8:64 [failed][faulty]
\_ 5:0:1:1 sdk 8:160 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
\_ 4:0:1:1 sdg 8:96 [failed][faulty]
\_ 5:0:0:1 sdi 8:128 [failed][faulty]

3600508b40006fe7d0000b00000150000 dm-6 HP,HSV200


[size=200G][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 4:0:0:2 sdf 8:80 [failed][faulty]
\_ 5:0:1:2 sdl 8:176 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
\_ 4:0:1:2 sdh 8:112 [failed][faulty]
\_ 5:0:0:2 sdj 8:144 [failed][faulty]
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# service multipathd restart
Stopping multipathd daemon: OK
Starting multipathd daemon: OK
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# multipath -ll
sde: checker msg is "tur checker reports path is down"
sdf: checker msg is "tur checker reports path is down"
sdg: checker msg is "tur checker reports path is down"
sdh: checker msg is "tur checker reports path is down"
sdi: checker msg is "tur checker reports path is down"
sdj: checker msg is "tur checker reports path is down"
sdk: checker msg is "tur checker reports path is down"
sdl: checker msg is "tur checker reports path is down"
3600601606d803000b8e80b78feb0e311 dm-4 DGC,VRAID
[size=3.9T][features=1 queue_if_no_path][hwhandler=1 abc][rw]
\_ round-robin 0 [prio=2][active]
\_ 2:0:0:0 sda 8:0
[active][ready]
\_ 3:0:0:0 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:0 sdb 8:16 [active][ready]
\_ 3:0:1:0 sdd 8:48 [active][ready]
3600508b40006fe850000600000570000 dm-5 HP,HSV200
[size=201G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 4:0:0:1 sde 8:64 [failed][faulty]
\_ 5:0:1:1 sdk 8:160 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
\_ 4:0:1:1 sdg 8:96 [failed][faulty]
\_ 5:0:0:1 sdi 8:128 [failed][faulty]
3600508b40006fe7d0000b00000150000 dm-6 HP,HSV200
[size=200G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 4:0:0:2 sdf 8:80 [failed][faulty]
\_ 5:0:1:2 sdl 8:176 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
\_ 4:0:1:2 sdh 8:112 [failed][faulty]
\_ 5:0:0:2 sdj 8:144 [failed][faulty]
[root@toiletumum ~]#
---------------------------------------------------------------------------7. [b]
[root@toiletumum
running
[root@toiletumum
running
[root@toiletumum
running
[root@toiletumum
running
[root@toiletumum
running
[root@toiletumum
running
[root@toiletumum
running

~]#cat /sys/block/sde/device/state
~]#cat /sys/block/sdf/device/state
~]#cat /sys/block/sdg/device/state
~]#cat /sys/block/sdh/device/state
~]#cat /sys/block/sdi/device/state
~]#cat /sys/block/sdj/device/state
~]#cat /sys/block/sdk/device/state

[root@toiletumum ~]#cat /sys/block/sdl/device/state


running
[root@toiletumum ~]#
---------------------------------------------------------------------------7. [c]
[root@toiletumum
[root@toiletumum
[root@toiletumum
[root@toiletumum
[root@toiletumum
[root@toiletumum
[root@toiletumum
[root@toiletumum

~]#
~]#
~]#
~]#
~]#
~]#
~]#
~]#

echo
echo
echo
echo
echo
echo
echo
echo

offline
offline
offline
offline
offline
offline
offline
offline

>
>
>
>
>
>
>
>

/sys/block/sde/device/state
/sys/block/sdf/device/state
/sys/block/sdg/device/state
/sys/block/sdh/device/state
/sys/block/sdi/device/state
/sys/block/sdj/device/state
/sys/block/sdk/device/state
/sys/block/sdl/device/state

---------------------------------------------------------------------------root@toiletumum ~]#cat /sys/block/sde/device/state


offline
[root@toiletumum ~]#cat /sys/block/sdf/device/state
offline
[root@toiletumum ~]#cat /sys/block/sdg/device/state
offline
[root@toiletumum ~]#cat /sys/block/sdh/device/state
offline
[root@toiletumum ~]#cat /sys/block/sdi/device/state
offline
[root@toiletumum ~]#cat /sys/block/sdj/device/state
offline
[root@toiletumum ~]#cat /sys/block/sdk/device/state
offline
[root@toiletumum ~]#cat /sys/block/sdl/device/state
offline
[root@toiletumum ~]#
---------------------------------------------------------------------------Apr 11 22:22:19 toiletumum
[127.0.0.1]:50426
Apr 11 22:22:19 toiletumum
Apr 11 22:22:19 toiletumum
[127.0.0.1]:51998
Apr 11 22:22:19 toiletumum
Apr 11 22:22:19 toiletumum
Apr 11 22:22:19 toiletumum
[127.0.0.1]:55778
Apr 11 22:22:19 toiletumum
Apr 11 22:22:19 toiletumum
[127.0.0.1]:37269
Apr 11 22:22:20 toiletumum
Apr 11 22:22:20 toiletumum
Apr 11 22:22:20 toiletumum
Apr 11 22:22:20 toiletumum
Apr 11 22:22:20 toiletumum
Apr 11 22:22:20 toiletumum
Apr 11 22:22:20 toiletumum
Apr 11 22:22:20 toiletumum
Apr 11 22:22:25 toiletumum
Apr 11 22:22:25 toiletumum
Apr 11 22:22:25 toiletumum
Apr 11 22:22:25 toiletumum
Apr 11 22:22:25 toiletumum
Apr 11 22:22:25 toiletumum
Apr 11 22:22:25 toiletumum
Apr 11 22:22:25 toiletumum
Apr 11 22:22:30 toiletumum
Apr 11 22:22:30 toiletumum
Apr 11 22:22:30 toiletumum

snmpd[7338]: Received SNMP packet(s) from UDP:


snmpd[7338]: Connection from UDP: [127.0.0.1]:51998
snmpd[7338]: Received SNMP packet(s) from UDP:
snmpd[7338]: Connection from UDP: [127.0.0.1]:51998
snmpd[7338]: Connection from UDP: [127.0.0.1]:55778
snmpd[7338]: Received SNMP packet(s) from UDP:
snmpd[7338]: Connection from UDP: [127.0.0.1]:37269
snmpd[7338]: Received SNMP packet(s) from UDP:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:
multipathd:

sde:
sdf:
sdg:
sdh:
sdi:
sdj:
sdk:
sdl:
sde:
sdf:
sdg:
sdh:
sdi:
sdj:
sdk:
sdl:
sde:
sdf:
sdg:

tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur
tur

checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker
checker

reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports
reports

path
path
path
path
path
path
path
path
path
path
path
path
path
path
path
path
path
path
path

is
is
is
is
is
is
is
is
is
is
is
is
is
is
is
is
is
is
is

down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down

Apr 11 22:22:30 toiletumum


Apr 11 22:22:30 toiletumum
Apr 11 22:22:30 toiletumum
Apr 11 22:22:30 toiletumum
Apr 11 22:22:30 toiletumum
Apr 11 22:22:34 toiletumum
Apr 11 22:22:34 toiletumum
[127.0.0.1]:46705
Apr 11 22:22:35 toiletumum
Apr 11 22:22:35 toiletumum
Apr 11 22:22:35 toiletumum
Apr 11 22:22:35 toiletumum
Apr 11 22:22:35 toiletumum
Apr 11 22:22:35 toiletumum
Apr 11 22:22:35 toiletumum
Apr 11 22:22:35 toiletumum
Apr 11 22:22:35 toiletumum

multipathd: sdh: tur checker reports path is down


multipathd: sdi: tur checker reports path is down
multipathd: sdj: tur checker reports path is down
multipathd: sdk: tur checker reports path is down
multipathd: sdl: tur checker reports path is down
snmpd[7338]: Connection from UDP: [127.0.0.1]:46705
snmpd[7338]: Received SNMP packet(s) from UDP:
multipathd: sde: tur checker
multipathd: sdf: tur checker
multipathd: sdg: tur checker
multipathd: sdh: tur checker
multipathd: sdi: tur checker
multipathd: sdj: tur checker
multipathd: sdk: tur checker
multipathd: sdl: tur checker
snmpd[7338]: Connection from

reports path is down


reports path is down
reports path is down
reports path is down
reports path is down
reports path is down
reports path is down
reports path is down
UDP: [127.0.0.1]:46705

---------------------------------------------------------------------------7. [d]
[root@toiletumum ~]# echo 1 > /sys/block/sde/device/delete
[root@toiletumum ~]# echo 1 > /sys/block/sdf/device/delete
[root@toiletumum ~]# echo 1 > /sys/block/sdg/device/delete
[root@toiletumum ~]# echo 1 > /sys/block/sdh/device/delete
[root@toiletumum ~]# echo 1 > /sys/block/sdi/device/delete
[root@toiletumum ~]# echo 1 > /sys/block/sdj/device/delete
[root@toiletumum ~]# echo 1 > /sys/block/sdk/device/delete
[root@toiletumum ~]# echo 1 > /sys/block/sdl/device/delete
---------------------------------------------------------------------------[root@toiletumum ~]# multipathh -ll
3600601606d803000b8e80b78feb0e311 dm-4 DGC,VRAID
[size=3.9T][features=1 queue_if_no_path][hwhandler=1 abc][rw]
\_ round-robin 0 [prio=2][active]
\_ 2:0:0:0 sda 8:0
[active][ready]
\_ 3:0:0:0 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:1:0 sdb 8:16 [active][ready]
\_ 3:0:1:0 sdd 8:48 [active][ready]
[root@toiletumum ~]#
---------------------------------------------------------------------------Broadcast message from root (pts/1) (Fri Apr 11 22:27:04 2014):
The system is going down for reboot NOW!
Apr 11 22:27:04 toiletumum
Apr 11 22:27:04 toiletumum
[127.0.0.1]:48700
Apr 11 22:27:04 toiletumum
Apr 11 22:27:04 toiletumum
[127.0.0.1]:33295
Apr 11 22:27:04 toiletumum
Apr 11 22:27:04 toiletumum
Apr 11 22:27:04 toiletumum
[127.0.0.1]:42546
Apr 11 22:27:04 toiletumum
Apr 11 22:27:04 toiletumum
Apr 11 22:27:04 toiletumum
[127.0.0.1]:50895
Apr 11 22:27:04 toiletumum
Apr 11 22:27:04 toiletumum
[127.0.0.1]:40206
Apr 11 22:27:05 toiletumum
Not Found
Apr 11 22:27:07 toiletumum

snmpd[7338]: Connection from UDP: [127.0.0.1]:48700


snmpd[7338]: Received SNMP packet(s) from UDP:
snmpd[7338]: Connection from UDP: [127.0.0.1]:33295
snmpd[7338]: Received SNMP packet(s) from UDP:
shutdown[28936]: shutting down for system reboot
snmpd[7338]: Connection from UDP: [127.0.0.1]:42546
snmpd[7338]: Received SNMP packet(s) from UDP:
snmpd[7338]: Connection from UDP: [127.0.0.1]:42546
snmpd[7338]: Connection from UDP: [127.0.0.1]:50895
snmpd[7338]: Received SNMP packet(s) from UDP:
snmpd[7338]: Connection from UDP: [127.0.0.1]:40206
snmpd[7338]: Received SNMP packet(s) from UDP:
pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0
snmpd[7338]: cmaX: subMIB 18 handler has disconnected

---------------------------------------------------------------------------[root@toiletumum ~]#
[root@toiletumum ~]# cat /var/log/messages |grep reboot
Apr 11 21:52:27 toiletumum shutdown[20790]: shutting down for system reboot
Apr 11 22:27:04 toiletumum shutdown[28936]: shutting down for system reboot
[root@toiletumum ~]#
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum ~]# tail -f /var/log/messages
Apr 11 22:36:10 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:37137
Apr 11 22:36:10 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:36535
Apr 11 22:36:10 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:36535
Apr 11 22:36:10 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:35543
Apr 11 22:36:10 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:35543
Apr 11 22:36:10 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:35543
Apr 11 22:36:10 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:57021
Apr 11 22:36:10 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:57021
Apr 11 22:36:10 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:51727
Apr 11 22:36:10 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:51727
Apr 11 22:36:25 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:33699
Apr 11 22:36:25 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:33699
Apr 11 22:36:26 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:33699
Apr 11 22:36:26 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:48415
Apr 11 22:36:26 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:48415
Apr 11 22:36:26 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:46913
Apr 11 22:36:26 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:46913
Apr 11 22:36:26 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:46913
Apr 11 22:36:26 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:39448
Apr 11 22:36:26 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:39448
Apr 11 22:36:26 toiletumum snmpd[6899]: Connection from UDP: [127.0.0.1]:49777
Apr 11 22:36:26 toiletumum snmpd[6899]: Received SNMP packet(s) from UDP:
[127.0.0.1]:49777
---------------------------------------------------------------------------8.
[root@toiletumum ~]# cat /etc/fstab
/dev/VolGroup00/LV00
/
/dev/VolGroup00/LV05
/bayar_seratus
LABEL=/boot
/boot
tmpfs
/dev/shm
devpts
/dev/pts
sysfs
/sys
proc
/proc
/dev/VolGroup00/LS01
swap
#/dev/vg01/lv00
/bayar_seribu
/dev/abc-vg/bayar_duribu
/bayar_duribu ext3
/dev/VolGroup00/LV02
/opt
[root@toiletumum ~]#

ext3
defaults
ext3
defaults
ext3
defaults
tmpfs
defaults
devpts gid=5,mode=620
sysfs
defaults
proc
defaults
swap
defaults
ext3
defaults
0 0
defaults
1 2
ext3
defaults
1 2

1 1
1 2
1
0
0
0
0
0

2
0
0
0
0
0

---------------------------------------------------------------------------[root@toiletumum ~]# df -h
Filesystem
Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LV00
16G
11G 4.2G 72% /
/dev/mapper/VolGroup00-LV05
190G
25G 155G 14% /bayar_seratus

/dev/cciss/c0d0p1
99M
13M
81M 14% /boot
tmpfs
48G
0
48G
0% /dev/shm
/dev/mapper/abc-vg-bayar_duribu
3.9T 271G 3.5T
8% /bayar_duribu
/dev/mapper/VolGroup00-LV02
40G 852M
37G
3% /opt
[root@toiletumum ~]#
---------------------------------------------------------------------------[root@toiletumum /]# fdisk -l
Disk /dev/cciss/c0d0: 587.1 GB, 587128266752 bytes
255 heads, 63 sectors/track, 71380 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot
/dev/cciss/c0d0p1
*
/dev/cciss/c0d0p2

Start
1
14

End
13
71380

Blocks
104391
573255427+

Id
83
8e

System
Linux
Linux LVM

Disk /dev/sda: 4294.9 GB, 4294967296000 bytes


255 heads, 63 sectors/track, 522166 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 4294.9 GB, 4294967296000 bytes
255 heads, 63 sectors/track, 522166 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 4294.9 GB, 4294967296000 bytes
255 heads, 63 sectors/track, 522166 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 4294.9 GB, 4294967296000 bytes
255 heads, 63 sectors/track, 522166 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/dm-4: 4294.9 GB, 4294967296000 bytes
255 heads, 63 sectors/track, 522166 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-4 doesn't contain a valid partition table
[root@toiletumum /]#
---------------------------------------------------------------------------Sekian dan semoga dapat bermanfaat.