看板 Linux 關於我們 聯絡資訊
※ 引述《amd3dnow (qq)》之銘言: : os: centos 5.1 : hdd: 100G : 目前有個問題是,安裝時,os自動分割硬碟,但是只分配8G給dev/sda 掛載在 / 下 : 但是發現8g不夠用,想分配多一點給他,不知道有什麼方法可以達成? : 還是只能重灌? resize2fs + fdisk 可以改變ext2/ext3 分割區的大小 只是有個限制,就是分割區的開頭不能變 就是說你的/ 後面要緊接著可用空間,才能讓 / 變大 但如果你是用centos預設分割,那你應該是有用到lvm 有lvm就可以把任意可用空間轉成logical volume, 然後加入/ 那個volume group -- The 4400 ~ A Place In Time ~ [Amanda Abizaid] So long ago, another life, I can feel your heartbeat. It's not a dream, remember us. I can see it in your eyes. We'll find our place in time, a place in time beyond the sun. We'll find our place in time, a place in time to call our own. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 72.234.170.75 ※ 編輯: Adama 來自: 72.234.170.75 (07/03 22:46)