I have a Linux dedicated server with 1and1. The secondary drive on their RAID1 went bad, and they replaced with a new one. They've sent me the instruction (http://faq.1and1.com/dedicated_servers/root_server/linux_recovery/10.html), but the values don't match with what I have, and I don't wanna do anything I'm not so sure about, as it could wipe my good drive.
1and1 hasn't been very helpful, so I'm turning to you experts for help. Please tell me what I should do.
Here's the info:
[root@u16365582 dev]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 4.0G 895M 3.1G 23% /
/dev/mapper/vg00-usr 32G 1.6G 29G 6% /usr
/dev/mapper/vg00-var 397G 122G 256G 33% /var
/dev/mapper/vg00-home
4.0G 136M 3.7G 4% /home
none 7.9G 20K 7.9G 1% /tmp
[root@u16365582 dev]# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda1[0]
4194240 blocks [2/1] [U_]
md3 : active raid1 sda3[1]
970470016 blocks [2/1] [_U]
unused devices: <none>
[root@u16365582 dev]# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x416e0acb
Device Boot Start End Blocks Id System
/dev/sda1 1 523 4194304 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 523 784 2097152 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 784 121602 970470104 fd Linux raid autodetect
Partition 3 does not end on cylinder boundary.
Disk /dev/md3: 993.8 GB, 993761296384 bytes
2 heads, 4 sectors/track, 242617504 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/md1: 4294 MB, 4294901760 bytes
2 heads, 4 sectors/track, 1048560 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/mapper/vg00-usr: 34.4 GB, 34359738368 bytes
255 heads, 63 sectors/track, 4177 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: 0x00000000
Disk /dev/mapper/vg00-var: 432.7 GB, 432717955072 bytes
255 heads, 63 sectors/track, 52608 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: 0x00000000
Disk /dev/mapper/vg00-home: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 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: 0x00000000
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 121601 976760001 83 Linux
[root@u16365582 dev]#
1and1 hasn't been very helpful, so I'm turning to you experts for help. Please tell me what I should do.
Here's the info:
[root@u16365582 dev]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 4.0G 895M 3.1G 23% /
/dev/mapper/vg00-usr 32G 1.6G 29G 6% /usr
/dev/mapper/vg00-var 397G 122G 256G 33% /var
/dev/mapper/vg00-home
4.0G 136M 3.7G 4% /home
none 7.9G 20K 7.9G 1% /tmp
[root@u16365582 dev]# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda1[0]
4194240 blocks [2/1] [U_]
md3 : active raid1 sda3[1]
970470016 blocks [2/1] [_U]
unused devices: <none>
[root@u16365582 dev]# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x416e0acb
Device Boot Start End Blocks Id System
/dev/sda1 1 523 4194304 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 523 784 2097152 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 784 121602 970470104 fd Linux raid autodetect
Partition 3 does not end on cylinder boundary.
Disk /dev/md3: 993.8 GB, 993761296384 bytes
2 heads, 4 sectors/track, 242617504 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/md1: 4294 MB, 4294901760 bytes
2 heads, 4 sectors/track, 1048560 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/mapper/vg00-usr: 34.4 GB, 34359738368 bytes
255 heads, 63 sectors/track, 4177 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: 0x00000000
Disk /dev/mapper/vg00-var: 432.7 GB, 432717955072 bytes
255 heads, 63 sectors/track, 52608 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: 0x00000000
Disk /dev/mapper/vg00-home: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 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: 0x00000000
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 121601 976760001 83 Linux
[root@u16365582 dev]#