Port-amd64 archive

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

sysinst twe0 ld0 terabyte+ array issue



I'm trying to install the 03/05/08 HEAD amd64 build on to a 3ware 7500
(twe0/ld0) based 1.5TB array.

twe0 at pci2 dev 7 function 0: 3ware Escalade
twe0: interrupting at ioapic0 pin 21 (irq 10)
twe0: 8 ports, Firmware FE7X 1.05.00.068, BIOS BE7X 1.08.00.048
twe0: Monitor ME7X 1.01.00.040, PCB Rev3    , Achip 3.20    , Pchip 1.30-33
twe0: port 0: WDC WD5000AAKB-00YSA0                    476940 MB
twe0: port 1: WDC WD5000AAKB-00YSA0                    476940 MB
twe0: port 2: WDC WD5000AAKB-00YSA0                    476940 MB
twe0: port 3: WDC WD5000AAKB-00YSA0                    476940 MB
ld0 at twe0 unit 0: 64K stripe RAID5, status: Normal
ld0: 1397 GB, 182403 cyl, 255 head, 63 sec, 512 bytes/sect x 2930313216 sectors

In sysinst i see:

This disk matches the following BIOS disk:

 BIOS # cylinders heads sectors total sectors  GB
 ------ --------- ----- ------- ------------- ---
   0x80      1024   255      63    2930313216 1500

I assume this is the correct geom and I then select use entire disk
rather than editing the MBR partition table. When I get further in to
sysinst to set partition sizes  the very first thing I get is a
message to reduce the partition sizes by 666499 MB. I want to
configure the partition sizes like this:

/ - 502MB
/usr - 4000MB
/virtual - 210005MB
/storage/d0 - 1215500MB

But when I do what actually shows in sysinst is:

 MB         Cylinders   Sectors   Filesystem
    502                64   1028160   /
         0                 0         0   swap
         0                 0         0   tmp (mfs)
      4000               510   8193150   /usr
         0                 0         0   /var
         0                 0         0   /home
    210005             26772 430092180   /virtual
   >4294085659        42948549032489373751   /storage/d0

Clearly the size is all wrong for the storage partition. So instead I
choose to make the storage partition 1000000 and that looks a bit
better:

  MB         Cylinders   Sectors   Filesystem
       502                64   1028160   /
         0                 0         0   swap
         0                 0         0   tmp (mfs)
      4000               510   8193150   /usr
         0                 0         0   /var
         0                 0         0   /home
    210005             26772 430092180   /virtual
   >1000007            1274832048014395   /storage/d0
    Add a user defined partition
    Change input units (sectors/cylinders/MB)
    Accept partition sizes.  Free space 216301 MB, 10 free partitions.

So I proceed with this....

The first thing I get:

  Status: Finished
    Command: disklabel -w -r -f /tmp/disktab ld0 'mydisk'
     Hit enter to continue
--------------------------------------------------------------------------------
disklabel: warning, partition c: size 0, but offset 63


Here's the disktab.

# cat /tmp/disktab
mydisk|NetBSD installation generated:\
        :dt=unknown:ty=winchester:\
        :nc#182403:nt#255:ns#63:\
        :sc#16065:su#-1364654080:\
        :se#512:\
        :pa#1028160:oa#63:ta=4.2BSD:ba#8192:fa#1024:ta=4.2BSD:\
        :pb#0:ob#0:tb=unused:\
        :pc#-1364654143:oc#63:tc=unused:\
        :pd#-1364654080:od#0:td=unused:\
        :pe#8193150:oe#1028223:te=4.2BSD:be#16384:fe#2048:ta=4.2BSD:\
        :pf#430092180:of#9221373:tf=4.2BSD:bf#16384:ff#2048:ta=4.2BSD:\
        :pg#2048014395:og#439313553:tg=4.2BSD:bg#16384:fg#2048:ta=4.2BSD:\
        :ph#0:oh#0:th=unused:\
        :pi#0:oi#0:ti=unused:\
        :pj#0:oj#0:tj=unused:\
        :pk#0:ok#0:tk=unused:\
        :pl#0:ol#0:tl=unused:\
        :pm#0:om#0:tm=unused:\
        :pn#0:on#0:tn=unused:\
        :po#0:oo#0:to=unused:\
        :pp#0:op#0:tp=unused:

Continuing on... it runs newfs for the specified partitions. Here are
the first two.

   Status: Finished
    Command: /sbin/newfs -V2 -O 1 -b 8192 -f 1024 /dev/rld0a

--------------------------------------------------------------------------------
ld0: no raw partition and partition table is full
/dev/rld0a: 502.0MB (1028160 sectors) block size 8192, fragment size 1024
using 12 cylinder groups of 41.84MB, 5355 blks, 10432 inodes.
...............................................................................

    Status: Finished
    Command: /sbin/mount -tffs -o async /dev/ld0a /targetroot/
     Hit enter to continue
--------------------------------------------------------------------------------
ld0: no raw partition and partition table is full


When all 4 are done, the system recycles and boots with success.

/dev/ld0a         487M        32M       430M   6% /
/dev/ld0e         3.8G       241M       3.4G   6% /usr
/dev/ld0f         202G       2.0K       192G   0% /virtual
/dev/ld0g         961G       2.0K       913G   0% /storage/d0
kernfs            1.0K       1.0K         0B 100% /kern
ptyfs             1.0K       1.0K         0B 100% /dev/pts


However, ANY operation of disklabel after that seems to screw up the
system. I tried to add ld0h starting after g and using $ to the end of
the disk. After system reboot I get as far as:

ld0: no raw partition and partition table is full
ld0: no raw partition and partition table is full
boot device: <unknown>
root device:

It looks like someone else has the same issue a couple of years ago:
http://mail-index.netbsd.org/current-users/2005/04/16/0004.html

Am I missing something obvious? Any insight appreciated.


regards

Chris


Home | Main Index | Thread Index | Old Index