NetBSD-Users archive

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

Re: I/O question



On 09/08/15 03:13, Ian Clark wrote:
On 22 August 2015 at 15:37, William A. Mahaffey III <wam%hiwaay.net@localhost> wrote:
On 08/04/15 07:56, William A. Mahaffey III wrote:
[snip me]
I attach diskabel info from the install process for 1 of the six drives.
This output was created during the scripted setup & is identical for all 6
drives except for HDD names. If you need more info, please don't hesitate.

Still stuck here, any clues for me ? I re-attach the disklabel info for the
underlying partitions ....

that looks okay. What about the on raid partition? Where abouts does
your partition start?

$ sudo gpt show raid0
        start        size  index  contents
            0           1         PMBR
            1           1         Pri GPT header
            2          32         Pri GPT table
           34          94
          128  7814057951      1  GPT part - NetBSD FFSv1/FFSv2
   7814058079          32         Sec GPT table
   7814058111           1         Sec GPT header


Thanks for your reply. This RAID is created from partitions of the underlying drives, not from whole drives. The resulting raid is mounted as /home. I attach the disklabel info for the underlying drive0 (all 6 are identically sliced) & the header for the /home FS. Below is the fdisk info for drive0:

4256EE1 # fdisk wd0
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 1938021, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 1953525168

BIOS disk geometry:
cylinders: 1024, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 1953525168

Partitions aligned to 16065 sector boundaries, offset 63

Partition table:
0: NetBSD (sysid 169)
start 2048, size 1953523120 (953869 MB, Cyls 0/32/33-121601/80/63), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
First active partition: 0
4256EE1 #


All 6 drives are fdisked into 1 large partition, then those partitions are sliced into 3 slices (2 X 16 GiB (2 of the 1st 16 GiB's for root (RAID1), the other 4 for /usr (RAID0), the 2nd 16 GiB's for swap (all 6 drives)), then the rest of each drive for the /home (RAID5)), & the slices are RAID'ed. Need anything else, *please* do not hesitate. TIA & thanks again.

--

	William A. Mahaffey III

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

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

# /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)
file system: /dev/raid0a
format	FFSv1
endian	little-endian
magic	11954   	time	Sat Jul 11 23:18:34 2015
superblock location	8192	id	[ 55938708 4dedd8ae ]
cylgrp	dynamic	inodes	4.4BSD	sblock	FFSv2	fslevel 4
nbfree	994254	ndir	1646	nifree	2051503	nffree	466
ncg	89	size	8388592	blocks	8257575
bsize	16384	shift	14	mask	0xffffc000
fsize	2048	shift	11	mask	0xfffff800
frag	8	shift	3	fsbtodb	2
bpg	11782	fpg	94256	ipg	23296
minfree	5%	optim	time	maxcontig 4	maxbpg	4096
symlinklen 60	contigsumsize 4
maxfilesize 0x000400400402ffff
nindir	4096	inopb	128
avgfilesize 16384	avgfpdir 64
sblkno	8	cblkno	16	iblkno	24	dblkno	1480
sbsize	2048	cgsize	16384
csaddr	1480	cssize	2048
cgrotor	0	fmod	0	ronly	0	clean	0x01
wapbl version 0x0	location 0	flags 0x0
wapbl loc0 0	loc1 0	loc2 0	loc3 0
flags	none
fsmnt	/altroot
volname		swuid	0
cs[].cs_(nbfree,ndir,nifree,nffree):


Home | Main Index | Thread Index | Old Index