ok£¬Ïл°ÉÙ˵£¬ÈÃÎÒÃǽøÈëÕýÌâ°É£º
1.SolarisÓ²ÅÌ·ÖÇø¼ò½é
SolarisÏ£¬Ò»¸ö´ÅÅÌ°üº¬8¸ö·ÖÇø£¬±ê¼ÇΪ0£7¡£´ËÐÅÏ¢¿ÉÒÔͨ¹ýformatÃüÁȻºóÑ¡ÔñÒ»¸öÓ²ÅÌÀ´¿´µ½£¬ÀýÈ磬ÔÚÎÒ×Ô¼ºµÄϵͳÖУ¨Solaris 9,Ultra 60£©£¬ÏÔʾ³öÀ´µÄÐÅÏ¢ÈçÏ£º
ÒýÓÃ:# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0
/pci@1f,4000/scsi@3/sd@0,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!- execute , then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!- execute , then return
quit
partition>
²»Òª¿´µ½ÄÚÈÝÕâô¶à£¬¾Í±»ÏÅסÁË£¬Æäʵ£¬formatÃüÁîÖ®ºó0. c0t0d0
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!
quit
format> p
ÕâÀïËùÁгöÀ´µÄ£¬ÊÇ¿ÉÒÔʹÓõÄÃüÁ±ÈÈçÎÒÔÚ×îÏÂÃæformat>£¬¾ÍÊÇÓÃÁËpÕâ¸öÃüÁÂýµã£¬ÉÏÃæûÓÐpÕâ¸öÃüÁî°¡£¿Æäʵ£¬ÕâÀïp¾ÍÊÇpartitionµÄ¼òд£©£¬È»ºó£¬ÁгöÁËÒÔÏÂÄÚÈÝ£º
ÒýÓÃ:PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!- execute , then return
quit
partition>
OK£¬µ½ÕâÀÎÒÃǵÄÄ¿µÄÒ²´ïµ½ÁË£¬ÕâЩÐÅÏ¢Ó¦¸ÃºÜÇå³þµÄÖ¤Ã÷ÁË£ºSolarisÏ£¬Ò»¸ö´ÅÅÌ°üº¬8¸ö·ÖÇø£¬±ê¼ÇΪ0£7¡£ºóÃæµÄÈÔÈ»ÊÇһЩ¿ÉÒÔÓõ½µÄÃüÁÕâЩÃüÁîµÄ¾ßÌ庬Ò壬´ó¼Ò¿ÉÒÔ¿´ÃüÁîºóÃæµÄÓ¢ÎĽéÉÜ£¬ÖÁÓÚÔõôʹÓã¬ÒÔºóÔÙ˵¡£ÏÂÃæÎÒÃǽ«½øÈë½ñÌìµÄÖص㡣
ÏòÒ»¿éÓ²ÅÌдÈëÊý¾Ý֮ǰ£¬Ê×ÏÈÐèÒª½«Æä·ÖÇøºÍ¸ñʽ»¯£¬Õâ¸ö¹ý³ÌÒ»°ã¿ÉÒÔ·ÖΪ3¸ö²½Ö裺
1. ÎïÀí¸ñʽ»¯£¬Ò²¾ÍÊÇͨ³£Ëù˵µÄµÍ¼¶¸ñʽ»¯£¨Low-Level Formatting£¬LLF£©;
2. ·ÖÇø£»
3. Âß¼¸ñʽ»¯£¬Ò²¾ÍÊÇͨ³£Ëù˵µÄ¸ß¼¶¸ñʽ»¯£¨High-Level Formatting£¬HLF£©
µÍ¼¶¸ñʽ»¯µÄʱºò£¬Ó²Å̱»·Ö³ÉÈô¸É¸ö´ÅµÀ£¬ÕâЩ´ÅµÀÓÖ±»·Ö³ÉÈô¸É¸öÉÈÇø£¬Ã¿¸öÉÈÇøÌî³äÁËËæ»úÊý¾Ý¡£¼¸ºõËùÓеÄÓ²ÅÌÔÚ³ö³§Ç°¶¼ÒѾ±»µÍ¼¶¸ñʽ»¯¹ý£¬ËùÒÔ£¬Óû§Ö»Òª¶ÔÓ²Å̽øÐÐÏÂÃæÁ½¸ö²½Ö裨·ÖÇøºÍÂß¼¸ñʽ»¯£©¾Í¿ÉÒÔÁË¡£
·ÖÇøµÄ¶¯×÷½«Ó²Å̷ֳɼ¸¸ö²¿·Ö£¬³ÉΪ·ÖÇø»òÕßÊÇ·ÖƬ£¨×¢Ò⣺ǰÃæµÄ¡°·ÖÇø¡±ÊǶ¯´Ê£¬ºóÃæµÄÊÇÃû´ÊŶ£©¡£Ã¿¸ö·ÖÇø/·ÖƬÓÉÈô¸É¸öÖùÃæ×é³É¡£¾ø´ó¶àÊýÏ£¬SolarisÖеÄÒ»¸öÓ²ÅÌ·ÖÇø¶ÔÓ¦Ò»¸öÎļþϵͳ¡£Ò»¸ö·ÖÇø²»ÄÜ°üº¬¶à¸öÎļþϵͳ£»Í¬Ñù£¬Ò»¸öÎļþϵͳҲ²»ÄÜ¿çÔ½¶à¸ö·ÖÇø¡£SolarisÖУ¬¶ÔÓ²Å̽øÐзÖÇø£¬¾ÍÊÇʹÓÃÎÒÃÇ¿ªÊ¼µÄʱºòʹÓùýµÄformatÃüÁî¡£
µ±Solaris½øÐи߼¶¸ñʽ»¯µÄʱºò£¬½«Ã¿¸ö·ÖÇø·Ö³ÉÐí¶àÖùÃæ×飬ÿ¸öÖùÃæ×é°üÀ¨Á˼¸¸öÁ¬ÐøµÄÖùÃæ¡£ÎļþϵͳÔÚÕâЩÖùÃæ×éÖн¨Á¢ÎļþºÍĿ¼£¬²¢¾¡Á¿½«Í¬Ò»¸öÎļþµÄÊý¾Ý±£´æÔÚͬһ¸öÖùÃæ×éÖС£ÕâÑùµÄ»úÖÆÄܹ»±£Ö¤´ÅÍ·¶ÁÈ¡Êý¾ÝµÄʱºòÒƶ¯×îÉÙ£¬´Ó¶ø¼Ó¿ìÊý¾ÝµÄ¶ÁÈ¡Ëٶȡ£SolarisÖÐʹÓÃnewfsÃüÁîÀ´ÊµÏָ߼¶¸ñʽ»¯£¬Ä¬ÈϵÄÎļþϵͳÊÇUNIXÎļþϵͳ£¨UFS:Unix File System£©£¬ËüʹÓÃÏÂÁÐÀàÐ͵Ŀ飺
1. Òýµ¼¿é£º´æ´¢ÏµÍ³Æô¶¯Ê±ËùÐèµÄÐÅÏ¢
2. ³¬¼¶¿é£º´æ´¢ÎļþϵͳÐÅÏ¢
3. Ë÷Òý½Úµã£¨i½Úµã£©£º´æ´¢ÎļþϵͳÖеĵ¥¸öÎļþÐÅÏ¢
4. ´æ´¢¿é/Êý¾Ý¿é£º´æ´¢ÎļþÊý¾Ý
ÏÂÃæÀ´Ïêϸ½éÉÜÒ»ÏÂÕ⼸ÖÖÀàÐ͵Ŀ顣
Òýµ¼¿é£º
Òýµ¼¿é´æ´¢ÏµÍ³Æô¶¯Ê±ËùÐèµÄÐÅÏ¢¡£Òýµ¼¿é×ÜÊÇλÓÚÓ²Å̵ĵÚÒ»¸öÖùÃæ×飬ռÓ÷ÖÇøµÄÇ°8KB¡£
³¬¼¶¿é£º
³¬¼¶¿é´æ´¢ÎļþϵͳÐÅÏ¢£¬Ëü°üº¬ÁËÏÂÁÐÐÅÏ¢£º
1. ÎļþϵͳÖÐ×Ü¿éÊý£¨Îļþϵͳ´óС£©
2. ÎļþϵͳÖÐÊý¾Ý¿éµÄÊýÄ¿
3. Ë÷Òý½ÚµãµÄÊýÄ¿
4. ÖùÃæ×éµÄÊýÄ¿
5. ¿éµÄ´óС
6. ´ÅÅÌËéƬµÄ´óС
7. ¿ÕÏпéµÄ¸öÊý
8. ¿ÕÏеÄË÷Òý½ÚµãµÄ¸öÊý
³¬¼¶¿é¶ÔÎļþϵͳ¼°ÆäÖØÒª£¬ËùÒÔSolairsϵͳ²ÉÓöà¸ö±¸·ÝÀ´È·±£ËüµÄ°²È«¡£Å¼¶û£¬µ±Ã»ÓÐÕý³£¹Ø±Õϵͳ»òÓ²Å̳öÏÖ¹ÊÕϵÄʱºò£¬»áÔì³ÉĬÈϳ¬¼¶¿é²»ÄÜÕýÈ·¶ÁÈ¡»òÕßÊǺÍÆ䱸·ÝµÄ³¬¼¶¿é²»Ò»Ö¡£Õâʱ£¬¾ÍÐèÒª½øÐÐÐÞ¸´¹¤×÷¡£Í¨³£ÔÚÖØÐÂÆô¶¯ÏµÍ³µÄʱºò£¬ÏµÍ³»áµ÷ÓÃfsckÃüÁîÀ´×Ô¶¯Íê³É¡£µ±fsck·¢ÏÖĬÈϵij¬¼¶¿éÒѾË𻵶øÇÒÎÞ·¨×Ô¶¯ÐÞ¸´µÄʱºò£¬»áÌáʾÓû§ÊÖ¶¯½øÐÐÐÞ¸´¡£
ÊÖ¶¯½øÐÐÐÞ¸´µÄʱºò£¬¿ÉÒÔ¸ù¾ÝÒÔϼ¸¸ö²½Öè½øÐУº
1. ÒÔµ¥Óû§µÄÉí·Ý½øÈëϵͳ£¬ÀýÈçÔÚPROMµÄģʽÏ£¨¼´ok״̬Ï£©ÓÃÃüÁîboot -s¿É½øÈëµ¥Óû§Ä£Ê½£¬»òÕßÔÚϵͳÖÐsync;sync;sync;init 0Ò²¿É½øÈëµ¥Óû§Ä£Ê½£¨ÖÁÓÚʲôÊǵ¥Óû§Ä£Ê½£¬ÒÔºó»áÏêϸ½éÉÜ£©
2. Èç¹ûË𻵵ÄÎļþÒѾ°²×°µ½ÎļþÊ÷ÖУ¬¿ÉÒÔ½øÈëÁíÒ»¸öĿ¼£¬È»ºó½«Ë𻵵ÄÎļþϵͳжÔØ£¬ÀýÈ磺
#cd /
#umount /var
3. ʹÓÃnewfs -NÃüÁîÏÔʾ³¬¼¶¿éµÄÖµ£¬´ËÃüÁî»áÁгö±¸Óõij¬¼¶¿éÔÚÎļþϵͳÖеÄλÖãº
ÒýÓÃ:# newfs -N /dev/dsk/c0t0d0s1
/dev/rdsk/c0t0d0s1: 961248 sectors in 204 cylinders of 19 tracks, 248 sectors
469.4MB in 13 cyl groups (16 c/g, 36.81MB/g, 17664 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 75680, 151328, 226976, 302624, 378272, 453920, 529568, 605216, 680864,
756512, 832160, 907808,
4. ´Ónewfs -NÃüÁîÁгöµÄ±¸Ó󬼶¿éÖÐÑ¡ÔñÒ»¸ö×÷ΪfsckÃüÁîµÄÒ»¸öÑ¡Ïî½øÐÐÐÞ¸´£º
#fsck -F ufs -o b=453920 /dev/rdsk/c0t0d0s1
Ë÷Òý½Úµã
Ë÷Òý½Úµã°üº¬ÁËÒ»¸öÎļþ³ýÈ¥ÎļþÃûÒÔÍâµÄËùÓÐÐÅÏ¢¡£Ò»¸öË÷Òý½ÚµãÕ¼ÓÃ128×ֽڵĴÅÅ̿ռ䣬Ëü°üº¬ÁËÏÂÁÐÐÅÏ¢£º
1. ÎļþÀàÐÍ£ºÆÕͨÎļþ¡¢Ä¿Â¼¡¢¿éÉ豸Îļþ¡¢×Ö·ûÉ豸Îļþ¡¢Á´½ÓµÈ
2. ÎļþȨÏÞ£º¶Á¡¢Ð´¡¢Ö´ÐÐȨÏÞµÄ×éºÏ
3. ÎļþµÄÓ²Á´½ÓÊý
4. ÎļþËùÓÐÕßµÄÓû§ID
5. ÎļþËùÊôµÄ×éID
6. Îļþ´óС£¨×Ö½ÚÊý£©
7. Ò»¸ö°üº¬15¸ö´ÅÅÌ¿éµØÖ·µÄÊý×é
8. Îļþ×î½üµÄ·ÃÎÊÈÕÆÚºÍʱ¼ä
9. Îļþ×îºóÒ»´ÎÐ޸ĵÄÈÕÆÚºÍʱ¼ä
10. Îļþ´´½¨µÄÈÕÆÚºÍʱ¼ä
Ó²ÅÌÉϵÄÿ¸öÎļþ£¬¶¼ÓÐÒ»¸öÃèÊöËüµÄÐÅÏ¢µÄË÷Òý½Úµã¡£Îļþϵͳ´´½¨µÄʱºò£¬Ò»¶¨ÊýÄ¿µÄË÷Òý½ÚµãÔÚÓ²ÅÌÖùÃæ×éÖб»Í¬Ê±´´½¨¡£ÓÐʱºò£¬ÕâЩË÷Òý½Úµã»òÐí»á²»¹»Óã¬ÀýÈçµ±Ò»¸ö³ÌÐò²úÉú´óÁ¿Ð¡ÎļþµÄʱºò£¬´ËʱÎļþϵͳ¾ÍÐèÒªÔö¼ÓË÷Òý½Úµã¡£Í¬Ñù£¬Èç¹ûÎÒÃÇÊÂÏÈÖªµÀ´ËÎļþϵͳֻÓÃÀ´´æ·ÅÉÙÊý´óÎļþ£¬ÎÒÃǾͿÉÒÔͨ¹ý¼õÉÙË÷Òý½ÚµãµÄÊýÄ¿À´´ïµ½½ÚÊ¡´ÅÅÌ¿Õ¼äµÄÄ¿µÄ----±Ï¾¹Ã¿¸öË÷Òý½ÚµãÕ¼ÓÃ128×Ö½Ú¡£´´½¨ÎļþϵͳµÄʱºò£¬¿ÉÒÔʹÓÃnewfsÃüÁîµÄ-iÑ¡ÏîÀ´Ôö¼Ó»òÕß¼õÉÙË÷Òý½ÚµãµÄÊýÄ¿¡£/usr/ucbĿ¼ÏµÄdfÃüÁî¿ÉÒԲ鿴ÎļþϵͳÖÐËùÒý½ÚµãµÄ×´¿ö¡£ÀýÈ磺
ÒýÓÃ:# usr/ucb/df -i
Filesystem iused ifree %iused Mounted on
/dev/dsk/c0t0d0s0 131672 1929384 6% /
×¢Ò⣺Îļþϵͳһµ©´´½¨£¬¾ÍÎÞ·¨¸Ä±äËüµÄË÷Òý½ÚµãÊýÄ¿£¬Òò´Ë£¬µ±Ë÷Òý½Úµã²»¹»ÓõÄʱºò£¬Ê×ÏÈÓ¦µ±±¸·Ý´ËÎļþϵͳÊý¾Ý£¬È»ºó´´½¨Ò»¸ö°üº¬¸ü¶àË÷Òý½ÚµãµÄеÄÎļþϵͳ£¬È»ºó½«±¸·ÝµÄÊý¾Ý»Ö¸´µ½ÐµÄÎļþϵͳ¾Í¿ÉÒÔÁË¡£
´æ´¢¿é/Êý¾Ý¿é
´æ´¢¿é£¬Ò²½Ð×öÊý¾Ý¿é£¬ËüÕ¼ÓÃÁËÎļþϵͳµÄÆäËûËùÓпռ䡣ÕâЩ¿é°üº¬ÁË´æ·ÅÔÚ´ÅÅÌÉϵÄÊý¾ÝÎļþ¡£Ã¿¸ö´æ´¢¿éµÄ´óСÔÚ´´½¨ÎļþϵͳµÄʱºò±»È·¶¨¡£¶ÔÒ»¸öÆÕͨÎļþÀ´Ëµ£¬´æ´¢¿é´æ·ÅÁËÎļþµÄÄÚÈÝ£¬¶ÔÒ»¸öĿ¼À´Ëµ£¬´æ´¢¿éÖдæ·ÅÁË´ËĿ¼ÖÐËùÓÐÎļþµÄË÷Òý½ÚµãºÅºÍÎļþÃûµÄÐÅÏ¢¡£
ºÃÁË£¬ÉÏÃæ˵ÁËÕâô¶àÄÚÈÝ£¬ÊDz»ÊÇ¿´ÀÛÁË°¡£¿·´ÕýÎÒµÄÊÖÔçËáÁË£¬ÈÃÎÒÈ¥ºÈ±²è£¬È»ºó¼ÌÐøʣϵÄÄÚÈÝ£º´ÅÅÌÃüÃû¡£
´ÅÅÌÃüÃû
ÕâÀïÖ÷ÒªÊÇÏêϸ½âÊÍÎÒÃÇ×ʼʹÓÃformatÃüÁîµÄʱºò£¬¿´µ½µÄc0t0d0Õâ¸ö±íʾµÄÏêϸº¬Òå¡£
ÔÚSolarisϵͳÖÐÓÃÉ豸ÃûÀ´´ú±í´ÅÅÌ¡£´ÅÅÌÉ豸ÃûÊÇÀàËÆcXtXdX¸ñʽµÄһϵÁÐ×ÖĸºÍÊý×Ö£¬±ÈÈçÎÒÃÇ¿´µ½µÄc0t0d0¡£É豸ÃûÖеÄ×Öĸ£¨c£¬t£¬d£©¶¼ÊÇÒ»ÑùµÄ£¬µ«X´ú±íµÄÊý×Ö±íʾÌض¨µÄ´ÅÅÌ»òÕßϵͳ¡£ÀýÈçc0t0d0±íʾ0ºÅ¿ØÖÆÆ÷£¬0ºÅ´ÅÅÌ£¬0ºÅLUN£¬Õâͨ³£Ö¸´úϵͳÖеĵÚÒ»¸öÓ²ÅÌ£¬ÍùÍùÒ²ÊÇϵͳµÄÆô¶¯´ÅÅÌ£¨boot disk£©¡£
SunʹÓÃÏÂÁÐÃüÃû·½Ê½¶¨ÒåÂß¼É豸Ãû£º
/dev/[r]dsk/cXtXdXsX
c:Âß¼¿ØÖÆÆ÷ºÅ£¨Âß¼¿ØÖÆÆ÷£©
t:ÎïÀí×ÜÏßÄ¿±êºÅ
d:´ÅÅÌ»òÂß¼µ¥ÔªºÅ(LUN)
s:·ÖÇøºÅ
cX : XÖ¸´ÅÅÌ¿ØÖÆÆ÷¡£µ±SUNϵͳËѼ¯°²×°ÔÚϵͳÖеĴÅÅÌ¿ØÖÆÆ÷ÐÅϢʱ£¬Ëü¸øÿ¸ö´ÅÅÌ¿ØÖÆÆ÷Ò»¸öÊýÖµ£¬Êýֵȡ¾öÓÚϵͳ¼à²â¿ØÖÆÆ÷µÄÏȺó˳Ðò¡£µÚÒ»¸ö±»¼ì²âµ½µÄ¿ØÖÆÆ÷·ÖÅäµÄÊýÖµÊÇ0£¬µÚ¶þ¸ö¿ØÖÆÆ÷ÊÇ1£¬ÒÀ´ÎÀàÍÆ¡£¶ÔIDEϵͳÀ´Ëµ£¬µÚÒ»¸öIDEͨµÀΪ0£¬µÚ¶þ¸ö£¨Èç¹û´æÔڵĻ°£©Í¨µÀΪ1¡£
tX : XÖ¸´ÅÅ̵ÄÄ¿±êºÅ¡£Õâ¸öÊý×ÖÓÐʱºò±»³ÆΪSCSI±êʶ·û£¬´ÅÅÌ¿ØÖÆÆ÷ÉϵÄÿһ¸ö´ÅÅ̶¼ÓÐÒ»¸öΨһµÄÄ¿±êºÅ¡£¿ØÖÆÆ÷ͨ¹ýÕâ¸öÄ¿±êºÅ¿ÉÒÔ¶Ôÿ¸ö´ÅÅ̶ÀÁ¢Ñ°Ö·¡£¶ÔIDE´ÅÅ̶øÑÔ£¬Ö÷Å̵ÄÄ¿±êºÅÊÇ0£¬´ÓÅ̵ÄÄ¿±êºÅÊÇ1¡£
dX : XÖ¸´ÅÅ̵ÄÂß¼µ¥ÔªºÅ£¨LUN£©¡£ÔÚÓÐЩ´ÅÅÌÕóÁÐÖУ¬LUN±»ÓÃÀ´Çø·ÖϵͳÖеĸ÷¸ö´ÅÅÌ¡£Ò»¸öÕóÁпÉÒÔÓÃÒ»¸öÄ¿±êºÅÀ´±íʾһ×é´ÅÅÌ£¬È»ºóÓÃLUNÀ´±íʾÕâ¸ö´ÅÅÌ×éÖеĵ¥¸ö´ÅÅÌ¡£ÕâÖÖ·½Ê½±»¹ã·ºÓ¦ÓÃÓÚSCSI´ÅÅÌÕóÁк͹âÅÌת»»É豸ÖС£¶Ôµ¥¸ö´ÅÅÌ»òIDE´ÅÅÌ£¬Õâ¸öÊý×Ö×ÜÊÇÉ趨Ϊ0¡£
sX : XÖ¸´ÅÅÌÉϵķÖÇøºÅ¡£ËüºÍ´ÅÅ̵ķÖÇø¶ÔÓ¦¡£¾ÍÈçÎÒÃÇÇ°ÃæËù˵µÄ¡°SolarisÏ£¬Ò»¸ö´ÅÅÌ°üº¬8¸ö·ÖÇø£¬±ê¼ÇΪ0£7¡±£¬ÒòΪÕâÀïXµÄÊýÖµÖ»ÄÜÊÇ0----7¡£
ÒÔÉϵÄÄÚÈÝ£¬¾Í¿ÉÒÔÏêϸ˵Ã÷³öc0t0d0s0µÄº¬ÒåÁË¡£
2.LinuxÓ²ÅÌ·ÖÇø¼ò½é
´ÅÅÌÃüÃû
Ïà¶ÔSolarisÀ´Ëµ£¬Linux´ÅÅÌÃüÃûµÄ¸ÅÄî¾Í¼òµ¥¶àÁË£¬¶øÇÒºÍÎÒÃÇƽ³£Ê¹ÓõÄWindowsϵͳ¶àÉÙÓÐЩ¹Ï¸ð¡£ºÍSolarisÒ»Ñù£¬ÔÚLinuxÖУ¬Ã¿¸öÓ²¼þÉ豸¶¼ÓÐÒ»¸ö³ÆΪÉ豸Ãû³ÆµÄÌرðÃû×Ö£¬ÀýÈ磬½ÓÔÚIDE1µÄµÚÒ»¸öÓ²ÅÌ£¨masterÖ÷Ó²ÅÌ£©£¬ÆäÉ豸Ãû³ÆΪ/dev/hda£¬Ò²¾ÍÊÇ˵ÎÒÃÇ¿ÉÒÔÓá°/dev/hda¡±À´´ú±í´ËÓ²ÅÌ£¬ÏÂÃæµÄÐÅÏ¢ÏàÐÅ´ó¼Ò¿´ÁËÒÔºó»áÓС°Ò»Ä¿ÁËÈ»¡±µÄ¸Ð¾õ£º
´ÅÅÌ É豸Ãû³Æ
IDE1µÄµÚ1¸öÓ²ÅÌ£¨master£© /dev/hda
IDE1µÄµÚ2¸öÓ²ÅÌ£¨slave£© /dev/hdb
IDE2µÄµÚ1¸öÓ²ÅÌ£¨master£© /dev/hdc
IDE2µÄµÚ2¸öÓ²ÅÌ£¨slave£© /dev/hdd
SCSIµÄµÚ1¸öÓ²ÅÌ /dev/sda
SCSIµÄµÚ2¸öÓ²ÅÌ /dev/sdb
Õâô¿´À´£¬ÊDz»ÊDZÈSolarisµÄÓ²ÅÌÃüÃûÈÝÒ×Àí½â¶àÁË£¿
·ÖÇøÃüÃû
·ÖÇøµÄÄ¿µÄ£¬ÊÇΪÁËÈÃÊý¾ÝÄܹ»·ÖÀà´æ·Å¡£Ã¿Ò»¸ö·Ö¸î³öÀ´µÄÇøÓò£¬¾Í³ÆΪһ¸ö¡°·ÖÇø¡±£¨partition£©£¬ÔÚSolarisÖУ¬Ò²³£³£Óá°slice¡±£¨Æ¬£©µÄ¸ÅÄÀýÈçÎÒÃÇÇ°ÃæËù½²¹ýµÄc0t0d0s0ÖеÄs0£¬¾ÍÊÇÖ¸´úµÚÒ»¸ö·ÖÇø¡£ÔÚLinuxÖУ¬·ÖÇøµÄ¸ÅÄîºÍWindowsµÃ¸ü¼Ó½Ó½ü£¬Ó²ÅÌ·ÖÇø°´ÕÕ¹¦ÄܵIJ»Í¬£¬¿ÉÒÔ·ÖΪÒÔϼ¸Àࣺ
1. Ö÷·ÖÇø£¨primary£©
2. À©Õ¹·ÖÇø£¨extended£©
3. Âß¼·ÖÇø£¨logical£©
Ö÷·ÖÇø£¨primary£©
ͨ³£ÔÚ»®·ÖÓ²Å̵ĵÚ1¸ö·ÖÇøʱ£¬»áÖ¸¶¨ÎªÖ÷·ÖÇø¡£µ«ÊǺÍWindows²»Í¬µÄÊÇ£¬windowsÖÐÒ»¸öÓ²ÅÌ×î¶àÖ»ÔÊÐíÓÐ1¸öÖ÷·ÖÇø£¬¶øLinux×î¶à¿ÉÒÔÈÃÓû§´´½¨4¸öÖ÷·ÖÇø¡£
À©Õ¹·ÖÇø£¨extended£©
ÓÉÓÚLinuxÖÐÒ»¸öÓ²ÅÌ×î¶àÖ»ÔÊÐíÓÐ4¸öÖ÷·ÖÇø£¬Èç¹ûÏëÒª´´½¨¸ü¶àµÄ·ÖÇø£¬Ôõô°ì£¿ÓÚÊǾÍÓÐÁËÀ©Õ¹·ÖÇøµÄ¸ÅÄî¡£Óû§¿ÉÒÔ´´½¨Ò»¸öÀ©Õ¹·ÖÇø£¬È»ºóÔÚÀ©Õ¹·ÖÇøÉÏ´´½¨¶à¸öÂß¼·ÖÇø¡£´ÓÀíÂÛÉÏÀ´Ëµ£¬Âß¼·ÖÇøûÓÐÊýÁ¿ÉϵÄÏÞÖÆ¡£
ÐèҪעÒâµÄÊÇ£¬´´½¨À©Õ¹·ÖÇøµÄʱºò£¬»áÕ¼ÓÃÒ»¸öÖ÷·ÖÇøµÄλÖã¬Òò´Ë£¬Èç¹û´´½¨ÁËÀ©Õ¹·ÖÇø£¬Ò»¸öÓ²ÅÌÉϱã×î¶àÖ»ÄÜ´´½¨3¸öÖ÷·ÖÇøºÍÒ»¸öÀ©Õ¹·ÖÇø¡£¶øÇÒ£¬À©Õ¹·ÖÇø²»ÊÇÓÃÀ´´æ·ÅÊý¾ÝµÄ£¬ËüµÄÖ÷Òª¹¦ÄÜÊÇΪÁË´´½¨Âß¼·ÖÇø¡£Õâ¸ö¸ÅÄºÍWindows¿É˵ÊÇһģһÑù¡£
Âß¼·ÖÇø£¨logical£©
Âß¼·ÖÇø²»Äܹ»Ö±½Ó´´½¨£¬Ëü±ØÐëÒÀ¸½ÔÚÀ©Õ¹·ÖÇøÏ£¬ÈÝÁ¿Êܵ½À©Õ¹·ÖÇø´óСµÄÏÞÖÆ¡£Í¨³£Âß¼·ÖÇøÊÇ´æ·ÅÎļþºÍÊý¾ÝµÄµØ·½¡£
ÓÐÁË´ÅÅÌÃüÃûºÍ·ÖÇøÃüÃûµÄ¸ÅÄÀí½âÖîÈç/dev/hda1Ö®ÀàµÄ·ÖÇøÃû³Æ£¬Ó¦¸Ã¾Í²»ÊÇÄÑÊÂÁË¡£¾ßÌåµÄ£¬¿ÉÒÔ¿´ÏÂÃæµÄ±íʾ£º
·ÖÇø ·ÖÇøÃû³Æ
IDE1µÄµÚ1¸öÓ²ÅÌ£¨master£©µÄµÚ1¸öÖ÷·ÖÇø /dev/hda1
IDE1µÄµÚ1¸öÓ²ÅÌ£¨master£©µÄµÚ2¸öÖ÷·ÖÇø /dev/hda2
IDE1µÄµÚ1¸öÓ²ÅÌ£¨master£©µÄµÚ3¸öÖ÷·ÖÇø /dev/hda3
IDE1µÄµÚ1¸öÓ²ÅÌ£¨master£©µÄµÚ4¸öÖ÷·ÖÇø /dev/hda4
IDE1µÄµÚ1¸öÓ²ÅÌ£¨master£©µÄµÚ1¸öÂß¼·ÖÇø /dev/hda5
IDE1µÄµÚ1¸öÓ²ÅÌ£¨master£©µÄµÚ2¸öÂß¼·ÖÇø /dev/hda6
...... ......
IDE1µÄµÚ2¸öÓ²ÅÌ£¨slave£©µÄµÚ1¸öÖ÷·ÖÇø /dev/hdb1
IDE1µÄµÚ2¸öÓ²ÅÌ£¨slave£©µÄµÚ2¸öÖ÷·ÖÇø /dev/hdb2
...... ......
SCSIµÄµÚ1¸öÓ²Å̵ĵÚ1¸öÖ÷·ÖÇø /dev/sda1
SCSIµÄµÚ1¸öÓ²Å̵ĵÚ2¸öÖ÷·ÖÇø /dev/sda2
...... ......
HYCOG ÓÚ 2006-07-17 11:28:58·¢±í:
²»´í