linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm does not want to create partitions
@ 2006-04-11 21:10 Anton Petrusevich
  2006-04-12  8:30 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Petrusevich @ 2006-04-11 21:10 UTC (permalink / raw)
  To: linux-raid

Hi,

I need help with RAID-0 array. I would not ask it here if I were able to find 
information what to do in my case. Ok, the problem. Our datacenter had a 
power failure and after that I am trying to bring up all services at one our 
server that uses partitioned RAID-0 array for Oracle tablespaces. I was 
partiotioned and fdisk sees it: 
# fdisk -l /dev/md1

Disk /dev/md1: 366.5 GB, 366555955200 bytes
2 heads, 4 sectors/track, 89491200 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/md1p1             1  15869142  63476566   83  Linux
/dev/md1p2      15869143  31738284  63476568   83  Linux
/dev/md1p3      31738285  47607426  63476568   83  Linux
/dev/md1p4      47607427  89491200 167535096    5  Extended
/dev/md1p5      47607427  63476568  63476566   83  Linux
/dev/md1p6      63476569  79345710  63476566   83  Linux
/dev/md1p7      79345711  80566414   4882814   83  Linux
/dev/md1p8      80566415  89491200  35699142   83  Linux

but, I have:

# mdadm -A /dev/md1 --auto=part8
mdadm: that --auto option not compatable with device named /dev/md1

It can be assembled only as non-partitioned, --auto=part or mdp do not work 
also. I need my partitions back, but I don't understand what I can do. The 
kernel is from RHEL-4 2.6.9-22.EL.roothugemem (custom build for RedHat 9). It 
was working before the power failure. 
-- 
Anton Petrusevich

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mdadm does not want to create partitions
  2006-04-11 21:10 mdadm does not want to create partitions Anton Petrusevich
@ 2006-04-12  8:30 ` Neil Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2006-04-12  8:30 UTC (permalink / raw)
  To: Anton Petrusevich; +Cc: linux-raid

On Tuesday April 11, casus@casus.us wrote:
> but, I have:
> 
> # mdadm -A /dev/md1 --auto=part8
> mdadm: that --auto option not compatable with device named /dev/md1
> 

"/dev/md1" is traditionally a name for a non-partitioned md, and using
it for a partioned might cause confusion..

Use "/dev/md/d0" (preferred) or "/dev/mda"  or even
 /dev/my-big-storage

and mdadm won't complain.

NeilBrown


> It can be assembled only as non-partitioned, --auto=part or mdp do not work 
> also. I need my partitions back, but I don't understand what I can do. The 
> kernel is from RHEL-4 2.6.9-22.EL.roothugemem (custom build for RedHat 9). It 
> was working before the power failure. 
> -- 
> Anton Petrusevich
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-12  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 21:10 mdadm does not want to create partitions Anton Petrusevich
2006-04-12  8:30 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).