On 9/18/22 03:42, Klemens Nanni wrote:
On Fri, Sep 16, 2022 at 05:59:20PM -0700, Michael Truog wrote:
Hi,

I was attempting to have a RAID 5 softraid0 setup on a sparc64 machine (boot
log output below) but ran into problems when attempting to create a single
partition with the size 5.5TB (RAID 5 with 4 x 2TB hard drives).  I found an
interesting problem when using disklabel on the softraid0 hard drive device,
when attempting to make this 5.5TB partition.  The partition "a" would only
be allowed as 1.5TB and any partition >= "d" would only be allowed as 2TB,
however the limit occurred silently after disklabel had exited.  When inside
disklabel, I could allocate a single "a" partition to be 5.5TB successfully
and was able to write the partition successfully.  However, when the
disklabel process exited, either with the q command or a kill signal 9, the
partition would be shrunk to the limit described above.  If the disklabel
process was suspended (ctrl-Z), this wouldn't happen and newfs would see the
5.5TB partition, though usage of the partition wouldn't work.  The partition
would have inaccessible blocks that fsck showed extreme anger at, when it
saw it at boot time.
It would really help to showcase your issue with commands/output.

This issue is not related to softraid(4), it is most probably an old
sparc(64) quirk:

1. create big dummy disk for a single filesystem:

        $ ldomctl create-vdisk -s 10T sparse-10T.img

2. pass it to guest domain in order to have a "real" 10T sized sd(4):

        # dmesg | grep ^sd2
        sd2 at scsibus3 targ 0 lun 0: <SUN, Virtual Disk, 1.1>
        sd2: 10485760MB, 512 bytes/sector, 21474836480 sectors
I attempted doing this.  The ldomctl manpage provided a good path for getting that working.  However, at least for my Sun SPARC Enterprise T5220 (T2) I needed to explicitly declare the "primary" domain because otherwise the configuration would not be used after an ILOM reset occurred.  I had a working ldom.conf configuration, but once I attempted (after getting the ldom.conf working) to do "ldomctl delete openbsd" "ldomctl download openbsd" ILOM "reset /SYS" the machine failed to boot.  Then the machine failed to allow an ILOM "stop /SYS" to occur.  So, I then removed both power plugs, inserted them again, updated the firmware without retaining the configuration and all was well again.

My configuration was:
domain "primary" {
    vcpu 56
    memory 31G
}
domain "test" {
    vcpu 8
    memory 32G
    vdisk "/home/sparse-10T.img"
    vnet
}

I didn't initialize the vnet before the delete/download and it generated WARNINGs on the console, so that may have led to the problem.  I was using the 7.2 snapshot from 2022-09-19 for everything described in this email reply.

I did attempt to replicate the kernel panic from 7.1 with the 7.2 snapshot using softraid0 5 and c.  The limit on sparc64 partition sizes doesn't appear to be very clearly defined, with the limit changing based on the situation.  In your situation below it has allowed partition a to be resized to 2 TB when using the ldomctl vdisk.  When I used softraid0 with level c, partition a was allowed to be 1.6 TB.  When I used softraid0 with level 5, partition a was allowed to be 1.5 TB.  With the 7.2 snapshot it appears that this limit applies to the first partition, not necessarily partition a. With 7.1, I always saw it as an issue with partition a.  If partition d is created after a shrinks to 1.5 TB, with softraid0 level 5, partition d is allowed to be 2 TB.  However, if an attempt is made to create a partition e after that, it shrinks to match the same partition as d (to become an invalid partition).  I have output that helps to show this.

I was unable to replicate the 7.1 kernel panic when using the 7.2 snapshot, so there isn't a clear failure related to the partition resizing itself when disklabel exits.  With the 7.2 snapshot, I am able to suspend the disklabel process (after the write, but before the quit), do newfs, kill -9 on the disklabel process and mount/write to the new filesystem without any kernel panic.  The new filesystem will still fail when fsck is attempted, but the first write of a file is able to succeed (tried the disklabel/suspend/newfs/kill/write-file sequence with both softraid0 level 5 and c).

        # echo '/ 1M-* 100%' | disklabel -wAT/dev/stdin sd2
        # disklabel -h sd2
        # /dev/rsd2c:
        type: SCSI
        disk: SCSI disk
        label: Virtual Disk
        duid: c4befc09bf56efed
        flags: vendor
        bytes/sector: 512
        sectors/track: 255
        tracks/cylinder: 511
        sectors/cylinder: 130305
        cylinders: 164804
        total sectors: 21474836480 # total bytes: 10.0T
        boundstart: 0
        boundend: 21474836480

        16 partitions:
        #                size           offset  fstype [fsize bsize   cpg]
          a:             2.0T                0  4.2BSD   8192 65536     1
          c:            10.0T                0  unused
        disklabel: warning, partition a: size % cylinder-size != 0
Can you try reproducing your disklabel/suspend/newfs/kill/write-file
dance without mpi(4) and softraid(4) in between?

Does it also crash if you create partitions that are smaller than 2.0T?
I only saw the kernel panic when attempting to make the truncated partition work, specifically with 7.1 using softraid0 with level 5 (4x 2TB disks).  I never had problems with smaller partition sizes.

I have the output from the snapshot softraid0 use below:

# disklabel -E sd0
This platform requires that partition offsets/sizes be on cylinder boundaries. Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd0> p
OpenBSD area: 0-3907029168; size: 3907029168; free: 3907029168
#                size           offset  fstype [fsize bsize   cpg]
  c:       3907029168                0  unused
sd0> a
partition: [a]
offset: [0]
size: [3907029168] *
FS type: [4.2BSD] RAID
sd0*> w
sd0> p T
OpenBSD area: 0-3907029168; size: 1.8T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  a:             1.8T                0    RAID
  c:             1.8T                0  unused
sd0> q
No label changes.
# disklabel sd0 > layout
# disklabel -R sd1 layout
# disklabel -R sd2 layout
# disklabel -R sd3 layout
# bioctl -c 5 -l /dev/sd0a,/dev/sd1a,/dev/sd2a,/dev/sd3a softraid0
sd4 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 5, 006>
sd4: 5723184MB, 512 bytes/sector, 11721082368 sectors
softraid0: RAID 5 volume attached as sd4
# disklabel -E sd4
This platform requires that partition offsets/sizes be on cylinder boundaries. Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd4> p
OpenBSD area: 0-11721082368; size: 11721082368; free: 11721082368
#                size           offset  fstype [fsize bsize   cpg]
  c:      11721082368                0  unused
sd4> p T
OpenBSD area: 0-11721082368; size: 5.5T; free: 5.5T
#                size           offset  fstype [fsize bsize   cpg]
  c:             5.5T                0  unused
sd4> a
partition: [a]
offset: [0]
size: [11721082368] *
FS type: [4.2BSD]
sd4*> w
sd4> p T
OpenBSD area: 0-11721082368; size: 5.5T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  a:             5.5T                0  4.2BSD   8192 65536     1
  c:             5.5T                0  unused
sd4> ^Z[1] + Suspended            disklabel -E sd4
# newfs sd4a
/dev/rsd4a: 5723176.5MB in 11721065040 sectors of 512 bytes
1752 cylinder groups of 3266.88MB, 52270 blocks, 104704 inodes each
super-block backups (for fsck -b #) at:
 256, 6690816, 13381376, 20071936, 26762496, 33453056, 40143616, 46834176,
 53524736, 60215296, 66905856, 73596416, 80286976, 86977536, 93668096,
 100358656, 107049216, 113739776, 120430336, 127120896, 133811456, 140502016,  147192576, 153883136, 160573696, 167264256, 173954816, 180645376, 187335936,  194026496, 200717056, 207407616, 214098176, 220788736, 227479296, 234169856,  240860416, 247550976, 254241536, 260932096, 267622656, 274313216, 281003776,  287694336, 294384896, 301075456, 307766016, 314456576, 321147136, 327837696,  334528256, 341218816, 347909376, 354599936, 361290496, 367981056, 374671616,  381362176, 388052736, 394743296, 401433856, 408124416, 414814976, 421505536,  428196096, 434886656, 441577216, 448267776, 454958336, 461648896, 468339456,  475030016, 481720576, 488411136, 495101696, 501792256, 508482816, 515173376,  521863936, 528554496, 535245056, 541935616, 548626176, 555316736, 562007296,  568697856, 575388416, 582078976, 588769536, 595460096, 602150656, 608841216,  615531776, 622222336, 628912896, 635603456, 642294016, 648984576, 655675136,  662365696, 669056256, 675746816, 682437376, 689127936, 695818496, 702509056,  709199616, 715890176, 722580736, 729271296, 735961856, 742652416, 749342976,  756033536, 762724096, 769414656, 776105216, 782795776, 789486336, 796176896,  802867456, 809558016, 816248576, 822939136, 829629696, 836320256, 843010816,  849701376, 856391936, 863082496, 869773056, 876463616, 883154176, 889844736,  896535296, 903225856, 909916416, 916606976, 923297536, 929988096, 936678656,  943369216, 950059776, 956750336, 963440896, 970131456, 976822016, 983512576,
 990203136, 996893696, 1003584256, 1010274816, 1016965376, 1023655936,
 1030346496, 1037037056, 1043727616, 1050418176, 1057108736, 1063799296,
 1070489856, 1077180416, 1083870976, 1090561536, 1097252096, 1103942656,
 1110633216, 1117323776, 1124014336, 1130704896, 1137395456, 1144086016,
 1150776576, 1157467136, 1164157696, 1170848256, 1177538816, 1184229376,
 1190919936, 1197610496, 1204301056, 1210991616, 1217682176, 1224372736,
 1231063296, 1237753856, 1244444416, 1251134976, 1257825536, 1264516096,
 1271206656, 1277897216, 1284587776, 1291278336, 1297968896, 1304659456,
 1311350016, 1318040576, 1324731136, 1331421696, 1338112256, 1344802816,
 1351493376, 1358183936, 1364874496, 1371565056, 1378255616, 1384946176,
 1391636736, 1398327296, 1405017856, 1411708416, 1418398976, 1425089536,
 1431780096, 1438470656, 1445161216, 1451851776, 1458542336, 1465232896,
 1471923456, 1478614016, 1485304576, 1491995136, 1498685696, 1505376256,
 1512066816, 1518757376, 1525447936, 1532138496, 1538829056, 1545519616,
 1552210176, 1558900736, 1565591296, 1572281856, 1578972416, 1585662976,
 1592353536, 1599044096, 1605734656, 1612425216, 1619115776, 1625806336,
 1632496896, 1639187456, 1645878016, 1652568576, 1659259136, 1665949696,
 1672640256, 1679330816, 1686021376, 1692711936, 1699402496, 1706093056,
 1712783616, 1719474176, 1726164736, 1732855296, 1739545856, 1746236416,
 1752926976, 1759617536, 1766308096, 1772998656, 1779689216, 1786379776,
 1793070336, 1799760896, 1806451456, 1813142016, 1819832576, 1826523136,
 1833213696, 1839904256, 1846594816, 1853285376, 1859975936, 1866666496,
 1873357056, 1880047616, 1886738176, 1893428736, 1900119296, 1906809856,
 1913500416, 1920190976, 1926881536, 1933572096, 1940262656, 1946953216,
 1953643776, 1960334336, 1967024896, 1973715456, 1980406016, 1987096576,
 1993787136, 2000477696, 2007168256, 2013858816, 2020549376, 2027239936,
 2033930496, 2040621056, 2047311616, 2054002176, 2060692736, 2067383296,
 2074073856, 2080764416, 2087454976, 2094145536, 2100836096, 2107526656,
 2114217216, 2120907776, 2127598336, 2134288896, 2140979456, 2147670016,
 2154360576, 2161051136, 2167741696, 2174432256, 2181122816, 2187813376,
 2194503936, 2201194496, 2207885056, 2214575616, 2221266176, 2227956736,
 2234647296, 2241337856, 2248028416, 2254718976, 2261409536, 2268100096,
 2274790656, 2281481216, 2288171776, 2294862336, 2301552896, 2308243456,
 2314934016, 2321624576, 2328315136, 2335005696, 2341696256, 2348386816,
 2355077376, 2361767936, 2368458496, 2375149056, 2381839616, 2388530176,
 2395220736, 2401911296, 2408601856, 2415292416, 2421982976, 2428673536,
 2435364096, 2442054656, 2448745216, 2455435776, 2462126336, 2468816896,
 2475507456, 2482198016, 2488888576, 2495579136, 2502269696, 2508960256,
 2515650816, 2522341376, 2529031936, 2535722496, 2542413056, 2549103616,
 2555794176, 2562484736, 2569175296, 2575865856, 2582556416, 2589246976,
 2595937536, 2602628096, 2609318656, 2616009216, 2622699776, 2629390336,
 2636080896, 2642771456, 2649462016, 2656152576, 2662843136, 2669533696,
 2676224256, 2682914816, 2689605376, 2696295936, 2702986496, 2709677056,
 2716367616, 2723058176, 2729748736, 2736439296, 2743129856, 2749820416,
 2756510976, 2763201536, 2769892096, 2776582656, 2783273216, 2789963776,
 2796654336, 2803344896, 2810035456, 2816726016, 2823416576, 2830107136,
 2836797696, 2843488256, 2850178816, 2856869376, 2863559936, 2870250496,
 2876941056, 2883631616, 2890322176, 2897012736, 2903703296, 2910393856,
 2917084416, 2923774976, 2930465536, 2937156096, 2943846656, 2950537216,
 2957227776, 2963918336, 2970608896, 2977299456, 2983990016, 2990680576,
 2997371136, 3004061696, 3010752256, 3017442816, 3024133376, 3030823936,
 3037514496, 3044205056, 3050895616, 3057586176, 3064276736, 3070967296,
 3077657856, 3084348416, 3091038976, 3097729536, 3104420096, 3111110656,
 3117801216, 3124491776, 3131182336, 3137872896, 3144563456, 3151254016,
 3157944576, 3164635136, 3171325696, 3178016256, 3184706816, 3191397376,
 3198087936, 3204778496, 3211469056, 3218159616, 3224850176, 3231540736,
 3238231296, 3244921856, 3251612416, 3258302976, 3264993536, 3271684096,
 3278374656, 3285065216, 3291755776, 3298446336, 3305136896, 3311827456,
 3318518016, 3325208576, 3331899136, 3338589696, 3345280256, 3351970816,
 3358661376, 3365351936, 3372042496, 3378733056, 3385423616, 3392114176,
 3398804736, 3405495296, 3412185856, 3418876416, 3425566976, 3432257536,
 3438948096, 3445638656, 3452329216, 3459019776, 3465710336, 3472400896,
 3479091456, 3485782016, 3492472576, 3499163136, 3505853696, 3512544256,
 3519234816, 3525925376, 3532615936, 3539306496, 3545997056, 3552687616,
 3559378176, 3566068736, 3572759296, 3579449856, 3586140416, 3592830976,
 3599521536, 3606212096, 3612902656, 3619593216, 3626283776, 3632974336,
 3639664896, 3646355456, 3653046016, 3659736576, 3666427136, 3673117696,
 3679808256, 3686498816, 3693189376, 3699879936, 3706570496, 3713261056,
 3719951616, 3726642176, 3733332736, 3740023296, 3746713856, 3753404416,
 3760094976, 3766785536, 3773476096, 3780166656, 3786857216, 3793547776,
 3800238336, 3806928896, 3813619456, 3820310016, 3827000576, 3833691136,
 3840381696, 3847072256, 3853762816, 3860453376, 3867143936, 3873834496,
 3880525056, 3887215616, 3893906176, 3900596736, 3907287296, 3913977856,
 3920668416, 3927358976, 3934049536, 3940740096, 3947430656, 3954121216,
 3960811776, 3967502336, 3974192896, 3980883456, 3987574016, 3994264576,
 4000955136, 4007645696, 4014336256, 4021026816, 4027717376, 4034407936,
 4041098496, 4047789056, 4054479616, 4061170176, 4067860736, 4074551296,
 4081241856, 4087932416, 4094622976, 4101313536, 4108004096, 4114694656,
 4121385216, 4128075776, 4134766336, 4141456896, 4148147456, 4154838016,
 4161528576, 4168219136, 4174909696, 4181600256, 4188290816, 4194981376,
 4201671936, 4208362496, 4215053056, 4221743616, 4228434176, 4235124736,
 4241815296, 4248505856, 4255196416, 4261886976, 4268577536, 4275268096,
 4281958656, 4288649216, 4295339776, 4302030336, 4308720896, 4315411456,
 4322102016, 4328792576, 4335483136, 4342173696, 4348864256, 4355554816,
 4362245376, 4368935936, 4375626496, 4382317056, 4389007616, 4395698176,
 4402388736, 4409079296, 4415769856, 4422460416, 4429150976, 4435841536,
 4442532096, 4449222656, 4455913216, 4462603776, 4469294336, 4475984896,
 4482675456, 4489366016, 4496056576, 4502747136, 4509437696, 4516128256,
 4522818816, 4529509376, 4536199936, 4542890496, 4549581056, 4556271616,
 4562962176, 4569652736, 4576343296, 4583033856, 4589724416, 4596414976,
 4603105536, 4609796096, 4616486656, 4623177216, 4629867776, 4636558336,
 4643248896, 4649939456, 4656630016, 4663320576, 4670011136, 4676701696,
 4683392256, 4690082816, 4696773376, 4703463936, 4710154496, 4716845056,
 4723535616, 4730226176, 4736916736, 4743607296, 4750297856, 4756988416,
 4763678976, 4770369536, 4777060096, 4783750656, 4790441216, 4797131776,
 4803822336, 4810512896, 4817203456, 4823894016, 4830584576, 4837275136,
 4843965696, 4850656256, 4857346816, 4864037376, 4870727936, 4877418496,
 4884109056, 4890799616, 4897490176, 4904180736, 4910871296, 4917561856,
 4924252416, 4930942976, 4937633536, 4944324096, 4951014656, 4957705216,
 4964395776, 4971086336, 4977776896, 4984467456, 4991158016, 4997848576,
 5004539136, 5011229696, 5017920256, 5024610816, 5031301376, 5037991936,
 5044682496, 5051373056, 5058063616, 5064754176, 5071444736, 5078135296,
 5084825856, 5091516416, 5098206976, 5104897536, 5111588096, 5118278656,
 5124969216, 5131659776, 5138350336, 5145040896, 5151731456, 5158422016,
 5165112576, 5171803136, 5178493696, 5185184256, 5191874816, 5198565376,
 5205255936, 5211946496, 5218637056, 5225327616, 5232018176, 5238708736,
 5245399296, 5252089856, 5258780416, 5265470976, 5272161536, 5278852096,
 5285542656, 5292233216, 5298923776, 5305614336, 5312304896, 5318995456,
 5325686016, 5332376576, 5339067136, 5345757696, 5352448256, 5359138816,
 5365829376, 5372519936, 5379210496, 5385901056, 5392591616, 5399282176,
 5405972736, 5412663296, 5419353856, 5426044416, 5432734976, 5439425536,
 5446116096, 5452806656, 5459497216, 5466187776, 5472878336, 5479568896,
 5486259456, 5492950016, 5499640576, 5506331136, 5513021696, 5519712256,
 5526402816, 5533093376, 5539783936, 5546474496, 5553165056, 5559855616,
 5566546176, 5573236736, 5579927296, 5586617856, 5593308416, 5599998976,
 5606689536, 5613380096, 5620070656, 5626761216, 5633451776, 5640142336,
 5646832896, 5653523456, 5660214016, 5666904576, 5673595136, 5680285696,
 5686976256, 5693666816, 5700357376, 5707047936, 5713738496, 5720429056,
 5727119616, 5733810176, 5740500736, 5747191296, 5753881856, 5760572416,
 5767262976, 5773953536, 5780644096, 5787334656, 5794025216, 5800715776,
 5807406336, 5814096896, 5820787456, 5827478016, 5834168576, 5840859136,
 5847549696, 5854240256, 5860930816, 5867621376, 5874311936, 5881002496,
 5887693056, 5894383616, 5901074176, 5907764736, 5914455296, 5921145856,
 5927836416, 5934526976, 5941217536, 5947908096, 5954598656, 5961289216,
 5967979776, 5974670336, 5981360896, 5988051456, 5994742016, 6001432576,
 6008123136, 6014813696, 6021504256, 6028194816, 6034885376, 6041575936,
 6048266496, 6054957056, 6061647616, 6068338176, 6075028736, 6081719296,
 6088409856, 6095100416, 6101790976, 6108481536, 6115172096, 6121862656,
 6128553216, 6135243776, 6141934336, 6148624896, 6155315456, 6162006016,
 6168696576, 6175387136, 6182077696, 6188768256, 6195458816, 6202149376,
 6208839936, 6215530496, 6222221056, 6228911616, 6235602176, 6242292736,
 6248983296, 6255673856, 6262364416, 6269054976, 6275745536, 6282436096,
 6289126656, 6295817216, 6302507776, 6309198336, 6315888896, 6322579456,
 6329270016, 6335960576, 6342651136, 6349341696, 6356032256, 6362722816,
 6369413376, 6376103936, 6382794496, 6389485056, 6396175616, 6402866176,
 6409556736, 6416247296, 6422937856, 6429628416, 6436318976, 6443009536,
 6449700096, 6456390656, 6463081216, 6469771776, 6476462336, 6483152896,
 6489843456, 6496534016, 6503224576, 6509915136, 6516605696, 6523296256,
 6529986816, 6536677376, 6543367936, 6550058496, 6556749056, 6563439616,
 6570130176, 6576820736, 6583511296, 6590201856, 6596892416, 6603582976,
 6610273536, 6616964096, 6623654656, 6630345216, 6637035776, 6643726336,
 6650416896, 6657107456, 6663798016, 6670488576, 6677179136, 6683869696,
 6690560256, 6697250816, 6703941376, 6710631936, 6717322496, 6724013056,
 6730703616, 6737394176, 6744084736, 6750775296, 6757465856, 6764156416,
 6770846976, 6777537536, 6784228096, 6790918656, 6797609216, 6804299776,
 6810990336, 6817680896, 6824371456, 6831062016, 6837752576, 6844443136,
 6851133696, 6857824256, 6864514816, 6871205376, 6877895936, 6884586496,
 6891277056, 6897967616, 6904658176, 6911348736, 6918039296, 6924729856,
 6931420416, 6938110976, 6944801536, 6951492096, 6958182656, 6964873216,
 6971563776, 6978254336, 6984944896, 6991635456, 6998326016, 7005016576,
 7011707136, 7018397696, 7025088256, 7031778816, 7038469376, 7045159936,
 7051850496, 7058541056, 7065231616, 7071922176, 7078612736, 7085303296,
 7091993856, 7098684416, 7105374976, 7112065536, 7118756096, 7125446656,
 7132137216, 7138827776, 7145518336, 7152208896, 7158899456, 7165590016,
 7172280576, 7178971136, 7185661696, 7192352256, 7199042816, 7205733376,
 7212423936, 7219114496, 7225805056, 7232495616, 7239186176, 7245876736,
 7252567296, 7259257856, 7265948416, 7272638976, 7279329536, 7286020096,
 7292710656, 7299401216, 7306091776, 7312782336, 7319472896, 7326163456,
 7332854016, 7339544576, 7346235136, 7352925696, 7359616256, 7366306816,
 7372997376, 7379687936, 7386378496, 7393069056, 7399759616, 7406450176,
 7413140736, 7419831296, 7426521856, 7433212416, 7439902976, 7446593536,
 7453284096, 7459974656, 7466665216, 7473355776, 7480046336, 7486736896,
 7493427456, 7500118016, 7506808576, 7513499136, 7520189696, 7526880256,
 7533570816, 7540261376, 7546951936, 7553642496, 7560333056, 7567023616,
 7573714176, 7580404736, 7587095296, 7593785856, 7600476416, 7607166976,
 7613857536, 7620548096, 7627238656, 7633929216, 7640619776, 7647310336,
 7654000896, 7660691456, 7667382016, 7674072576, 7680763136, 7687453696,
 7694144256, 7700834816, 7707525376, 7714215936, 7720906496, 7727597056,
 7734287616, 7740978176, 7747668736, 7754359296, 7761049856, 7767740416,
 7774430976, 7781121536, 7787812096, 7794502656, 7801193216, 7807883776,
 7814574336, 7821264896, 7827955456, 7834646016, 7841336576, 7848027136,
 7854717696, 7861408256, 7868098816, 7874789376, 7881479936, 7888170496,
 7894861056, 7901551616, 7908242176, 7914932736, 7921623296, 7928313856,
 7935004416, 7941694976, 7948385536, 7955076096, 7961766656, 7968457216,
 7975147776, 7981838336, 7988528896, 7995219456, 8001910016, 8008600576,
 8015291136, 8021981696, 8028672256, 8035362816, 8042053376, 8048743936,
 8055434496, 8062125056, 8068815616, 8075506176, 8082196736, 8088887296,
 8095577856, 8102268416, 8108958976, 8115649536, 8122340096, 8129030656,
 8135721216, 8142411776, 8149102336, 8155792896, 8162483456, 8169174016,
 8175864576, 8182555136, 8189245696, 8195936256, 8202626816, 8209317376,
 8216007936, 8222698496, 8229389056, 8236079616, 8242770176, 8249460736,
 8256151296, 8262841856, 8269532416, 8276222976, 8282913536, 8289604096,
 8296294656, 8302985216, 8309675776, 8316366336, 8323056896, 8329747456,
 8336438016, 8343128576, 8349819136, 8356509696, 8363200256, 8369890816,
 8376581376, 8383271936, 8389962496, 8396653056, 8403343616, 8410034176,
 8416724736, 8423415296, 8430105856, 8436796416, 8443486976, 8450177536,
 8456868096, 8463558656, 8470249216, 8476939776, 8483630336, 8490320896,
 8497011456, 8503702016, 8510392576, 8517083136, 8523773696, 8530464256,
 8537154816, 8543845376, 8550535936, 8557226496, 8563917056, 8570607616,
 8577298176, 8583988736, 8590679296, 8597369856, 8604060416, 8610750976,
 8617441536, 8624132096, 8630822656, 8637513216, 8644203776, 8650894336,
 8657584896, 8664275456, 8670966016, 8677656576, 8684347136, 8691037696,
 8697728256, 8704418816, 8711109376, 8717799936, 8724490496, 8731181056,
 8737871616, 8744562176, 8751252736, 8757943296, 8764633856, 8771324416,
 8778014976, 8784705536, 8791396096, 8798086656, 8804777216, 8811467776,
 8818158336, 8824848896, 8831539456, 8838230016, 8844920576, 8851611136,
 8858301696, 8864992256, 8871682816, 8878373376, 8885063936, 8891754496,
 8898445056, 8905135616, 8911826176, 8918516736, 8925207296, 8931897856,
 8938588416, 8945278976, 8951969536, 8958660096, 8965350656, 8972041216,
 8978731776, 8985422336, 8992112896, 8998803456, 9005494016, 9012184576,
 9018875136, 9025565696, 9032256256, 9038946816, 9045637376, 9052327936,
 9059018496, 9065709056, 9072399616, 9079090176, 9085780736, 9092471296,
 9099161856, 9105852416, 9112542976, 9119233536, 9125924096, 9132614656,
 9139305216, 9145995776, 9152686336, 9159376896, 9166067456, 9172758016,
 9179448576, 9186139136, 9192829696, 9199520256, 9206210816, 9212901376,
 9219591936, 9226282496, 9232973056, 9239663616, 9246354176, 9253044736,
 9259735296, 9266425856, 9273116416, 9279806976, 9286497536, 9293188096,
 9299878656, 9306569216, 9313259776, 9319950336, 9326640896, 9333331456,
 9340022016, 9346712576, 9353403136, 9360093696, 9366784256, 9373474816,
 9380165376, 9386855936, 9393546496, 9400237056, 9406927616, 9413618176,
 9420308736, 9426999296, 9433689856, 9440380416, 9447070976, 9453761536,
 9460452096, 9467142656, 9473833216, 9480523776, 9487214336, 9493904896,
 9500595456, 9507286016, 9513976576, 9520667136, 9527357696, 9534048256,
 9540738816, 9547429376, 9554119936, 9560810496, 9567501056, 9574191616,
 9580882176, 9587572736, 9594263296, 9600953856, 9607644416, 9614334976,
 9621025536, 9627716096, 9634406656, 9641097216, 9647787776, 9654478336,
 9661168896, 9667859456, 9674550016, 9681240576, 9687931136, 9694621696,
 9701312256, 9708002816, 9714693376, 9721383936, 9728074496, 9734765056,
 9741455616, 9748146176, 9754836736, 9761527296, 9768217856, 9774908416,
 9781598976, 9788289536, 9794980096, 9801670656, 9808361216, 9815051776,
 9821742336, 9828432896, 9835123456, 9841814016, 9848504576, 9855195136,
 9861885696, 9868576256, 9875266816, 9881957376, 9888647936, 9895338496,
 9902029056, 9908719616, 9915410176, 9922100736, 9928791296, 9935481856,
 9942172416, 9948862976, 9955553536, 9962244096, 9968934656, 9975625216,
 9982315776, 9989006336, 9995696896, 10002387456, 10009078016, 10015768576,
 10022459136, 10029149696, 10035840256, 10042530816, 10049221376, 10055911936,  10062602496, 10069293056, 10075983616, 10082674176, 10089364736, 10096055296,  10102745856, 10109436416, 10116126976, 10122817536, 10129508096, 10136198656,  10142889216, 10149579776, 10156270336, 10162960896, 10169651456, 10176342016,  10183032576, 10189723136, 10196413696, 10203104256, 10209794816, 10216485376,  10223175936, 10229866496, 10236557056, 10243247616, 10249938176, 10256628736,  10263319296, 10270009856, 10276700416, 10283390976, 10290081536, 10296772096,  10303462656, 10310153216, 10316843776, 10323534336, 10330224896, 10336915456,  10343606016, 10350296576, 10356987136, 10363677696, 10370368256, 10377058816,  10383749376, 10390439936, 10397130496, 10403821056, 10410511616, 10417202176,  10423892736, 10430583296, 10437273856, 10443964416, 10450654976, 10457345536,  10464036096, 10470726656, 10477417216, 10484107776, 10490798336, 10497488896,  10504179456, 10510870016, 10517560576, 10524251136, 10530941696, 10537632256,  10544322816, 10551013376, 10557703936, 10564394496, 10571085056, 10577775616,  10584466176, 10591156736, 10597847296, 10604537856, 10611228416, 10617918976,  10624609536, 10631300096, 10637990656, 10644681216, 10651371776, 10658062336,  10664752896, 10671443456, 10678134016, 10684824576, 10691515136, 10698205696,  10704896256, 10711586816, 10718277376, 10724967936, 10731658496, 10738349056,  10745039616, 10751730176, 10758420736, 10765111296, 10771801856, 10778492416,  10785182976, 10791873536, 10798564096, 10805254656, 10811945216, 10818635776,  10825326336, 10832016896, 10838707456, 10845398016, 10852088576, 10858779136,  10865469696, 10872160256, 10878850816, 10885541376, 10892231936, 10898922496,  10905613056, 10912303616, 10918994176, 10925684736, 10932375296, 10939065856,  10945756416, 10952446976, 10959137536, 10965828096, 10972518656, 10979209216,  10985899776, 10992590336, 10999280896, 11005971456, 11012662016, 11019352576,  11026043136, 11032733696, 11039424256, 11046114816, 11052805376, 11059495936,  11066186496, 11072877056, 11079567616, 11086258176, 11092948736, 11099639296,  11106329856, 11113020416, 11119710976, 11126401536, 11133092096, 11139782656,  11146473216, 11153163776, 11159854336, 11166544896, 11173235456, 11179926016,  11186616576, 11193307136, 11199997696, 11206688256, 11213378816, 11220069376,  11226759936, 11233450496, 11240141056, 11246831616, 11253522176, 11260212736,  11266903296, 11273593856, 11280284416, 11286974976, 11293665536, 11300356096,  11307046656, 11313737216, 11320427776, 11327118336, 11333808896, 11340499456,  11347190016, 11353880576, 11360571136, 11367261696, 11373952256, 11380642816,  11387333376, 11394023936, 11400714496, 11407405056, 11414095616, 11420786176,  11427476736, 11434167296, 11440857856, 11447548416, 11454238976, 11460929536,  11467620096, 11474310656, 11481001216, 11487691776, 11494382336, 11501072896,  11507763456, 11514454016, 11521144576, 11527835136, 11534525696, 11541216256,  11547906816, 11554597376, 11561287936, 11567978496, 11574669056, 11581359616,  11588050176, 11594740736, 11601431296, 11608121856, 11614812416, 11621502976,  11628193536, 11634884096, 11641574656, 11648265216, 11654955776, 11661646336,  11668336896, 11675027456, 11681718016, 11688408576, 11695099136, 11701789696,
 11708480256, 11715170816,
# disklabel sd4
# /dev/rsd4c:
type: SCSI
disk: SCSI disk
label: SR RAID 5
duid: 3d8f9f24614b4a62
flags: vendor
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 511
sectors/cylinder: 130305
cylinders: 89951
total sectors: 11721082368
boundstart: 0
boundend: 11721082368
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  a:      11721065055                0  4.2BSD   8192 65536 52270
  c:      11721082368                0  unused
# kill -9 %1
#
[1] + Killed               disklabel -E sd4
# disklabel -p T sd4
/dev/rsd4c:
type: SCSI
disk: SCSI disk
label: SR RAID 5
duid: 3d8f9f24614b4a62
flags: vendor
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 511
sectors/cylinder: 130305
cylinders: 24415
total sectors: 11721082368 # total bytes: 5.5T
boundstart: 0
boundend: 11721082368
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  a:             1.5T                0  4.2BSD   8192 65536 52270
  c:             5.5T                0  unused
disklabel: warning, partition a: size % cylinder-size != 0
# mount /dev/sd4a /mnt
# echo "This is the first line ever written." > /mnt/the_first_file
# bioic# ## #ctl sd4
Volume      Status               Size Device
softraid0 0 Online      6001194172416 sd4     RAID5
          0 Online      2000398065664 0:0.0   noencl <sd0a>
          1 Online      2000398065664 0:1.0   noencl <sd1a>
          2 Online      2000398065664 0:2.0   noencl <sd2a>
          3 Online      2000398065664 0:3.0   noencl <sd3a>
# disklabel -E sd4
This platform requires that partition offsets/sizes be on cylinder boundaries. Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd4> d a
sd4*> a d
offset: [0]
size: [11721082368] *
FS type: [4.2BSD]
sd4*> p
OpenBSD area: 0-11721082368; size: 11721082368; free: 17313
#                size           offset  fstype [fsize bsize   cpg]
  c:      11721082368                0  unused
  d:      11721065055                0  4.2BSD   8192 65536     1
sd4*> p T
OpenBSD area: 0-11721082368; size: 5.5T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  c:             5.5T                0  unused
  d:             5.5T                0  4.2BSD   8192 65536     1
sd4*> w
sd4> q
No label changes.
# disklabel -p T sd4
/dev/rsd4c:
type: SCSI
disk: SCSI disk
label: SR RAID 5
duid: 3d8f9f24614b4a62
flags: vendor
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 511
sectors/cylinder: 130305
cylinders: 24415
total sectors: 11721082368 # total bytes: 5.5T
boundstart: 0
boundend: 11721082368
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  c:             5.5T                0  unused
  d:             1.5T                0  4.2BSD   8192 65536     1
disklabel: warning, partition d: size % cylinder-size != 0
# disklabel -E sd4
This platform requires that partition offsets/sizes be on cylinder boundaries. Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd4> a e
offset: [3131130463]
size: [8589853218] *
FS type: [4.2BSD]
sd4*> p T
OpenBSD area: 0-11721082368; size: 5.5T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  c:             5.5T                0  unused
  d:             1.5T                0  4.2BSD   8192 65536     1
  e:             4.0T       3131229150  4.2BSD   8192 65536     1
sd4*> w
sd4> q
No label changes.
# disklabel -p T sd4
/dev/rsd4c:
type: SCSI
disk: SCSI disk
label: SR RAID 5
duid: 3d8f9f24614b4a62
flags: vendor
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 511
sectors/cylinder: 130305
cylinders: 24415
total sectors: 11721082368 # total bytes: 5.5T
boundstart: 0
boundend: 11721082368
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  c:             5.5T                0  unused
  d:             1.5T                0  4.2BSD   8192 65536     1
  e:             2.0T       3131229150  4.2BSD   8192 65536     1
disklabel: warning, partition d: size % cylinder-size != 0
disklabel: warning, partition e: size % cylinder-size != 0
# disklabel -E sd4
This platform requires that partition offsets/sizes be on cylinder boundaries. Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd4> a f
offset: [7426097759]
size: [4294870113] *
FS type: [4.2BSD]
sd4*> p T
OpenBSD area: 0-11721082368; size: 5.5T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  c:             5.5T                0  unused
  d:             1.5T                0  4.2BSD   8192 65536     1
  e:             2.0T       3131229150  4.2BSD   8192 65536     1
  f:             2.0T       7426212255  4.2BSD   8192 65536     1
sd4*> w
sd4> q
No label changes.
# disklabel -p T sd4
/dev/rsd4c:
type: SCSI
disk: SCSI disk
label: SR RAID 5
duid: 3d8f9f24614b4a62
flags: vendor
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 511
sectors/cylinder: 130305
cylinders: 24415
total sectors: 11721082368 # total bytes: 5.5T
boundstart: 0
boundend: 11721082368
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  c:             5.5T                0  unused
  d:             1.5T                0  4.2BSD   8192 65536     1
  e:             2.0T       3131229150  4.2BSD   8192 65536     1
  f:             2.0T       3131244959  4.2BSD   8192 65536     1
disklabel: warning, partition d: size % cylinder-size != 0
disklabel: warning, partition e: size % cylinder-size != 0
disklabel: warning, partition f: offset % cylinder-size != 0
# disklabel -E sd4

Error, partitions e and f overlap:
#                size           offset  fstype [fsize bsize    cpg]
  e:       4294868609       3131229150  4.2BSD   8192 65536     1
  f:       4294852800       3131244959  4.2BSD   8192 65536     1
Disable which one? (e f) f
This platform requires that partition offsets/sizes be on cylinder boundaries. Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd4*> p
OpenBSD area: 0-11721082368; size: 11721082368; free: 4295083296
#                size           offset  fstype [fsize bsize   cpg]
  c:      11721082368                0  unused
  d:       3131130463                0  4.2BSD   8192 65536     1
  e:       4294868609       3131229150  4.2BSD   8192 65536     1
  f:       4294852800       3131244959  unused
sd4*> p
OpenBSD area: 0-11721082368; size: 11721082368; free: 4295083296
#                size           offset  fstype [fsize bsize   cpg]
  c:      11721082368                0  unused
  d:       3131130463                0  4.2BSD   8192 65536     1
  e:       4294868609       3131229150  4.2BSD   8192 65536     1
  f:       4294852800       3131244959  unused
sd4*> p T
OpenBSD area: 0-11721082368; size: 5.5T; free: 2.0T
#                size           offset  fstype [fsize bsize   cpg]
  c:             5.5T                0  unused
  d:             1.5T                0  4.2BSD   8192 65536     1
  e:             2.0T       3131229150  4.2BSD   8192 65536     1
  f:             2.0T       3131244959  unused


Above, the output helps to show the 1.5 T limit for the first partition, with the 2.0 T limit for the second partition and the failure of the third partition to be valid.

With softraid0 level c, the limit for the first partition was 1.6 T.  I am not sure why a different limit occurred.  With softraid0 level c I was using 2x 2TB hard drives (not 4x 2TB hard drives like level 5 above).  The softraid0 level c output is below:

# bioctl -c c -l /dev/sd0a,/dev/sd1a softraid0
sd2 at scsibus2 targ 1 lun 0: <OPENBSD, SR CONCAT, 006>
sd2: 3815456MB, 512 bytes/sector, 7814054944 sectors
softraid0: CONCAT volume attached as sd2
# disklabel -E sd2
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd2> p
OpenBSD area: 0-7814054944; size: 7814054944; free: 7814054944
#                size           offset  fstype [fsize bsize   cpg]
  c:       7814054944                0  unused
sd2> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 3.6T
#                size           offset  fstype [fsize bsize   cpg]
  c:             3.6T                0  unused
sd2> a
partition: [a]
offset: [0]
size: [7814054944] *
FS type: [4.2BSD]
sd2*> p
OpenBSD area: 0-7814054944; size: 7814054944; free: 55009
#                size           offset  fstype [fsize bsize   cpg]
  a:       7813999935                0  4.2BSD   8192 65536     1
  c:       7814054944                0  unused
sd2*> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  a:             3.6T                0  4.2BSD   8192 65536     1
  c:             3.6T                0  unused
sd2*> w
sd2> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  a:             3.6T                0  4.2BSD   8192 65536     1
  c:             3.6T                0  unused
sd2> q
No label changes.
# disklabel sd2
/dev/rsd2c:
type: SCSI
disk: SCSI disk
label: SR CONCAT
duid: 1a6b7f01731128db
flags: vendor
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 511
sectors/cylinder: 130305
cylinders: 59967
total sectors: 7814054944
boundstart: 0
boundend: 7814054944
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  a:       3519032639                0  4.2BSD   8192 65536     1
  c:       7814054944                0  unused
disklabel: warning, partition a: size % cylinder-size != 0
# disklabel -E sd2
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd2> d a
sd2*> a
partition: [a]
offset: [0]
size: [7814054944] *
FS type: [4.2BSD]
sd2*> w
sd2> ^Z[1] + Suspended            disklabel -E sd2
# newfs sd2a
/dev/rsd2a: 3815429.8MB in 7813999920 sectors of 512 bytes
1168 cylinder groups of 3266.88MB, 52270 blocks, 104704 inodes each
super-block backups (for fsck -b #) at:
 256, 6690816, 13381376, 20071936, 26762496, 33453056, 40143616, 46834176,
 53524736, 60215296, 66905856, 73596416, 80286976, 86977536, 93668096,
 100358656, 107049216, 113739776, 120430336, 127120896, 133811456, 140502016,
 147192576, 153883136, 160573696, 167264256, 173954816, 180645376, 187335936,
 194026496, 200717056, 207407616, 214098176, 220788736, 227479296, 234169856,
 240860416, 247550976, 254241536, 260932096, 267622656, 274313216, 281003776,
 287694336, 294384896, 301075456, 307766016, 314456576, 321147136, 327837696,
 334528256, 341218816, 347909376, 354599936, 361290496, 367981056, 374671616,
 381362176, 388052736, 394743296, 401433856, 408124416, 414814976, 421505536,
 428196096, 434886656, 441577216, 448267776, 454958336, 461648896, 468339456,
 475030016, 481720576, 488411136, 495101696, 501792256, 508482816, 515173376,
 521863936, 528554496, 535245056, 541935616, 548626176, 555316736, 562007296,
 568697856, 575388416, 582078976, 588769536, 595460096, 602150656, 608841216,
 615531776, 622222336, 628912896, 635603456, 642294016, 648984576, 655675136,
 662365696, 669056256, 675746816, 682437376, 689127936, 695818496, 702509056,
 709199616, 715890176, 722580736, 729271296, 735961856, 742652416, 749342976,
 756033536, 762724096, 769414656, 776105216, 782795776, 789486336, 796176896,
 802867456, 809558016, 816248576, 822939136, 829629696, 836320256, 843010816,
 849701376, 856391936, 863082496, 869773056, 876463616, 883154176, 889844736,
 896535296, 903225856, 909916416, 916606976, 923297536, 929988096, 936678656,
 943369216, 950059776, 956750336, 963440896, 970131456, 976822016, 983512576,
 990203136, 996893696, 1003584256, 1010274816, 1016965376, 1023655936,
 1030346496, 1037037056, 1043727616, 1050418176, 1057108736, 1063799296,
 1070489856, 1077180416, 1083870976, 1090561536, 1097252096, 1103942656,
 1110633216, 1117323776, 1124014336, 1130704896, 1137395456, 1144086016,
 1150776576, 1157467136, 1164157696, 1170848256, 1177538816, 1184229376,
 1190919936, 1197610496, 1204301056, 1210991616, 1217682176, 1224372736,
 1231063296, 1237753856, 1244444416, 1251134976, 1257825536, 1264516096,
 1271206656, 1277897216, 1284587776, 1291278336, 1297968896, 1304659456,
 1311350016, 1318040576, 1324731136, 1331421696, 1338112256, 1344802816,
 1351493376, 1358183936, 1364874496, 1371565056, 1378255616, 1384946176,
 1391636736, 1398327296, 1405017856, 1411708416, 1418398976, 1425089536,
 1431780096, 1438470656, 1445161216, 1451851776, 1458542336, 1465232896,
 1471923456, 1478614016, 1485304576, 1491995136, 1498685696, 1505376256,
 1512066816, 1518757376, 1525447936, 1532138496, 1538829056, 1545519616,
 1552210176, 1558900736, 1565591296, 1572281856, 1578972416, 1585662976,
 1592353536, 1599044096, 1605734656, 1612425216, 1619115776, 1625806336,
 1632496896, 1639187456, 1645878016, 1652568576, 1659259136, 1665949696,
 1672640256, 1679330816, 1686021376, 1692711936, 1699402496, 1706093056,
 1712783616, 1719474176, 1726164736, 1732855296, 1739545856, 1746236416,
 1752926976, 1759617536, 1766308096, 1772998656, 1779689216, 1786379776,
 1793070336, 1799760896, 1806451456, 1813142016, 1819832576, 1826523136,
 1833213696, 1839904256, 1846594816, 1853285376, 1859975936, 1866666496,
 1873357056, 1880047616, 1886738176, 1893428736, 1900119296, 1906809856,
 1913500416, 1920190976, 1926881536, 1933572096, 1940262656, 1946953216,
 1953643776, 1960334336, 1967024896, 1973715456, 1980406016, 1987096576,
 1993787136, 2000477696, 2007168256, 2013858816, 2020549376, 2027239936,
 2033930496, 2040621056, 2047311616, 2054002176, 2060692736, 2067383296,
 2074073856, 2080764416, 2087454976, 2094145536, 2100836096, 2107526656,
 2114217216, 2120907776, 2127598336, 2134288896, 2140979456, 2147670016,
 2154360576, 2161051136, 2167741696, 2174432256, 2181122816, 2187813376,
 2194503936, 2201194496, 2207885056, 2214575616, 2221266176, 2227956736,
 2234647296, 2241337856, 2248028416, 2254718976, 2261409536, 2268100096,
 2274790656, 2281481216, 2288171776, 2294862336, 2301552896, 2308243456,
 2314934016, 2321624576, 2328315136, 2335005696, 2341696256, 2348386816,
 2355077376, 2361767936, 2368458496, 2375149056, 2381839616, 2388530176,
 2395220736, 2401911296, 2408601856, 2415292416, 2421982976, 2428673536,
 2435364096, 2442054656, 2448745216, 2455435776, 2462126336, 2468816896,
 2475507456, 2482198016, 2488888576, 2495579136, 2502269696, 2508960256,
 2515650816, 2522341376, 2529031936, 2535722496, 2542413056, 2549103616,
 2555794176, 2562484736, 2569175296, 2575865856, 2582556416, 2589246976,
 2595937536, 2602628096, 2609318656, 2616009216, 2622699776, 2629390336,
 2636080896, 2642771456, 2649462016, 2656152576, 2662843136, 2669533696,
 2676224256, 2682914816, 2689605376, 2696295936, 2702986496, 2709677056,
 2716367616, 2723058176, 2729748736, 2736439296, 2743129856, 2749820416,
 2756510976, 2763201536, 2769892096, 2776582656, 2783273216, 2789963776,
 2796654336, 2803344896, 2810035456, 2816726016, 2823416576, 2830107136,
 2836797696, 2843488256, 2850178816, 2856869376, 2863559936, 2870250496,
 2876941056, 2883631616, 2890322176, 2897012736, 2903703296, 2910393856,
 2917084416, 2923774976, 2930465536, 2937156096, 2943846656, 2950537216,
 2957227776, 2963918336, 2970608896, 2977299456, 2983990016, 2990680576,
 2997371136, 3004061696, 3010752256, 3017442816, 3024133376, 3030823936,
 3037514496, 3044205056, 3050895616, 3057586176, 3064276736, 3070967296,
 3077657856, 3084348416, 3091038976, 3097729536, 3104420096, 3111110656,
 3117801216, 3124491776, 3131182336, 3137872896, 3144563456, 3151254016,
 3157944576, 3164635136, 3171325696, 3178016256, 3184706816, 3191397376,
 3198087936, 3204778496, 3211469056, 3218159616, 3224850176, 3231540736,
 3238231296, 3244921856, 3251612416, 3258302976, 3264993536, 3271684096,
 3278374656, 3285065216, 3291755776, 3298446336, 3305136896, 3311827456,
 3318518016, 3325208576, 3331899136, 3338589696, 3345280256, 3351970816,
 3358661376, 3365351936, 3372042496, 3378733056, 3385423616, 3392114176,
 3398804736, 3405495296, 3412185856, 3418876416, 3425566976, 3432257536,
 3438948096, 3445638656, 3452329216, 3459019776, 3465710336, 3472400896,
 3479091456, 3485782016, 3492472576, 3499163136, 3505853696, 3512544256,
 3519234816, 3525925376, 3532615936, 3539306496, 3545997056, 3552687616,
 3559378176, 3566068736, 3572759296, 3579449856, 3586140416, 3592830976,
 3599521536, 3606212096, 3612902656, 3619593216, 3626283776, 3632974336,
 3639664896, 3646355456, 3653046016, 3659736576, 3666427136, 3673117696,
 3679808256, 3686498816, 3693189376, 3699879936, 3706570496, 3713261056,
 3719951616, 3726642176, 3733332736, 3740023296, 3746713856, 3753404416,
 3760094976, 3766785536, 3773476096, 3780166656, 3786857216, 3793547776,
 3800238336, 3806928896, 3813619456, 3820310016, 3827000576, 3833691136,
 3840381696, 3847072256, 3853762816, 3860453376, 3867143936, 3873834496,
 3880525056, 3887215616, 3893906176, 3900596736, 3907287296, 3913977856,
 3920668416, 3927358976, 3934049536, 3940740096, 3947430656, 3954121216,
 3960811776, 3967502336, 3974192896, 3980883456, 3987574016, 3994264576,
 4000955136, 4007645696, 4014336256, 4021026816, 4027717376, 4034407936,
 4041098496, 4047789056, 4054479616, 4061170176, 4067860736, 4074551296,
 4081241856, 4087932416, 4094622976, 4101313536, 4108004096, 4114694656,
 4121385216, 4128075776, 4134766336, 4141456896, 4148147456, 4154838016,
 4161528576, 4168219136, 4174909696, 4181600256, 4188290816, 4194981376,
 4201671936, 4208362496, 4215053056, 4221743616, 4228434176, 4235124736,
 4241815296, 4248505856, 4255196416, 4261886976, 4268577536, 4275268096,
 4281958656, 4288649216, 4295339776, 4302030336, 4308720896, 4315411456,
 4322102016, 4328792576, 4335483136, 4342173696, 4348864256, 4355554816,
 4362245376, 4368935936, 4375626496, 4382317056, 4389007616, 4395698176,
 4402388736, 4409079296, 4415769856, 4422460416, 4429150976, 4435841536,
 4442532096, 4449222656, 4455913216, 4462603776, 4469294336, 4475984896,
 4482675456, 4489366016, 4496056576, 4502747136, 4509437696, 4516128256,
 4522818816, 4529509376, 4536199936, 4542890496, 4549581056, 4556271616,
 4562962176, 4569652736, 4576343296, 4583033856, 4589724416, 4596414976,
 4603105536, 4609796096, 4616486656, 4623177216, 4629867776, 4636558336,
 4643248896, 4649939456, 4656630016, 4663320576, 4670011136, 4676701696,
 4683392256, 4690082816, 4696773376, 4703463936, 4710154496, 4716845056,
 4723535616, 4730226176, 4736916736, 4743607296, 4750297856, 4756988416,
 4763678976, 4770369536, 4777060096, 4783750656, 4790441216, 4797131776,
 4803822336, 4810512896, 4817203456, 4823894016, 4830584576, 4837275136,
 4843965696, 4850656256, 4857346816, 4864037376, 4870727936, 4877418496,
 4884109056, 4890799616, 4897490176, 4904180736, 4910871296, 4917561856,
 4924252416, 4930942976, 4937633536, 4944324096, 4951014656, 4957705216,
 4964395776, 4971086336, 4977776896, 4984467456, 4991158016, 4997848576,
 5004539136, 5011229696, 5017920256, 5024610816, 5031301376, 5037991936,
 5044682496, 5051373056, 5058063616, 5064754176, 5071444736, 5078135296,
 5084825856, 5091516416, 5098206976, 5104897536, 5111588096, 5118278656,
 5124969216, 5131659776, 5138350336, 5145040896, 5151731456, 5158422016,
 5165112576, 5171803136, 5178493696, 5185184256, 5191874816, 5198565376,
 5205255936, 5211946496, 5218637056, 5225327616, 5232018176, 5238708736,
 5245399296, 5252089856, 5258780416, 5265470976, 5272161536, 5278852096,
 5285542656, 5292233216, 5298923776, 5305614336, 5312304896, 5318995456,
 5325686016, 5332376576, 5339067136, 5345757696, 5352448256, 5359138816,
 5365829376, 5372519936, 5379210496, 5385901056, 5392591616, 5399282176,
 5405972736, 5412663296, 5419353856, 5426044416, 5432734976, 5439425536,
 5446116096, 5452806656, 5459497216, 5466187776, 5472878336, 5479568896,
 5486259456, 5492950016, 5499640576, 5506331136, 5513021696, 5519712256,
 5526402816, 5533093376, 5539783936, 5546474496, 5553165056, 5559855616,
 5566546176, 5573236736, 5579927296, 5586617856, 5593308416, 5599998976,
 5606689536, 5613380096, 5620070656, 5626761216, 5633451776, 5640142336,
 5646832896, 5653523456, 5660214016, 5666904576, 5673595136, 5680285696,
 5686976256, 5693666816, 5700357376, 5707047936, 5713738496, 5720429056,
 5727119616, 5733810176, 5740500736, 5747191296, 5753881856, 5760572416,
 5767262976, 5773953536, 5780644096, 5787334656, 5794025216, 5800715776,
 5807406336, 5814096896, 5820787456, 5827478016, 5834168576, 5840859136,
 5847549696, 5854240256, 5860930816, 5867621376, 5874311936, 5881002496,
 5887693056, 5894383616, 5901074176, 5907764736, 5914455296, 5921145856,
 5927836416, 5934526976, 5941217536, 5947908096, 5954598656, 5961289216,
 5967979776, 5974670336, 5981360896, 5988051456, 5994742016, 6001432576,
 6008123136, 6014813696, 6021504256, 6028194816, 6034885376, 6041575936,
 6048266496, 6054957056, 6061647616, 6068338176, 6075028736, 6081719296,
 6088409856, 6095100416, 6101790976, 6108481536, 6115172096, 6121862656,
 6128553216, 6135243776, 6141934336, 6148624896, 6155315456, 6162006016,
 6168696576, 6175387136, 6182077696, 6188768256, 6195458816, 6202149376,
 6208839936, 6215530496, 6222221056, 6228911616, 6235602176, 6242292736,
 6248983296, 6255673856, 6262364416, 6269054976, 6275745536, 6282436096,
 6289126656, 6295817216, 6302507776, 6309198336, 6315888896, 6322579456,
 6329270016, 6335960576, 6342651136, 6349341696, 6356032256, 6362722816,
 6369413376, 6376103936, 6382794496, 6389485056, 6396175616, 6402866176,
 6409556736, 6416247296, 6422937856, 6429628416, 6436318976, 6443009536,
 6449700096, 6456390656, 6463081216, 6469771776, 6476462336, 6483152896,
 6489843456, 6496534016, 6503224576, 6509915136, 6516605696, 6523296256,
 6529986816, 6536677376, 6543367936, 6550058496, 6556749056, 6563439616,
 6570130176, 6576820736, 6583511296, 6590201856, 6596892416, 6603582976,
 6610273536, 6616964096, 6623654656, 6630345216, 6637035776, 6643726336,
 6650416896, 6657107456, 6663798016, 6670488576, 6677179136, 6683869696,
 6690560256, 6697250816, 6703941376, 6710631936, 6717322496, 6724013056,
 6730703616, 6737394176, 6744084736, 6750775296, 6757465856, 6764156416,
 6770846976, 6777537536, 6784228096, 6790918656, 6797609216, 6804299776,
 6810990336, 6817680896, 6824371456, 6831062016, 6837752576, 6844443136,
 6851133696, 6857824256, 6864514816, 6871205376, 6877895936, 6884586496,
 6891277056, 6897967616, 6904658176, 6911348736, 6918039296, 6924729856,
 6931420416, 6938110976, 6944801536, 6951492096, 6958182656, 6964873216,
 6971563776, 6978254336, 6984944896, 6991635456, 6998326016, 7005016576,
 7011707136, 7018397696, 7025088256, 7031778816, 7038469376, 7045159936,
 7051850496, 7058541056, 7065231616, 7071922176, 7078612736, 7085303296,
 7091993856, 7098684416, 7105374976, 7112065536, 7118756096, 7125446656,
 7132137216, 7138827776, 7145518336, 7152208896, 7158899456, 7165590016,
 7172280576, 7178971136, 7185661696, 7192352256, 7199042816, 7205733376,
 7212423936, 7219114496, 7225805056, 7232495616, 7239186176, 7245876736,
 7252567296, 7259257856, 7265948416, 7272638976, 7279329536, 7286020096,
 7292710656, 7299401216, 7306091776, 7312782336, 7319472896, 7326163456,
 7332854016, 7339544576, 7346235136, 7352925696, 7359616256, 7366306816,
 7372997376, 7379687936, 7386378496, 7393069056, 7399759616, 7406450176,
 7413140736, 7419831296, 7426521856, 7433212416, 7439902976, 7446593536,
 7453284096, 7459974656, 7466665216, 7473355776, 7480046336, 7486736896,
 7493427456, 7500118016, 7506808576, 7513499136, 7520189696, 7526880256,
 7533570816, 7540261376, 7546951936, 7553642496, 7560333056, 7567023616,
 7573714176, 7580404736, 7587095296, 7593785856, 7600476416, 7607166976,
 7613857536, 7620548096, 7627238656, 7633929216, 7640619776, 7647310336,
 7654000896, 7660691456, 7667382016, 7674072576, 7680763136, 7687453696,
 7694144256, 7700834816, 7707525376, 7714215936, 7720906496, 7727597056,
 7734287616, 7740978176, 7747668736, 7754359296, 7761049856, 7767740416,
 7774430976, 7781121536, 7787812096, 7794502656, 7801193216, 7807883776,
# kill -9 %1
#
[1] + Killed               disklabel -E sd2
#
# mount /dev/sd2a /mnt
# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/rd0a      2.9M    1.7M    1.2M    58%    /
/dev/sd2a      3.6T    8.0K    3.4T     0%    /mnt
# echo "test data" > /mnt/test_file
# more /mnt/test_file
test data
# umount /mnt
# fsck /dev/sd2a
** /dev/rsd2a

CANNOT READ: BLK 7807883776
CONTINUE? [Fyn?] y^H

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 7807883776, 7807883777, 
7807883778, 7807883779, 7807883780, 7807883781, 7807883782, 7807883783, 
7807883784, 7807883785, 7807883786, 7807883787, 7807883788, 7807883789, 
7807883790, 7807883791,

LOOK FOR ALTERNATE SUPERBLOCKS? [Fyn?] F

USING ALTERNATE SUPERBLOCK AT 128
** File system is already clean
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes

CANNOT READ: BLK 3519234944
CONTINUE? yes

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 3519234944, 3519234945, 
3519234946, 3519234947, 3519234948, 3519234949, 3519234950, 3519234951, 
3519234952, 3519234953, 3519234954, 3519234955, 3519234956, 3519234957, 
3519234958, 3519234959, 3519234960, 3519234961, 3519234962, 3519234963, 
3519234964, 3519234965, 3519234966, 3519234967, 3519234968, 3519234969, 
3519234970, 3519234971, 3519234972, 3519234973, 3519234974, 3519234975, 
3519234976, 3519234977, 3519234978, 3519234979, 3519234980, 3519234981, 
3519234982, 3519234983, 3519234984, 3519234985, 3519234986, 3519234987, 
3519234988, 3519234989, 3519234990, 3519234991, 3519234992, 3519234993, 
3519234994, 3519234995, 3519234996, 3519234997, 3519234998, 3519234999, 
3519235000, 3519235001, 3519235002, 3519235003, 3519235004, 3519235005, 
3519235006, 3519235007, 3519235008, 3519235009, 3519235010, 3519235011, 
3519235012, 3519235013, 3519235014, 3519235015, 3519235016, 3519235017, 
3519235018, 3519235019, 3519235020, 3519235021, 3519235022, 3519235023, 
3519235024, 3519235025, 3519235026, 3519235027, 3519235028, 3519235029, 
3519235030, 3519235031, 3519235032, 3519235033, 3519235034, 3519235035, 
3519235036, 3519235037, 3519235038, 3519235039, 3519235040, 3519235041, 
3519235042, 3519235043, 3519235044, 3519235045, 3519235046, 3519235047, 
3519235048, 3519235049, 3519235050, 3519235051, 3519235052, 3519235053, 
3519235054, 3519235055, 3519235056, 3519235057, 3519235058, 3519235059, 
3519235060, 3519235061, 3519235062, 3519235063, 3519235064, 3519235065, 
3519235066, 3519235067, 3519235068, 3519235069, 3519235070, 3519235071,

CANNOT READ: BLK 3525925504
CONTINUE? yes

(Many other messages that say "THE FOLLOWING DISK SECTORS COULD NOT BE 
READ:"...)

** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
CG 526: BAD MAGIC NUMBER
SUMMARY INFORMATION BAD
SALVAGE? yes

BLK(S) MISSING IN BIT MAPS
SALVAGE? yes

CG 527: BAD MAGIC NUMBER
CG 528: BAD MAGIC NUMBER
CG 529: BAD MAGIC NUMBER
CG 530: BAD MAGIC NUMBER
CG 531: BAD MAGIC NUMBER
CG 532: BAD MAGIC NUMBER
CG 533: BAD MAGIC NUMBER
CG 534: BAD MAGIC NUMBER
CG 535: BAD MAGIC NUMBER
CG 536: BAD MAGIC NUMBER
CG 537: BAD MAGIC NUMBER
CG 538: BAD MAGIC NUMBER
CG 539: BAD MAGIC NUMBER
CG 540: BAD MAGIC NUMBER
CG 541: BAD MAGIC NUMBER

(Many other messages that say "__ ___: BAD MAGIC NUMBER" to show that magic was 
lost...)

2 files, 2 used, 484534590 free (14 frags, 60566822 blocks, 0.0% fragmentation)
WRITING ZERO'ED BLOCK 3519234944 TO DISK

CANNOT WRITE: BLK 3519234944
CONTINUE? yes

THE FOLLOWING SECTORS COULD NOT BE WRITTEN: 3519234944, 3519234945, 3519234946, 
3519234947, 3519234948, 3519234949, 3519234950, 3519234951, 3519234952, 
3519234953, 3519234954, 3519234955, 3519234956, 3519234957, 3519234958, 
3519234959, 3519234960, 3519234961, 3519234962, 3519234963, 3519234964, 
3519234965, 3519234966, 3519234967, 3519234968, 3519234969, 3519234970, 
3519234971, 3519234972, 3519234973, 3519234974, 3519234975, 3519234976, 
3519234977, 3519234978, 3519234979, 3519234980, 3519234981, 3519234982, 
3519234983, 3519234984, 3519234985, 3519234986, 3519234987, 3519234988, 
3519234989, 3519234990, 3519234991, 3519234992, 3519234993, 3519234994, 
3519234995, 3519234996, 3519234997, 3519234998, 3519234999, 3519235000, 
3519235001, 3519235002, 3519235003, 3519235004, 3519235005, 3519235006, 
3519235007, 3519235008, 3519235009, 3519235010, 3519235011, 3519235012, 
3519235013, 3519235014, 3519235015, 3519235016, 3519235017, 3519235018, 
3519235019, 3519235020, 3519235021, 3519235022, 3519235023, 3519235024, 
3519235025, 3519235026, 3519235027, 3519235028, 3519235029, 3519235030, 
3519235031, 3519235032, 3519235033, 3519235034, 3519235035, 3519235036, 
3519235037, 3519235038, 3519235039, 3519235040, 3519235041, 3519235042, 
3519235043, 3519235044, 3519235045, 3519235046, 3519235047, 3519235048, 
3519235049, 3519235050, 3519235051, 3519235052, 3519235053, 3519235054, 
3519235055, 3519235056, 3519235057, 3519235058, 3519235059, 3519235060, 
3519235061, 3519235062, 3519235063, 3519235064, 3519235065, 3519235066, 
3519235067, 3519235068, 3519235069, 3519235070, 3519235071,
WRITING ZERO'ED BLOCK 3525925504 TO DISK

CANNOT WRITE: BLK 3525925504
CONTINUE? yes

(Many other messages that say "THE FOLLOWING SECTORS COULD NOT BE WRITTEN:"...)

# disklabel -E sd2
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd2> p
OpenBSD area: 0-7814054944; size: 7814054944; free: 4295022305
#                size           offset  fstype [fsize bsize   cpg]
  a:       3519032639                0  4.2BSD   8192 65536 52270
  c:       7814054944                0  unused
sd2> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 2.0T
#                size           offset  fstype [fsize bsize   cpg]
  a:             1.6T                0  4.2BSD   8192 65536 52270
  c:             3.6T                0  unused
sd2> d a
sd2*> a
partition: [a]
offset: [0]
size: [7814054944] *
FS type: [4.2BSD]
sd2*> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  a:             3.6T                0  4.2BSD   8192 65536     1
  c:             3.6T                0  unused
sd2*> w
sd2> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  a:             3.6T                0  4.2BSD   8192 65536     1
  c:             3.6T                0  unused
sd2> q
No label changes.
# disklabel -E sd2
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd2> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 2.0T
#                size           offset  fstype [fsize bsize   cpg]
  a:             1.6T                0  4.2BSD   8192 65536     1
  c:             3.6T                0  unused
sd2> d a
sd2*> a d
offset: [0]
size: [7814054944] *
FS type: [4.2BSD]
sd2*> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  c:             3.6T                0  unused
  d:             3.6T                0  4.2BSD   8192 65536     1
sd2*> w
sd2> q
No label changes.
# disklabel -E sd2
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd2> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 2.0T
#                size           offset  fstype [fsize bsize   cpg]
  c:             3.6T                0  unused
  d:             1.6T                0  4.2BSD   8192 65536     1
sd2> a e
offset: [3519032639]
size: [4294907809] *
FS type: [4.2BSD]
sd2*> p
OpenBSD area: 0-7814054944; size: 7814054944; free: 169505
#                size           offset  fstype [fsize bsize   cpg]
  c:       7814054944                0  unused
  d:       3519032639                0  4.2BSD   8192 65536     1
  e:       4294852800       3519147135  4.2BSD   8192 65536     1
sd2*> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  c:             3.6T                0  unused
  d:             1.6T                0  4.2BSD   8192 65536     1
  e:             2.0T       3519147135  4.2BSD   8192 65536     1
sd2*> w
sd2> q
No label changes.
# disklabel -E sd2
This platform requires that partition offsets/sizes be on cylinder boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder automatically.
Label editor (enter '?' for help at any prompt)
sd2> p
OpenBSD area: 0-7814054944; size: 7814054944; free: 169505
#                size           offset  fstype [fsize bsize   cpg]
  c:       7814054944                0  unused
  d:       3519032639                0  4.2BSD   8192 65536     1
  e:       4294852800       3519147135  4.2BSD   8192 65536     1
sd2> p T
OpenBSD area: 0-7814054944; size: 3.6T; free: 0.0T
#                size           offset  fstype [fsize bsize   cpg]
  c:             3.6T                0  unused
  d:             1.6T                0  4.2BSD   8192 65536     1
  e:             2.0T       3519147135  4.2BSD   8192 65536     1


Reply via email to