Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Linux Support Linux - Operating Systems and Applications Support

Reply
 
Thread Tools
Old 11-21-2008, 01:38 PM   #1 (permalink)
Registered User
 
PAS_PAA's Avatar
 
Join Date: Aug 2005
Posts: 11
OS: XP/Ubuntu


Trying to create software RAID in Ubuntu

Hello,

I have been trying to set up a software RAID on my Ubuntu machine (7.10).
I have one disk for the OS and then two identical Maxtor 320GB SATA disks that I
want to set up as RAID 1.

Both disks are formatted ntfs.

Output from fdisk -l

root@office:/home/bob# fdisk -l

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

Device Boot Start End Blocks Id System
/dev/sda1 1 38913 312568641 7 HPFS/NTFS

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

Device Boot Start End Blocks Id System
/dev/sdb1 1 38913 312568641 7 HPFS/NTFS

Disk /dev/hda: 20.4 GB, 20490559488 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe06c8ea5

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2382 19133383+ 83 Linux
/dev/hda2 2383 2491 875542+ 5 Extended
/dev/hda5 2383 2491 875511 82 Linux swap / Solaris

Disk /dev/md0: 320.0 GB, 320070221824 bytes
255 heads, 63 sectors/track, 38912 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00030f75

Device Boot Start End Blocks Id System
/dev/md0p1 1 38912 312560608+ 83 Linux


I had given command:
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda /dev/sdb

so now /dev/md0 shows up in the fdisk output

followed by:
mkfs -t ntfs /dev/md0

both commands execute fine.

However, when trying to mount md0, I get:

root@office:/home/bob# mount -t ntfs /dev/md0 /media/store
NTFS signature is missing.
Failed to mount '/dev/md0': Invalid argument
The device '/dev/md0' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

root@office:/home/bob# mount -t ntfs /dev/md0p1 /media/store
Failed to access '/dev/md0p1': No such file or directory


I tried to use GParted to create a partition, but I get this error:

++++++++++++++++++++++++++++++++++++++++++++++++++++++
GParted 0.3.3

Libparted 1.7.1

Format /dev/md0p1 as ntfs 00:01 ( ERROR )

calibrate /dev/md0p1 00:01 ( SUCCES )

path: /dev/md0p1
start: 63
end: 625121279
size: 625121217 (298.08 GiB)
set partitiontype on /dev/md0p1 00:00 ( SUCCES )

new partitiontype: ntfs
create new ntfs filesystem 00:00 ( ERROR )

mkntfs -Q -vv /dev/md0p1

The device doesn't exist; did you specify it correctly?
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Any help would be greatly appreciated.
__________________
ASUS A8N SLI, AMD Athlon 64 3700+ socket 939
ASUS GF6600, 1GB Corsair TWINX 3200 RAM
300GB Seagate SATA HD
PAS_PAA is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Sponsored Links
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 05:46 AM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82