raidtest

raidtest

Created 週一 04 十月 2010

/opt/drbl/sbin/ocs-sr -q2 -c -j2 -z1p -i 2000 -p true savedisk "2010-05-31-16-img" "sda sdb sdc sdd sde sdf sdg sdh sdi sdj sdk sdl sdm sdn sdo sdp sdq sdr sds sdt sdu sdv sdw sdx sdy"

active 1 raid0 root@drbl-desk:\~# dmraid -r /dev/sdc: isw, "isw_bgighibbba", GROUP, ok, 1953525166 sectors, data@ 0 /dev/sdb: isw, "isw_bgighibbba", GROUP, ok, 1953525166 sectors, data@ 0 root@drbl-desk:\~# ls /dev/mapper/ control isw_bgighibbba_vmware isw_bgighibbba_vmware1 root@drbl-desk:\~#

inactive root@drbl-desk:\~# dmraid -an root@drbl-desk:\~# ls /dev/mapper/ control root@drbl-desk:\~# dmraid -r /dev/sdc: isw, "isw_bgighibbba", GROUP, ok, 1953525166 sectors, data@ 0 /dev/sdb: isw, "isw_bgighibbba", GROUP, ok, 1953525166 sectors, data@ 0

==== Advanced Format(sector sizr 512 to 4096) restore xp image to new Disk attach to W7 and run wdalign test, no problem

install xp to AF, no problem install xp to old disk, then clone to new AF disk, need to alignment slow speed thomas@T17:\~\$ sudo hdparm -Tt /dev/sdd [sudo] password for thomas:

/dev/sdd: Timing cached reads: 9008 MB in 2.00 seconds = 4508.08 MB/sec Timing buffered disk reads: 88 MB in 3.04 seconds = 28.99 MB/sec thomas@T17:\~\$

/dev/sdd: Timing cached reads: 9774 MB in 2.00 seconds = 4894.46 MB/sec Timing buffered disk reads: 84 MB in 3.03 seconds = 27.73 MB/sec

fast speed /dev/sdd: Timing cached reads: 10942 MB in 2.00 seconds = 5476.38 MB/sec Timing buffered disk reads: 88 MB in 3.01 seconds = 29.24 MB/sec

fix alignment # partition table of /dev/sdd unit: sectors

/dev/sdd1 : start= 63, size=143363997, Id= 7, bootable /dev/sdd2 : start=143364060, size=169196580, Id= f /dev/sdd3 : start= 0, size= 0, Id= 0 /dev/sdd4 : start= 0, size= 0, Id= 0 /dev/sdd5 : start=143364123, size=169196517, Id= e

size=((size / 8) + 1) * 8

# partition table of /dev/sdd unit: sectors

/dev/sdd1 : start= 64, size=143364000, Id= 7, bootable /dev/sdd2 : start=143364064, size=169196584, Id= f /dev/sdd3 : start= 0, size= 0, Id= 0 /dev/sdd4 : start= 0, size= 0, Id= 0 /dev/sdd5 : start=143364128, size=169196520, Id= e

sfdisk -H 224 -S 56 --force /dev/sdd \< sfdisk.log

boot fail? partclone.ntfsfixboot -w -h 224 -t 56 -s 64 /dev/sdd1

after run d align tool: thomas@T17:\~\$ sudo fdisk -l /dev/sdd omitting empty partition (5)

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x69156915

Device Boot Start End Blocks Id System /dev/sdd1 * 1 8924 71680000 7 HPFS/NTFS /dev/sdd2 8925 19456 84598290 f W95 Ext'd (LBA) /dev/sdd5 8925 19456 84597248 7 HPFS/NTFS thomas@T17:\~\$ sudo sfdisk -d /dev/sdd # partition table of /dev/sdd unit: sectors

/dev/sdd1 : start= 2048, size=143360000, Id= 7, bootable /dev/sdd2 : start=143364060, size=169196580, Id= f /dev/sdd3 : start= 0, size= 0, Id= 0 /dev/sdd4 : start= 0, size= 0, Id= 0 /dev/sdd5 : start=143366144, size=169194496, Id= 7

done. ==== ffserver 沒有成功 下次試試看用一單檔案,不要用webm vlc0.1.1-rc有支援webm測試不出來

==== nogui clone...ok nogui restore ok

====

old convert log: ./raidtest/tag%3E%20zzarchive)

Comments