虛擬機(jī)unbuntu的RAID實(shí)驗(yàn)_第1頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

第第頁虛擬機(jī)unbuntu的raid實(shí)驗(yàn)先在vmware添加硬件,3塊scsi硬盤,假如要做raid5就得四塊了。然后用將硬盤分區(qū),注重分區(qū)的系統(tǒng)格式。disk/dev/s:3221mb,3221225472bytes255heads,63sectors/ack,391cylindersunits=cylindersof16065*512=8225280bytesdiskentifier:0xe45cf3b9devicebootstartendblocksidsystem/dev/sdd111301044193+fdlinuxraidautodetect/dev/sdd21312601044225fdlinuxraidautodetect/dev/sdd32613911052257+fdlinuxraidautodetectdisk/dev/sde:3221mb,3221225472bytes255heads,63sectors/track,391cylindersunits=cylindersof16065*512=8225280bytesdiskidentifier:0xb51587ecdevicebootstartendblocksidsystem/dev/sde111301044193+fdlinuxraidautodetect/dev/sde21312601044225fdlinuxraidautodetect/dev/sde32613911052257+fdlinuxraidautodetectdisk/dev/s:3221mb,3221225472bytes255heads,63sectors/track,391cylindersunits=cylindersof16065*512=8225280bytesdiskidentifier:0x5c56f4aedevicebootstartendblocksidsystem/dev/sdf111301044193+fdlinuxraidautodetect/dev/sdf21312601044225fdlinuxraidautodetect/dev/sdf32613911052257+fdlinuxraidautodetect安裝mdadm,并確認(rèn)apt-getinstallmdadm,nestor@nestor-desktop:~$mdmd_mod820680nestor@nestor-desktop:~$/proc/devices|grepmd1ramdisk9md253mdpnestor@nestor-desktop:~$cat/proc/mdpersonalities:unusdevices:noneraid0:nestor@nestor-desktop:~$domdadm-cv/dev/md0-l0-n3/dev/sdd1/dev/sde1/dev/sdf1mdadm:chunksizedefaultsto64kmdadm:array/dev/md0started.nestor@nestor-desktop:~$cat/proc/mdstatpersonalities:[raid0]md0:activeraid0sdf1[2]sde1[1]sdd1[0]3132288blocks64kchunksunudevices:nonenestor@nestor-desktop:~$mdadm-d/dev/md0mdadm:cannotopen/dev/md0:peissiondeniednestor@nestor-desktop:~$sudomdadm-d/dev/md0/dev/md0:version:00.90.03creationtime:sunaug701:35:112011raidlevel:raid0arraysize:3132288(2.99gib3.21gb)raiddevices:3totaldevices:3preferredminor:0persistee:superblockispersistentuptime:sunaug701:35:112011state:cleanactivedevices:3workingdevices:3faileddevices:0sparedevices:0chunksize:64kuuid:7da54c47:fdd46140:e896b948:8bdba58f(localtohostnestor-desktop)events:0.1numbermajorminorraiddevicestate08490active/dev/sdd118651activesync/dev/sde128812activesync/dev/sdf1nestor@nestor-desktop:~$sudot3.html'target='_blank'>mkfs.ext3/dev/md01.40.8(13-mar-2008)filesystemlabel=ostype:linuxblocksize=4096(log=2)fragmentsize=4096(log=2)195840inodes,783072blocks39153blocks(5.00%)reservedforthesuperuserfirstdatablock=0maximumsystemblocks=80530636824blockgroups32768blockspergroup,32768fragmentspergroup8160inodespergroupsuperblockbackupsstoredonblocks:32768,98304,163840,229376,294912writinginodetables:donecreatingjournal(16384blocks):donewritingsuperblocksandfilesystemaccountinginformation:donethisfilesystemwillbeautomaticallycheckedevery31mountsor180days,evercomesfirst.usetune2fs-cor-itooverride.nestor@nestor-desktop:~$nestor@nestor-desktop:~$sudo/raid0disknestor@nestor-desktop:~$sudomount/dev/md0/raid0disknestor@nestor-desktop:~$nestor@nestor-desktop:~$raid1:nestor@nestor-desktop:~$sudomdadm-cv/dev/md1-l1-n2-x1/dev/sdd2/dev/sde2/dev/sdf2mdadm:sizeto1044160kmdadm:array/dev/md1started.nestor@nestor-desktop:~$nestor@nestor-desktop:~$nestor@nestor-desktop:~$cat/proc/mdstatpersonalities:[raid0][raid1]md1:activeraid1sdf2[2](s)sde2[1]sdd2[0]1044160blocks[2/2][uu]md0:activeraid0sdf1[2]sde1[1]sdd1[0]3132288blocks64kchunksunuseddevices:nonenestor@nestor-desktop:~$mdadm-d/dev/md1mdadm:cannotopen/dev/md1:permissiondeniednestor@nestor-desktop:~$sudomdadm-d/dev/md1/dev/md1:version:00.90.03creationtime:sunaug701:43:552011raidlevel:raid1arraysize:1044160(1019.86mib1069.22mb)useddevsize:1044160(1019.86mib1069.22mb)raiddevices:2totaldevices:3preferredminor:1persistence:superblockispersistentupdatetime:sunaug701:44:002011state:cleanactivedevices:2workingdevices:3faileddevices:0sparedevices:1uuid:ee1158f1:5d371eef:e896b948:8bdba58f(localtohostnestor-desktop)events:0.4numbermajorminorraiddevicestate08500activesync/dev/sdd218661activesync/dev/sde22882-spare/dev/sdf2nestor@n

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論