nfs的問題… 請問~我有兩部linux server,其中server a跑nfs server,server b則為nfs client,現在我server a shutdown了,server b沒有先umount,而df後如下: [root@test all]# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda7 24580944 12408112 10924184 54% / /dev/sda5 256667 2074 241341 1% /boot none 127788 0 127788 0% /dev/shm /dev/sda6 10112304 549068 9049560 6% /var 192.168.2.1:/ 0 1 0 0% /mnt/nfs df: `/mnt/nfs/home': Stale NFS file handle df: `/mnt/nfs/usr': Stale NFS file handle df: `/mnt/nfs/etc': Stale NFS file handle df: `/mnt/nfs/share': Stale NFS file handle df: `/mnt/nfs/var': Stale NFS file handle df: `/mnt/nfs/var/spool/mail': Stale NFS file handle 都會變成Stale NFS file handle…無法mount,也無法umount… 請問這種情形除了重開機外,還有什麼解決的方法嗎? |
試試 umount...加上 -f 這各參數 -f Force unmount (in case of an unreachable NFS system). (Requires kernel 2.1.116 or later.) |
[QUOTE][i]最初由 repsol 發表[/i] [B]試試 umount...加上 -f 這各參數 -f Force unmount (in case of an unreachable NFS system). (Requires kernel 2.1.116 or later.) [/B][/QUOTE] 不行耶…出現 [root@test root]# umount -f /mnt/nfs/usr umount2: Stale NFS file handle umount: /mnt/nfs/usr: Illegal seek |
那試試將nfs clinet 的service 關掉 /etc/rc.d/init.d#./netfs stop 再umount -f 再試一次試試看 |
[QUOTE][i]最初由 repsol 發表[/i] [B]那試試將nfs clinet 的service 關掉 /etc/rc.d/init.d#./netfs stop 再umount -f 再試一次試試看 [/B][/QUOTE] 嗯~可以了,謝謝~~ |
所有時間均為 +8。現在的時間是 05:55 PM。 |
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。