[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Thanks for the try.

Jim.


Yu, Jerry wrote:

>/dev/ida/c0d2 is the correct device to fdisk on. 
>My RH73 system on a Compaq 1850R with hardware mirror (RAID 1) shows
>/dev/ida/c0d2 as a block device instead of a directory.
>
># -----Original Message-----
&gt;# From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org]On 
&gt;# Behalf Of Jeff
&gt;# Hubbs
&gt;# Sent: Tuesday, October 12, 2004 5:28 PM
&gt;# To: Atlanta Linux Enthusiasts
&gt;# Subject: Re: [ale] Compaq raid disk. How do I format?
&gt;# 
&gt;# 
&gt;# I think you're running fdisk on the wrong thing.  You need to go
&gt;# 
&gt;# /sbin/fdisk /dev/ida/c0d2/disc
&gt;# 
&gt;# (yes, that's with a &quot;c&quot;)
&gt;# 
&gt;# - Jeff
&gt;# 
&gt;# On Tue, 2004-10-12 at 08:32, Jim Lynch wrote:
&gt;# &gt; Thanks, guys for your input.  I'm a bit constrained here.  
&gt;# The server is 
&gt;# &gt; in California and I'm in GA.  The fellow (NT admin) that 
&gt;# set up the raid 
&gt;# &gt; config did the install of the disks and configured c0d2 as two 9 Gb 
&gt;# &gt; disks mirrored.  I'd like to redo the whole thing, but I 
&gt;# can't remotely 
&gt;# &gt; and don't have anyone that understands both raid and linux 
&gt;# at the site, 
&gt;# &gt; so I'm stuck with what I've got.
&gt;# &gt; 
&gt;# &gt; On your advice I did go into fdisk and try to partition 
&gt;# c0d2.  Strange 
&gt;# &gt; thing happened.  I can't seem to create more than one partition.  I 
&gt;# &gt; think the geometry is screwed up somehow. Note it would only let me 
&gt;# &gt; start at block 1 and didn't ask me how large to make the 
&gt;# partition.  It 
&gt;# &gt; just grabbed it all. Any ideas how to fix that?
&gt;# &gt; 
&gt;# &gt;  /sbin/fdisk /dev/ida/c0d2
&gt;# &gt; 
&gt;# &gt; Command (m for help): p
&gt;# &gt; 
&gt;# &gt; Disk /dev/ida/c0d2: 1 heads, 17764320 sectors, 1 cylinders
&gt;# &gt; Units = cylinders of 17764320 * 512 bytes
&gt;# &gt; 
&gt;# &gt;          Device Boot    Start       End    Blocks   Id  System
&gt;# &gt; 
&gt;# &gt; Command (m for help): n
&gt;# &gt; Command action
&gt;# &gt;    e   extended
&gt;# &gt;    p   primary partition (1-4)
&gt;# &gt; p
&gt;# &gt; Partition number (1-4): 1
&gt;# &gt; First cylinder (1-1, default 1):
&gt;# &gt; Using default value 1
&gt;# &gt; 
&gt;# &gt; Command (m for help): p
&gt;# &gt; 
&gt;# &gt; Disk /dev/ida/c0d2: 1 heads, 17764320 sectors, 1 cylinders
&gt;# &gt; Units = cylinders of 17764320 * 512 bytes
&gt;# &gt; 
&gt;# &gt;          Device Boot    Start       End    Blocks   Id  System
&gt;# &gt; /dev/ida/c0d2p1             1         1   8882159+  83  Linux
&gt;# &gt; Partition 1 has different physical/logical endings:
&gt;# &gt;      phys=(768, 0, 32) logical=(0, 0, 17764320)
&gt;# &gt; Partition 1 does not end on cylinder boundary:
&gt;# &gt;      phys=(768, 0, 32) should be (768, 0, 17764320)
&gt;# &gt; 
&gt;# &gt; Command (m for help):
&gt;# &gt; 
&gt;# &gt; 
&gt;# &gt; Jim Lynch wrote:
&gt;# &gt; 
&gt;# &gt; &gt; I've have an old compaq that a Windows tech added some 
&gt;# disks to but 
&gt;# &gt; &gt; had no idea what to do to make it work on Linux.  From the dmesg 
&gt;# &gt; &gt; listing I found:
&gt;# &gt; &gt;
&gt;# &gt; &gt; Compaq SMART2 Driver (v 2.4.5)
&gt;# &gt; &gt; Found 1 controller(s)
&gt;# &gt; &gt; cpqarray: Finding drives on ida0 (SMART-2/P)
&gt;# &gt; &gt; cpqarray ida/c0d0: blksz=512 nr_blks=8380320
&gt;# &gt; &gt; cpqarray ida/c0d1: blksz=512 nr_blks=16768800
&gt;# &gt; &gt; cpqarray ida/c0d2: blksz=512 nr_blks=17764320
&gt;# &gt; &gt;
&gt;# &gt; &gt; It looks like he added ida/c0d2 since I have the other two drives 
&gt;# &gt; &gt; mentioned in the fstab file.  When I tried to look at one of the 
&gt;# &gt; &gt; existing drives with fdisk I found:
&gt;# &gt; &gt; Disk /dev/ida/c0d1: 1 heads, 16768800 sectors, 1 cylinders
&gt;# &gt; &gt; Units = cylinders of 16768800 * 512 bytes
&gt;# &gt; &gt;
&gt;# &gt; &gt;         Device Boot    Start       End    Blocks   Id  System
&gt;# &gt; &gt; /dev/ida/c0d1p1   *         1         1   2044064   82  Linux swap
&gt;# &gt; &gt; Partition 1 has different physical/logical beginnings 
&gt;# (non-Linux?):
&gt;# &gt; &gt;     phys=(0, 1, 1) logical=(0, 0, 33)
&gt;# &gt; &gt; Partition 1 has different physical/logical endings:
&gt;# &gt; &gt;     phys=(500, 254, 32) logical=(0, 0, 4088160)
&gt;# &gt; &gt; Partition 1 does not end on cylinder boundary:
&gt;# &gt; &gt;     phys=(500, 254, 32) should be (500, 0, 16768800)
&gt;# &gt; &gt; /dev/ida/c0d1p2             1         1    391680   83  Linux
&gt;# &gt; &gt; Partition 2 has different physical/logical beginnings 
&gt;# (non-Linux?):
&gt;# &gt; &gt;     phys=(501, 0, 1) logical=(0, 0, 4088161)
&gt;# &gt; &gt; Partition 2 has different physical/logical endings:
&gt;# &gt; &gt;     phys=(596, 254, 32) logical=(0, 0, 4871520)
&gt;# &gt; &gt; Partition 2 does not end on cylinder boundary:
&gt;# &gt; &gt;     phys=(596, 254, 32) should be (596, 0, 16768800)
&gt;# &gt; &gt; /dev/ida/c0d1p3             1         1    261120   83  Linux
&gt;# &gt; &gt; Partition 3 has different physical/logical beginnings 
&gt;# (non-Linux?):
&gt;# &gt; &gt;     phys=(597, 0, 1) logical=(0, 0, 4871521)
&gt;# &gt; &gt; Partition 3 has different physical/logical endings:
&gt;# &gt; &gt;     phys=(660, 254, 32) logical=(0, 0, 5393760)
&gt;# &gt; &gt; Partition 3 does not end on cylinder boundary:
&gt;# &gt; &gt;     phys=(660, 254, 32) should be (660, 0, 16768800)
&gt;# &gt; &gt; /dev/ida/c0d1p4             1         1   5687520    f  
&gt;# Win95 Ext'd (LBA)
&gt;# &gt; &gt; Partition 4 has different physical/logical beginnings 
&gt;# (non-Linux?):
&gt;# &gt; &gt;     phys=(661, 0, 1) logical=(0, 0, 5393761)
&gt;# &gt; &gt; Partition 4 has different physical/logical endings:
&gt;# &gt; &gt;     phys=(1023, 254, 32) logical=(0, 0, 16768800)
&gt;# &gt; &gt; Partition 4 does not end on cylinder boundary:
&gt;# &gt; &gt;     phys=(1023, 254, 32) should be (1023, 0, 16768800)
&gt;# &gt; &gt; /dev/ida/c0d1p5             1         1   5687504   83  Linux
&gt;# &gt; &gt;
&gt;# &gt; &gt; Which makes me a bit leary of using fdisk on these 
&gt;# drives.  Most of 
&gt;# &gt; &gt; that output doesn't make sense to me.  Can anyone point me in the 
&gt;# &gt; &gt; right direction so I can learn how to format this new 
&gt;# drive?  This is 
&gt;# &gt; &gt; a RH 7.2 system.  If I understand correctly this is a 
&gt;# RAID system.  
&gt;# &gt; &gt; The new drive  is really 2 9 Gb drives configured as a 
&gt;# mirror, so I 
&gt;# &gt; &gt; was told.  Is there some other utility I need to use to 
&gt;# make sense of 
&gt;# &gt; &gt; the partitioning of the existing drives?
&gt;# &gt; &gt;
&gt;# &gt; &gt; Thanks,
&gt;# &gt; &gt; Jim.
&gt;# &gt; &gt;
&gt;# &gt; &gt;
&gt;# &gt; &gt; _______________________________________________
&gt;# &gt; &gt; Ale mailing list
&gt;# &gt; &gt; Ale at ale.org
&gt;# &gt; &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;# &gt; 
&gt;# &gt; 
&gt;# &gt; _______________________________________________
&gt;# &gt; Ale mailing list
&gt;# &gt; Ale at ale.org
&gt;# &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;# 
&gt;# _______________________________________________
&gt;# Ale mailing list
&gt;# Ale at ale.org
&gt;# <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;# 
&gt;_______________________________________________
&gt;Ale mailing list
&gt;Ale at ale.org
&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;  
&gt;


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00515" href="msg00515.html">[ale] Compaq raid disk.  How do I format?</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00473" href="msg00473.html">[ale] Compaq raid disk.  How do I format?</a></strong>
<ul><li><em>From:</em> Jerry.Yu at Voicecom.com (Yu, Jerry)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00509.html">[ale] Code Of Ethics OS</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00511.html">[ale] Code Of Ethics OS</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00473.html">[ale] Compaq raid disk.  How do I format?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00515.html">[ale] Compaq raid disk.  How do I format?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00510"><strong>Date</strong></a></li>
<li><a href="threads.html#00510"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>