Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RAID array and mk2efs
@ 2001-02-12 16:08 Mohan
  2001-02-12 19:28 ` RAID array and mk2efs [ADDENDUM] Mohan
  0 siblings, 1 reply; 3+ messages in thread
From: Mohan @ 2001-02-12 16:08 UTC (permalink / raw)
  To: axp-list

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*)






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

* Re: RAID array and mk2efs [ADDENDUM]
  2001-02-12 16:08 RAID array and mk2efs Mohan
@ 2001-02-12 19:28 ` Mohan
  2001-02-12 20:02   ` [SOLVED]: RAID array and mk2efs Mohan
  0 siblings, 1 reply; 3+ messages in thread
From: Mohan @ 2001-02-12 19:28 UTC (permalink / raw)
  To: axp-list

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
> 





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

* [SOLVED]: RAID array and mk2efs
  2001-02-12 19:28 ` RAID array and mk2efs [ADDENDUM] Mohan
@ 2001-02-12 20:02   ` Mohan
  0 siblings, 0 replies; 3+ messages in thread
From: Mohan @ 2001-02-12 20:02 UTC (permalink / raw)
  To: axp-list

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
> 





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

end of thread, other threads:[~2001-02-12 20:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` [SOLVED]: RAID array and mk2efs Mohan

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