Beberapa waktu lalu ada kasus di server gak bisa write ke disk. Katanya sistemnya readonly. Karena pusing, aku chat ama mBah Arif ... hasilnya gini:
me (1:36:59 PM): kulo nuwun
mbah arif (1:48:13 PM): monggo
mbah arif (1:48:24 PM): monggo
me (1:48:38 PM): aku login ning server linux
me (1:48:48 PM): dadi rot
me (1:48:49 PM): root
me (1:48:59 PM): tapi gak iso nulis (edit file, dll)
me (1:49:03 PM): kira2 kenapa ya?
mbah arif (1:51:55 PM): wonten punapa nggih?
me (1:52:48 PM): aku coba dmesg, ono pesan : "VFS: Mounted root (reiserfs filesystem) readonly."
me (1:52:56 PM): kira2 ono pengaruhe ora yo?
mbah arif (1:54:11 PM): lho sik..sik.. kok gak nyambung yo.. msg sing tak trimo mung iki: Yudi Kurniawan: tapi gak iso nulis (edit file, dll) Yudi Kurniawan: root
me (1:54:25 PM): walah
mbah arif (1:54:42 PM): wah YM-e lagi lemot iki
me (1:54:58 PM): intine, aku gak iso nulis (gawe file utawa edit file)
me (1:55:02 PM): padahal wis login sebagai root
me (1:55:14 PM): iku kira2 masale opo?
me (1:55:31 PM): ning linux
me (1:55:33 PM):
mbah arif (1:55:56 PM): mungkin device iku dimount readonly, jd gak iso ditulisi
me (1:56:10 PM): nah iku .. aku nemu pesan "VFS: Mounted root (reiserfs filesystem) readonly."
me (1:56:15 PM): iku opo ono pengaruhi
mbah arif (1:56:53 PM): coba perintah iki: mount / -o remount,rw
me (1:58:56 PM): error writing /etc/mtab.tmp: No space left on device
mbah arif (1:59:52 PM): walah.. partisi full alias entek kuwi
me (2:00:01 PM): walah ... partisi sing endi
mbah arif (2:00:12 PM): df -h
me (2:00:13 PM): wong HD 80GB mosok cepet entek
mbah arif (2:00:33 PM): coba: df -h, metune opo?
me (2:00:58 PM): /dev/md0 15G 15G 0 100% / /dev/md1 53G 139M 53G 1% /usr/local /dev/md2 7.3G 33M 7.3G 1% /home
me (2:01:01 PM):
me (2:01:22 PM): Filesystem Size Used Avail Use% Mounted on /dev/md0 15G 15G 0 100% / /dev/md1 53G 139M 53G 1% /usr/local /dev/md2 7.3G 33M 7.3G 1% /home
me (2:01:30 PM):
mbah arif (2:01:52 PM): /dev/md0 kok wis amblas ngono
me (2:01:59 PM): yo iku sing gawe bingung
me (2:02:04 PM): padahal durung diisi opo2
mbah arif (2:02:08 PM): eh kuwi nggawe software RAID yo?
me (2:02:10 PM): paling standard server
me (2:02:12 PM): iyo
mbah arif (2:03:10 PM): mungkin ono setting RAID sing kleru
mbah arif (2:03:23 PM): sing nginstall sopo?
me (2:03:31 PM): pii
me (2:04:34 PM): mumet ki ... ora ono sing ngerti linux
mbah arif (2:04:44 PM): hm...
me (2:06:00 PM): nah ... misale arep tak install ulang
mbah arif (2:06:11 PM): cd /
mbah arif (2:06:16 PM): du -csh *
me (2:06:17 PM): piye carane ngamanke (backup data) sing ono postgres
mbah arif (2:06:21 PM): metune opo?
me (2:06:29 PM): sik, iku nggo ngopo>
me (2:06:30 PM): ?
mbah arif (2:07:27 PM): ndelok penggunaan space di tiap folder
me (2:07:39 PM): folder proc iku nggo ngopo>
mbah arif (2:08:07 PM): proc iku folder system.. gak usah diotak-atik
me (2:08:14 PM): 5.3M bin 7.5M boot 278K dev 8.6M etc 488K home 37M lib 4.0K login.php 0 mnt 3.9M opt 512M proc 3.1M root 9.2M sbin 0 session_mm_apache0.sem 3.7M tmp 0 usb
me (2:08:20 PM): tekan kono terus macet
mbah arif (2:08:22 PM): piye? metune opo?
me (2:09:46 PM): macet ning tengah dalam
mbah arif (2:10:40 PM): folder sawise usb opo?
me (2:10:43 PM): usr
me (2:11:07 PM): var
me (2:11:08 PM): work
me (2:11:10 PM): wes
me (2:11:53 PM): isih iso lanjut
me (2:12:04 PM): 1.9G usr 13G var 128M work 16G total
mbah arif (2:12:56 PM): dienteni wae sik
me (2:13:02 PM): ning njero var, sing mangan paling akeh iku folder log
me (2:14:14 PM): terus paling akeh log/samba --> 8GB
me (2:14:46 PM): tak delok isine, ono -rw-r--r-- 1 root root 8563290583 2005-06-23 14:08 log.nmbd
mbah arif (2:15:51 PM): cd /var
me (2:15:59 PM): wes
mbah arif (2:16:11 PM): du -csh *
me (2:16:18 PM): uwis
me (2:16:31 PM): paling gede ning folder log
me (2:16:39 PM): terus folder samba
me (2:16:45 PM): file log.nmbd
mbah arif (2:18:39 PM): dihapus wae
mbah arif (2:18:46 PM): file log ngono iku pancen kudu dihapus manual scr rutin
me (2:18:46 PM): masalah gak?
me (2:18:59 PM): di rm wae?
me (2:19:27 PM): yen syslog.2? priye?
mbah arif (2:19:41 PM): gak masalah kok, mengko yo dicreate maneh karo samba
me (2:19:51 PM): ok, tak cobane
mbah arif (2:20:00 PM): dihapus pisan wae
me (2:20:07 PM): yo
me (2:34:18 PM): pun saged mBah... matur nuwun
me (2:34:23 PM):
me (2:36:01 PM):
mbah arif (2:36:36 PM): sami2
me (1:36:59 PM): kulo nuwun
mbah arif (1:48:13 PM): monggo
mbah arif (1:48:24 PM): monggo
me (1:48:38 PM): aku login ning server linux
me (1:48:48 PM): dadi rot
me (1:48:49 PM): root
me (1:48:59 PM): tapi gak iso nulis (edit file, dll)
me (1:49:03 PM): kira2 kenapa ya?
mbah arif (1:51:55 PM): wonten punapa nggih?
me (1:52:48 PM): aku coba dmesg, ono pesan : "VFS: Mounted root (reiserfs filesystem) readonly."
me (1:52:56 PM): kira2 ono pengaruhe ora yo?
mbah arif (1:54:11 PM): lho sik..sik.. kok gak nyambung yo.. msg sing tak trimo mung iki: Yudi Kurniawan: tapi gak iso nulis (edit file, dll) Yudi Kurniawan: root
me (1:54:25 PM): walah
mbah arif (1:54:42 PM): wah YM-e lagi lemot iki
me (1:54:58 PM): intine, aku gak iso nulis (gawe file utawa edit file)
me (1:55:02 PM): padahal wis login sebagai root
me (1:55:14 PM): iku kira2 masale opo?
me (1:55:31 PM): ning linux
me (1:55:33 PM):
mbah arif (1:55:56 PM): mungkin device iku dimount readonly, jd gak iso ditulisi
me (1:56:10 PM): nah iku .. aku nemu pesan "VFS: Mounted root (reiserfs filesystem) readonly."
me (1:56:15 PM): iku opo ono pengaruhi
mbah arif (1:56:53 PM): coba perintah iki: mount / -o remount,rw
me (1:58:56 PM): error writing /etc/mtab.tmp: No space left on device
mbah arif (1:59:52 PM): walah.. partisi full alias entek kuwi
me (2:00:01 PM): walah ... partisi sing endi
mbah arif (2:00:12 PM): df -h
me (2:00:13 PM): wong HD 80GB mosok cepet entek
mbah arif (2:00:33 PM): coba: df -h, metune opo?
me (2:00:58 PM): /dev/md0 15G 15G 0 100% / /dev/md1 53G 139M 53G 1% /usr/local /dev/md2 7.3G 33M 7.3G 1% /home
me (2:01:01 PM):
me (2:01:22 PM): Filesystem Size Used Avail Use% Mounted on /dev/md0 15G 15G 0 100% / /dev/md1 53G 139M 53G 1% /usr/local /dev/md2 7.3G 33M 7.3G 1% /home
me (2:01:30 PM):
mbah arif (2:01:52 PM): /dev/md0 kok wis amblas ngono
me (2:01:59 PM): yo iku sing gawe bingung
me (2:02:04 PM): padahal durung diisi opo2
mbah arif (2:02:08 PM): eh kuwi nggawe software RAID yo?
me (2:02:10 PM): paling standard server
me (2:02:12 PM): iyo
mbah arif (2:03:10 PM): mungkin ono setting RAID sing kleru
mbah arif (2:03:23 PM): sing nginstall sopo?
me (2:03:31 PM): pii
me (2:04:34 PM): mumet ki ... ora ono sing ngerti linux
mbah arif (2:04:44 PM): hm...
me (2:06:00 PM): nah ... misale arep tak install ulang
mbah arif (2:06:11 PM): cd /
mbah arif (2:06:16 PM): du -csh *
me (2:06:17 PM): piye carane ngamanke (backup data) sing ono postgres
mbah arif (2:06:21 PM): metune opo?
me (2:06:29 PM): sik, iku nggo ngopo>
me (2:06:30 PM): ?
mbah arif (2:07:27 PM): ndelok penggunaan space di tiap folder
me (2:07:39 PM): folder proc iku nggo ngopo>
mbah arif (2:08:07 PM): proc iku folder system.. gak usah diotak-atik
me (2:08:14 PM): 5.3M bin 7.5M boot 278K dev 8.6M etc 488K home 37M lib 4.0K login.php 0 mnt 3.9M opt 512M proc 3.1M root 9.2M sbin 0 session_mm_apache0.sem 3.7M tmp 0 usb
me (2:08:20 PM): tekan kono terus macet
mbah arif (2:08:22 PM): piye? metune opo?
me (2:09:46 PM): macet ning tengah dalam
mbah arif (2:10:40 PM): folder sawise usb opo?
me (2:10:43 PM): usr
me (2:11:07 PM): var
me (2:11:08 PM): work
me (2:11:10 PM): wes
me (2:11:53 PM): isih iso lanjut
me (2:12:04 PM): 1.9G usr 13G var 128M work 16G total
mbah arif (2:12:56 PM): dienteni wae sik
me (2:13:02 PM): ning njero var, sing mangan paling akeh iku folder log
me (2:14:14 PM): terus paling akeh log/samba --> 8GB
me (2:14:46 PM): tak delok isine, ono -rw-r--r-- 1 root root 8563290583 2005-06-23 14:08 log.nmbd
mbah arif (2:15:51 PM): cd /var
me (2:15:59 PM): wes
mbah arif (2:16:11 PM): du -csh *
me (2:16:18 PM): uwis
me (2:16:31 PM): paling gede ning folder log
me (2:16:39 PM): terus folder samba
me (2:16:45 PM): file log.nmbd
mbah arif (2:18:39 PM): dihapus wae
mbah arif (2:18:46 PM): file log ngono iku pancen kudu dihapus manual scr rutin
me (2:18:46 PM): masalah gak?
me (2:18:59 PM): di rm wae?
me (2:19:27 PM): yen syslog.2? priye?
mbah arif (2:19:41 PM): gak masalah kok, mengko yo dicreate maneh karo samba
me (2:19:51 PM): ok, tak cobane
mbah arif (2:20:00 PM): dihapus pisan wae
me (2:20:07 PM): yo
me (2:34:18 PM): pun saged mBah... matur nuwun
me (2:34:23 PM):
me (2:36:01 PM):
mbah arif (2:36:36 PM): sami2
Comments