Probably two choices:

1. The easiest may be to skip the Solaris partition table. However, if this gives errors, you may need to re-FDISK-format the disk. In this case you would leave off the "s0" when creating the ZFS raid pool:

    zpool create arabica raidz2 c4d1 c5d1 c6d0 c7d0

2.  At the end, where you have the following when partitioning the disk:

Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       0                0         (0/0/0)             0

If you want to use c4d1s0, you need to create Solaris partition 0 (which will become "s0", inside the "p0" FDISK partition) to be cylinders 3->max.

To do this, when at the partition menu, hit "0", then in response to the prompts the responses should be something like:

Tag            ->  home    (other values such as root are possible)
Flags          ->  wm      (also not very important but don't use "u").
Start cylinder ->  3       (since parts #8,9 use cylinders 0-2)
End -> 60796e (tell it to end at the end of the disk, from slice 2)

After it comes back to the partition menu you need to type "label" to commit the changes. Then repeat for the other disks.

Hugh.



Ben Huxham wrote:
Hi I've installed OS 2008/11 to a mirror
~# zpool list
NAME    SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
rpool   232G  4.44G   228G     1%  ONLINE  -

~# zpool status
  pool: rpool
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c4d0s0  ONLINE       0     0     0
            c5d0s0  ONLINE       0     0     0
"

My problem comes as I get to the next part adding my four 500gb drives.

"format> disk


AVAILABLE DISK SELECTIONS:
       0. c4d0 <DEFAULT cyl 30397 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@0/c...@0,0
       1. c4d1 <DEFAULT cyl 60797 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@0/c...@1,0
       2. c5d0 <DEFAULT cyl 30398 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@1/c...@0,0
       3. c5d1 <drive type unknown>
          /p...@0,0/pci-...@1f,2/i...@1/c...@1,0
       4. c6d0 <drive type unknown>
          /p...@0,0/pci-...@1f,5/i...@0/c...@0,0
       5. c7d0 <ST350032-         9QM24Z1-0001-465.76GB>
          /p...@0,0/pci-...@1f,5/i...@1/c...@0,0
Specify disk (enter its number)[1]: "

Adding a raid:
"
:~# zpool create arabica raidz2 c4d1s0 c5d1s0 c6d0s0 c7d0s0
cannot open '/dev/dsk/c4d1s0': No such device or address
~# ls /dev/dsk/c
Display all 252 possibilities? (y or n)
~# ls /dev/dsk/c4d
c4d0p0 c4d0s1 c4d0s15 c4d0s7 c4d1p3 c4d1s12 c4d1s4 c4d0p1 c4d0s10 c4d0s2 c4d0s8 c4d1p4 c4d1s13 c4d1s5 c4d0p2 c4d0s11 c4d0s3 c4d0s9 c4d1s0 c4d1s14 c4d1s6 c4d0p3 c4d0s12 c4d0s4 c4d1p0 c4d1s1 c4d1s15 c4d1s7 c4d0p4 c4d0s13 c4d0s5 c4d1p1 c4d1s10 c4d1s2 c4d1s8 c4d0s0 c4d0s14 c4d0s6 c4d1p2 c4d1s11 c4d1s3 c4d1s9 ~# zpool create arabica raidz c4d1s0 c5d1s0 c6d0s0 c7d0s0
cannot open '/dev/dsk/c4d1s0': No such device or address
~# zpool create test c4d1s0
cannot open '/dev/dsk/c4d1s0': No such device or address
~# zpool create test c4d1s0
cannot open '/dev/dsk/c4d1s0': No such device or address
~# zpool create test c5d1s0
cannot open '/dev/dsk/c5d1s0': No such device or address
~# zpool create test c6d0s0
cannot open '/dev/dsk/c6d0s0': No such device or address
"

So the drive need to be formated right?
"
format> disk


AVAILABLE DISK SELECTIONS:
       0. c4d0 <DEFAULT cyl 30397 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@0/c...@0,0
       1. c4d1 <DEFAULT cyl 60797 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@0/c...@1,0
       2. c5d0 <DEFAULT cyl 30398 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@1/c...@0,0
       3. c5d1 <drive type unknown>
          /p...@0,0/pci-...@1f,2/i...@1/c...@1,0
       4. c6d0 <drive type unknown>
          /p...@0,0/pci-...@1f,5/i...@0/c...@0,0
       5. c7d0 <ST350032-         9QM24Z1-0001-465.76GB>
          /p...@0,0/pci-...@1f,5/i...@1/c...@0,0
Specify disk (enter its number)[1]: 1
selecting c4d1
Controller working list found
[disk formatted, defect list found]
format> fdisk

format> disk


AVAILABLE DISK SELECTIONS:
       0. c4d0 <DEFAULT cyl 30397 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@0/c...@0,0
       1. c4d1 <DEFAULT cyl 60797 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@0/c...@1,0
       2. c5d0 <DEFAULT cyl 30398 alt 2 hd 255 sec 63>
          /p...@0,0/pci-...@1f,2/i...@1/c...@0,0
       3. c5d1 <drive type unknown>
          /p...@0,0/pci-...@1f,2/i...@1/c...@1,0
       4. c6d0 <drive type unknown>
          /p...@0,0/pci-...@1f,5/i...@0/c...@0,0
       5. c7d0 <ST350032-         9QM24Z1-0001-465.76GB>
          /p...@0,0/pci-...@1f,5/i...@1/c...@0,0
Specify disk (enter its number)[1]: 1
selecting c4d1
Controller working list found
[disk formatted, defect list found]
format> fdisk

             Total disk size is 60800 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Solaris2          1  60799    60799    100





SELECT ONE OF THE FOLLOWING:
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection:

"
I ignored this and deleted the partition, and created:

"Partition 1 has been deleted. This was the active partition.

Partition 1 is now the active partition.

Partition 1 is now the active partition.
par


PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> print
Current partition table (original):
Total disk cylinders available: 60797 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       0                0         (0/0/0)             0
  1 unassigned    wm       0                0         (0/0/0)             0
  2     backup    wu       0 - 60796      465.73GB    (60797/0/0) 976703805
  3 unassigned    wm       0                0         (0/0/0)             0
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6 unassigned    wm       0                0         (0/0/0)             0
  7 unassigned    wm       0                0         (0/0/0)             0
  8       boot    wu       0 -     0        7.84MB    (1/0/0)         16065
  9 alternates    wm       1 -     2       15.69MB    (2/0/0)         32130

partition> "

As far as I can tell I'm doing everything right... :(

I modify the table and went whole hog (I'll try shorten it from now on.)

I created a test pool:

"~# zpool create test c4d1s0
cannot open '/dev/dsk/c4d1s0': No such device or address"

Where am I going wrong and what can I do?

All the drive were working in Windows and Linux. If I could figure out how to 
backup to ntfs portables I'd probably just do that and reinstall linux

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to