From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id A02652EFE6 for ; Mon, 12 Feb 2001 15:03:09 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f1CK3Tv13548 for axp-list@listman.redhat.com; Mon, 12 Feb 2001 15:03:29 -0500 Received: from dymwsm13.mailwatch.com (dymwsm13.mailwatch.com [204.253.83.37]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f1CK3Td13544 for ; Mon, 12 Feb 2001 15:03:29 -0500 Received: from dymw0104.mailwatch.com (dymw0104.allegro.net [204.253.83.244]) by dymwsm13.mailwatch.com (8.11.0/8.11.0) with SMTP id f1CK3Jf11654 for ; Mon, 12 Feb 2001 15:03:19 -0500 Received: from 204.253.83.72 by dymw0104.mailwatch.com with ESMTP ( WorldSecure Server SMTP Relay(WSS) v4.3); Mon, 12 Feb 01 15:02:59 -0500 X-Server-Uuid: d007647a-7e79-11d4-a501-00508bd358de Received: from eccmfw6.ford.com (mailfw6.ford.com [136.1.1.30]) by dymwsm10.mailwatch.com (8.11.0/8.11.0) with ESMTP id f1CK39J26593 for ; Mon, 12 Feb 2001 15:03:09 -0500 Message-ID: <200102122003.f1CK39J26593@dymwsm10.mailwatch.com> Received: by mailfw6.ford.com id PAA02036 (InterLock SMTP Gateway 4.2 for axp-list@redhat.com); Mon, 12 Feb 2001 15:01:58 -0500 (EST) Received: by mailfw6.ford.com (Internal Mail Agent-2); Mon, 12 Feb 2001 15:01:58 -0500 (EST) Received: by mailfw6.ford.com (Internal Mail Agent-1); Mon, 12 Feb 2001 15:01:58 -0500 (EST) Received: by mailfw6.ford.com (Internal Mail Agent-0); Mon, 12 Feb 2001 15:01:58 -0500 (EST) Date: Mon, 12 Feb 2001 15:02:18 -0500 (EST) From: "Mohan" To: axp-list@redhat.com Subject: [SOLVED]: RAID array and mk2efs In-Reply-To: <200102121929.f1CJT6N18386@dymwsm12.mailwatch.com> MIME-Version: 1.0 X-WSS-ID: 16969EF9150500-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Greetings, Figured out a way to work it out! The disks in the RAID array had some old Tru64 Unix disklabel and "fdisk" got messed up and was reporting the wrong number of cylinders. After I "zeroed" out the first few blocks, and ran fdisk it created the correct disklabel. Cheers Mohan On Mon, 12 Feb 2001, Mohan wrote: > Greetings, > Some more info. For some reason the fdisk *thinks* it is a > RZ1DF drive, which explains the size. So, what are my options: > - add a appropriate BSD disklabel from a Tru64 Unix OS (which > understands HSG80 RAID disks) > OR > - Manually edit the data in the partition table? > > OR, if there is a way around it from linux, I would like to > know. > Cheers > Thanks > Mohan > > On Mon, 12 Feb 2001, Mohan wrote: > > > Greetings, > > I have a FC RAID array that is aroung 17GB (it is hardware raid). > > Linux does see it as 17GB as per the system logs. Now, to test, > > I created a BSD disklabel and create 1 partition occupying the > > whole "disk" (minus 1 cylinder offset in the front and back). > > And then I used "mk2efs" to create a ext2 fs and mounted it. > > > > What I noticed is the fdisk seems to "show" only half the > > storage???? (I am assuming the BSD partition table displays in > > 512 byte blocks). Am I missing something here? here is the > > various output below: > > > > Thanks > > Mohan > > > > >From the kernel Log: > > ------------------- > > SCSI device sdg: hdwr sector= 512 bytes. Sectors= 35529666 [17348 MB] > > [17.3 GB] > > sdg: sdg1 > > > > >From fdisk -v /dev/sdg: > > ---------------------- > > [root@y2k05 /root]# fdisk -l /dev/sdg > > > > Disk /dev/sdg: 255 heads, 63 sectors, 2211 cylinders > > Units = cylinders of 16065 * 512 bytes > > > > > > BSD label for device: /dev/sdg > > > > 1 partitions: > > # size offset fstype [fsize bsize cpg] > > a: 17751825 16065 ext2 # (Cyl. 5*- > > 5289*) > > > > > > > > > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list >