PDA

View Full Version : help setting up my harddrives..



s0d
16th August 2008, 07:15 AM
Hello there,

i have 4 SATA drives installed in my machine, 2 of which, are in a striped hardware raid that needs to be formatted and mounted to house all my movies. can someone give me a little help here because last time i did this i ran in to problems. i have included the output from fdisk below:
many thanks.

[root@localhost ~]# fdisk -l

Disk /dev/sda: 320.0 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000effcb

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 20410 163838902+ 8e Linux LVM
/dev/sda3 20411 38913 148625347+ 8e Linux LVM

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000191d7

Device Boot Start End Blocks Id System

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00023ab7

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 38914 312568832 7 HPFS/NTFS

Disk /dev/sdd: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000f162d

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 38913 312568641 8e Linux LVM

Disk /dev/dm-0: 640.1 GB, 640141230080 bytes
255 heads, 63 sectors/track, 77826 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000191d7

Device Boot Start End Blocks Id System

Disk /dev/dm-1: 159.1 GB, 159182225408 bytes
255 heads, 63 sectors/track, 19352 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

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

Disk /dev/dm-2: 8522 MB, 8522825728 bytes
255 heads, 63 sectors/track, 1036 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-2 doesn't contain a valid partition table
[root@localhost ~]#

markkuk
16th August 2008, 08:59 AM
The fdisk output shows that you don't have hardware RAID. If this is a dual-boot system, try "dmraid -r" to see if the BIOS-based software RAID is discovered. In a Linux-only system, delete the BIOS-based RAID and set up a native Linux software RAID array.

s0d
16th August 2008, 11:58 PM
Hi Markkuk, thanks for your reply.

Sorry i meant to write software RAID, controlled by bios, not sure why i wrote hardware, case of thinking one thing typing another... anyways the RAID is recognised by Linux:

[root@localhost ~]# dmraid -r
/dev/sdc: isw, "isw_bajbiiafjb", GROUP, ok, 625142446 sectors, data@ 0
/dev/sdb: isw, "isw_bajbiiafjb", GROUP, ok, 625142446 sectors, data@ 0
[root@localhost ~]#

can you tell me why it is better to use a native linux software RAID than the mobo BIOS RAID please. I am worried it is more susceptible to failure that way.

cheers