Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Mohan" <mkannapa@ford.com>
To: axp-list@redhat.com
Subject: [SOLVED]: RAID array and mk2efs
Date: Mon, 12 Feb 2001 15:02:18 -0500 (EST)	[thread overview]
Message-ID: <200102122003.f1CK39J26593@dymwsm10.mailwatch.com> (raw)
In-Reply-To: <200102121929.f1CJT6N18386@dymwsm12.mailwatch.com>

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
> 





      reply	other threads:[~2001-02-12 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-12 16:08 RAID array and mk2efs Mohan
2001-02-12 19:28 ` RAID array and mk2efs [ADDENDUM] Mohan
2001-02-12 20:02   ` Mohan [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox