- 論壇徽章:
- 0
|
想請教一個關于磁盤分區(qū)格式修改的問題。按以下步驟把reiserfs 改為 ext3,但是重啟服務器的時候出現(xiàn)了問題,麻煩各位看一下那里出問題了,怎么解決,謝謝:
1) 卸載分區(qū)
umount /dev/sda3
umount /dev/sda9
umount /dev/sda2
2) 格式化分區(qū)
mksf –t ext3 /dev/sda3
mksf –t ext3 /dev/sda9
mksf –t ext3 /dev/sda2
3)重新掛載分區(qū)
mount /dev/sda3 /var/sdi/images
mount /dev/sda3 /var/sdi/text
mount /dev/sda3 /var/sdi/squid
4)修改 /etc/fstab/
把/var/sdi/images、/var/sdi/text、/var/sdi/squid 對應的文件格式reiserfs 改為 ext3
5) 重啟服務器,出現(xiàn)以下錯誤:
Error.jpg (104.23 KB, 下載次數(shù): 3)
下載附件
2008-08-21 21:44 上傳
6)修改前fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
LABEL=SWAP-sda7 swap swap defaults 0 0
/dev/sda3 /var/sdi/images reiserfs defaults,noexec,nosuid,noatime 1 2
/dev/sda9 /var/sdi/text reiserfs defaults,noexec,nosuid,noatime 1 2
/dev/sda2 /var/squid reiserfs defaults,noexec,nosuid,noatime 1 2
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/hdf /media/cdrom1 auto pamconsole,exec,noauto,managed 0 0
/dev/hde /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy1 auto pamconsole,exec,noauto,managed 0 0
7) 修改后fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
LABEL=SWAP-sda7 swap swap defaults 0 0
/dev/sda3 /var/sdi/images ext3 defaults,noexec,nosuid,noatime 1 2
/dev/sda9 /var/sdi/text ext3 defaults,noexec,nosuid,noatime 1 2
/dev/sda2 /var/squid ext3 defaults,noexec,nosuid,noatime 1 2
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/hdf /media/cdrom1 auto pamconsole,exec,noauto,managed 0 0
/dev/hde /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy1 auto pamconsole,exec,noauto,managed 0 0 |
|