laptop ~ # fsckfsck fsck.ext2 fsck.ext4 fsck.minix fsck.ntfs fsck.reiserfs fsck.cramfs fsck.ext3 fsck.ext4dev fsck.msdos fsck.reiser4 fsck.vfat laptop ~ # fsck
Как в альте протестировать hdd вообще и raid5 в частности? На сбойные сектора?
df
fdisk -l
cat /proc/mdstat
Цитата: alehander от 03.01.2010 15:49:43Как в альте протестировать hdd вообще и raid5 в частности? На сбойные сектора?У вас программный raid5 или аппаратный?Вывод следующих команд в студиюКод: [Выделить]dfКод: [Выделить]fdisk -lну и на всякий случайКод: [Выделить]cat /proc/mdstat
Filesystem Size Used Avail Use% Mounted on/dev/hda1 30G 5.5G 23G 20% /udevfs 5.0M 104K 4.9M 3% /devshmfs 1014M 0 1014M 0% /dev/shmtmpfs 1014M 0 1014M 0% /tmp/dev/md0 587G 265G 293G 48% /home
fdisk -lDisk /dev/hda: 40.0 GB, 40020664320 bytes255 heads, 63 sectors/track, 4865 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 * 1 3932 31583758+ 83 Linux/dev/hda2 3933 4865 7494322+ 82 Linux swap / SolarisDisk /dev/sda: 320.0 GB, 320072933376 bytes255 heads, 63 sectors/track, 38913 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 1 38913 312568641 fd Linux raid autodetectDisk /dev/sdb: 320.0 GB, 320072933376 bytes255 heads, 63 sectors/track, 38913 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdb1 1 38913 312568641 fd Linux raid autodetectDisk /dev/sdc: 320.0 GB, 320072933376 bytes255 heads, 63 sectors/track, 38913 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdc1 1 38913 312568641 fd Linux raid autodetectDisk /dev/md0: 640.1 GB, 640140443648 bytes2 heads, 4 sectors/track, 156284288 cylindersUnits = cylinders of 8 * 512 = 4096 bytesDisk /dev/md0 doesn't contain a valid partition table
cat /proc/mdstatPersonalities : [raid6] [raid5] [raid4]md0 : active raid5 sdc1[2] sdb1[1] sda1[0] 625137152 blocks level 5, 32k chunk, algorithm 0 [3/3] [UUU]unused devices: <none>
http://www.kerneloops.org/