NetBSD-Users archive

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

Re: Beating a dead horse



On 11/25/15 12:14, Robert Elz wrote:
     Date:        Wed, 25 Nov 2015 10:52:30 -0600
     From:        Greg Oster <oster%netbsd.org@localhost>
     Message-ID:  <20151125105230.209c5fed%mickey.usask.ca@localhost>

   | Just to recap: You have a RAID set that is not 4K aligned with the
   | underlying disks.

Actually, I think it is - though we haven't seen all the data yet to
prove it.  The unaligned assumption was based upon misreading fdisk
output.  That was incorrect - but doesn't actually mean that it is
properly aligned, it probably is OK, but we have not yet seen the
BSD disklabel for the data disks to be sure (we know the BSD fdisk
partition is OK, but that's then divided into pieces, and we have
not - not recently anyway - been told that breakup).   We also haven't
seen the filesystem layout within the raid.

Everything else makes sense, and William, that does come from a raid expert,
you can believe what Greg says, take what I say as more of a semi-literate
guess.

One question though, Greg you suggest 32 block stripe, and 64K filesys
block size.   Would 16 block stripe and 32K blocksize work as well?

So, William, two more command outputs needed ...

	disklabel wd0

(or any of the drives that are all identical, if they are not all
identical, then disklabel for each different layout).   We need to
see where wd0f (and wd1f etc) start...

And, for the raid set itself,

	gpt show raid2

kre


Roger that (6 HDD's, all identical, all identically partitioned/sliced):

4256EE1 # disklabel wd0
# /dev/rwd0d:
type: ESDI
disk: HGST HTS721010A9
label: disk0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 1938021
total sectors: 1953525168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

6 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:  33554432      2048       RAID                     # (Cyl. 2*-  33290*)
c: 1953523120 2048 unused 0 0 # (Cyl. 2*- 1938020) d: 1953525168 0 unused 0 0 # (Cyl. 0 - 1938020) e: 33554432 33556480 swap # (Cyl. 33290*- 66578*) f: 1886414256 67110912 RAID # (Cyl. 66578*- 1938020)
4256EE1 # gpt show raid2
       start        size  index  contents
           0           1         PMBR
           1           1         Pri GPT header
           2          32         Pri GPT table
          34          94
         128  7545656543      1  GPT part - NetBSD FFSv1/FFSv2
  7545656671          32         Sec GPT table
  7545656703           1         Sec GPT header
4256EE1 #

--

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.



Home | Main Index | Thread Index | Old Index