Forum
Bildirimler
Hepsini Temizle
Linux & Unix
5
Yazılar
3
Üyeler
0
Reactions
906
Görüntüleme
Konu başlatıcı
Merhabalar
Sunucumuzda 3 adet 1.5 TB disk bulunmakta
2 adet disk Raid 1
1 Adet Disk tek başına çalışmaktadır.
Öncelikle SSH üzerinden işletim sistemininin RAID yapısında mi yoksa tek başına çalışan disk üzerinde mi olduğunu nasıl öğrenebiliriz?
Kullanılmayan disk RAID yapısında ise nasıl mount edebiliriz , solo disk ise nasıl mount edebilirim.
FDISK çıktısı aşağıdaki gibidir.
İyi Çalışmalar Herkese.
Disk /dev/sdb: 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: 0x0008a348
Device Boot Start End Blocks Id System
/dev/sdb1 1 262 2097152+ 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 262 327 524288+ fd Linux raid autodetect
Partition 2 does not end on cylinder boundary.
/dev/sdb3 327 182402 1462513947+ fd Linux raid autodetect
Disk /dev/sdc: 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: 0x0008cca6
Device Boot Start End Blocks Id System
/dev/sdc1 1 262 2097152+ 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdc2 262 327 524288+ fd Linux raid autodetect
Partition 2 does not end on cylinder boundary.
/dev/sdc3 327 182402 1462513947+ fd Linux raid autodetect
Disk /dev/sda: 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: 0x000c3c1e
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2097152+ 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 262 327 524288+ fd Linux raid autodetect
Partition 2 does not end on cylinder boundary.
/dev/sda3 327 182402 1462513947+ fd Linux raid autodetect
Disk /dev/md2: 2995.2 GB, 2995227983872 bytes
2 heads, 4 sectors/track, 731256832 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000
Disk /dev/md1: 536 MB, 536858624 bytes
2 heads, 4 sectors/track, 131069 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md0: 2147 MB, 2147471360 bytes
2 heads, 4 sectors/track, 524285 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Gönderildi : 09/11/2012 16:43
ssh ile anca raid kartının komut satirindan calisan bir tool'u varsa bununla anlayabilirsiniz hocam
Gönderildi : 09/11/2012 18:31
# cat /etc/mdadm.conf
# df
# blkid
# cat /proc/mdstat
3 tane raid bölümü oluşturulmuş yukardaki komutların çıktılarını paylaşırmısın.
Gönderildi : 09/11/2012 18:43
Konu başlatıcı
# cat /etc/mdadm.conf
DEVICES /dev/[hs]d*
ARRAY /dev/md/0 metadata=1.0 UUID=8eda49be:8f200520:95866c32:83dfb855 name=rescue:0
ARRAY /dev/md/1 metadata=1.0 UUID=d5d07cde:10338865:43d68c3c:a20f9059 name=rescue:1
ARRAY /dev/md/2 metadata=1.0 UUID=cc6b4441:7cd90a66:fca0fb61:fea0992a name=rescue:2
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 2901980696 9384868 2746344464 1% /
/dev/md1 507736 31110 450413 7% /boot
/usr/tmpDSK 4128448 139756 3778980 4% /tmp
#cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [raid1]
md0 : active raid1 sdb1[1] sdc1[2] sda1[0]
2097140 blocks super 1.0 [3/3] [UUU]
md1 : active raid1 sdb2[1] sdc2[2] sda2[0]
524276 blocks super 1.0 [3/3] [UUU]
md2 : active raid5 sdb3[1] sdc3[3] sda3[0]
2925027328 blocks super 1.0 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
Gönderildi : 10/11/2012 20:16
3 raid bölümü oluşturulmuş 3 disk de kullanılmış boşda disk gözükmüyor
2 raid1 ve 1 tane de raid5 oluşturulmuş. raid5 üzerinde kök dizinin gözüküyor ona kurulmuş sistemin
raid1 lerden 1 tanesi boot dosyasını diğeri ise mount edilmemiş
Gönderildi : 11/11/2012 15:51