תאר לעצמך שאתה לחלוקה מחדש הדיסק בעת היציאה מ-fdisk כותב automount החדש טבלת המחיצות מנסה לעלות מחיצות חדשות. אז במקום דיסק רענן מוכן newfs אתה מקבל אזהרה זו: WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next boot.
אז אתה יכול לשכוח newfs לזמן מה. מה אתה עושה? פשוט לאתחל? מה אם אתה צריך לחלק את הדיסק יותר מ 1? הנה הפתרון ...
הפתרון הוא לבטל automount באופן זמני. אתה יכול בקלות לעשות את זה עם /etc/init.d/autofs stop /etc/init.d/haldaemon stop #umount the device you're trying to fdisk - it might be already mounted
קו 2 היא טריוויאלית פחות את הראשון, לא? כדי להשבית באופן קבוע automount להשתמש: chkconfig autofs off chkconfig haldaemon off /etc/init.d/autofs stop /etc/init.d/haldaemon stop #umount the device you're trying to fdisk - it might be already mounted
הודעה זו מתפרסמת איך , לינוקס . |
12 פבואר 2008 בשעה 12:59
[...] 21 כותב את טבלת המחיצות בדיסק. אתה עשוי להיות מעוניין לקרוא את הפוסט הזה גם אם אתה חווה בעיות עם כתיבת טבלת המחיצות כדי [...]