Log in

View Full Version : [ask] masalah debian raid1 software...


Posixlover
23rd November 2011, 02:06 PM
agan2 sekalian gw nubi, mo tanya ttg raid1 pk software (bkn lwt bios/hardwer). mungkin agan2 ada yg pernah ngalamin.



gw lg nyeting server linux pk debian. gw ga pernah bs install raid yg pk hardwer krn mslh driver raidnya ga disupport. jadi gw buat pk raid sofwer.



gw mengikutin dari tutorial berikut:

http://howtoforge.com/how-to-set-up-...n-debian-lenny (http://howtoforge.com/how-to-set-up-software-raid1-on-a-running-lvm-system-incl-grub-configuration-debian-lenny)



semua sudah berjalan lancar sampe setting di grub nya jg, sampe test simulasi failure. kondisi raid kalo di liat pk cat /proc/mdstat lancar :




Code:

cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb2[1] sda2[0]
35591936 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
248896 blocks [2/2] [UU]

unused devices:

trus, yg membuat gw ragu thd system ini adalah hasil fdisk -l, ada yg menunjukan masalah di md0 & md1 ttg partition tableny. hasil fdisk -l sebagai berikut:




Code:

Disk /dev/sda: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6c6c6c6c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 31 248976 fd Linux raid autodetect
/dev/sda2 32 4462 35592007+ fd Linux raid autodetect

Disk /dev/sdb: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6c6c6c6c

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 31 248976 fd Linux raid autodetect
/dev/sdb2 32 4462 35592007+ fd Linux raid autodetect

Disk /dev/md0: 254 MB, 254869504 bytes
2 heads, 4 sectors/track, 62224 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md1: 36.4 GB, 36446142464 bytes
2 heads, 4 sectors/track, 8897984 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/dm-0: 34.8 GB, 34896609280 bytes
255 heads, 63 sectors/track, 4242 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 1547 MB, 1547698176 bytes
255 heads, 63 sectors/track, 188 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

gw pikir ada bad sector, tp sudah cek badblocks mo problemo. maaf bila infonya kurang memadai.



gw kurang pengalaman ttg filesystem di linux. mohon pendapat agan2 layakkah sistem ini dan kira2 solusi mengatasi masalah ini...

</div>