Menu Close

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.4.2. 一​​​​​​​致​​​​​​​的​​​​​​​裝​​​​​​​置​​​​​​​號​​​​​​​碼​​​​​​​

重​​​​​​​大​​​​​​​與​​​​​​​非​​​​​​​重​​​​​​​大​​​​​​​裝​​​​​​​置​​​​​​​號​​​​​​​碼​​​​​​​會​​​​​​​於​​​​​​​模​​​​​​​組​​​​​​​載​​​​​​​入​​​​​​​時​​​​​​​被​​​​​​​動​​​​​​​態​​​​​​​式​​​​​​​地​​​​​​​分​​​​​​​配​​​​​​​。​​​​​​​有​​​​​​​些​​​​​​​應​​​​​​​用​​​​​​​程​​​​​​​式​​​​​​​可​​​​​​​因​​​​​​​為​​​​​​​區​​​​​​​塊​​​​​​​裝​​​​​​​置​​​​​​​總​​​​​​​是​​​​​​​透​​​​​​​過​​​​​​​相​​​​​​​同​​​​​​​的​​​​​​​裝​​​​​​​置​​​​​​​(重​​​​​​​大​​​​​​​與​​​​​​​非​​​​​​​重​​​​​​​大​​​​​​​)號​​​​​​​碼​​​​​​​來​​​​​​​啟​​​​​​​用​​​​​​​而​​​​​​​得​​​​​​​到​​​​​​​最​​​​​​​佳​​​​​​​的​​​​​​​效​​​​​​​果​​​​​​​。​​​​​​​您​​​​​​​可​​​​​​​透​​​​​​​過​​​​​​​ lvcreate 和​​​​​​​ lvchange 指​​​​​​​令​​​​​​​並​​​​​​​使​​​​​​​用​​​​​​​下​​​​​​​列​​​​​​​引​​​​​​​數​​​​​​​來​​​​​​​這​​​​​​​麼​​​​​​​指​​​​​​​定​​​​​​​:
--persistent y --major major --minor minor
Use a large minor number to be sure that it hasn't already been allocated to another device dynamically.
若​​​​​​​您​​​​​​​希​​​​​​​望​​​​​​​使​​​​​​​用​​​​​​​ NFS 來​​​​​​​匯​​​​​​​出​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​的​​​​​​​話​​​​​​​,在​​​​​​​ exports 檔​​​​​​​案​​​​​​​中​​​​​​​指​​​​​​​定​​​​​​​ fsid 參​​​​​​​數​​​​​​​可​​​​​​​能​​​​​​​能​​​​​​​夠​​​​​​​避​​​​​​​免​​​​​​​在​​​​​​​ LVM 中​​​​​​​設​​​​​​​置​​​​​​​一​​​​​​​致​​​​​​​性​​​​​​​的​​​​​​​裝​​​​​​​置​​​​​​​號​​​​​​​碼​​​​​​​的​​​​​​​必​​​​​​​要​​​​​​​性​​​​​​​。​​​​​​​