Dear ZFS experts,
I have 2 SATA 500 GB Hard Drive on my Dual Core PC
I have installed OpenSolaris 2008.11 using Live CD I got from Sun Tech Days in
Singapore
Now, using all the guidelines I got here at Indiana Discussion, I can't attach
my second drive to rpool to make them mirror
Initially I was playing around with similar configuration in VirtualBox, and it
does not succeed. Finally I am trying it with my real machine, and it still
hasn't work
I Logged the steps, and attach it here. I hope someone who is expert can tell
me which part that I did went wrong.
Thank You,
Handojo
These are the description of the first drive using "format" :
======================================================================
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c3d0 <DEFAULT cyl 60797 alt 2 hd 255 sec 63>
/pci at 0,0/pci-ide at 1f,2/ide at 0/cmdk at 0,0
1. c4d0 <DEFAULT cyl 60797 alt 2 hd 255 sec 63>
/pci at 0,0/pci-ide at 1f,2/ide at 1/cmdk at 0,0
Specify disk (enter its number): 0
selecting c3d0
No defect list found
[disk formatted, no defect list found]
/dev/dsk/c3d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> part
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 root wm 1 - 60795 465.71GB (60795/0/0) 976671675
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 unassigned wm 0 0 (0/0/0) 0
partition> quit
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> quit
======================================================================
These are the log that I capture to change EFI labeling to SMI before adding to
rpool ( and it failed. I followed this guide, and several other guide, which is
exactly the same, but it doesn't work for me )
Here's the links :
http://opensolaris.org/jive/thread.jspa?messageID=331284
Here's the log :
======================================================================
handojoh at opensolaris:~# zpool add rpool c4d0
cannot label 'c4d0': EFI labeled devices are not supported on root pools.
handojoh at opensolaris:~# format -e c4d0
selecting c4d0
No defect list found
[disk formatted, no defect list found]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> part
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
9 - change `9' 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> label
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 0
Ready to label disk, continue? y
partition> print
Current partition table (original):
Total disk cylinders available: 60797 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 1 - 60795 465.71GB (60795/0/0) 976671675
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 unassigned wm 0 0 (0/0/0) 0
partition> quit
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> fdisk
Total disk size is 60800 cylinders
Cylinder size is 16065 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Solaris 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: 6
format> quit
handojoh at opensolaris:~# zpool add rpool c4d0
cannot label 'c4d0': EFI labeled devices are not supported on root pools.
handojoh at opensolaris:~#
======================================================================
I've been changing the partition type to "Solaris", "Solaris2", "Unix System",
etc other than "EFI", but the result is still the same. Everytime I add c4d0 to
rpool, it always says : Cannot label 'c4d0': EFI labeled devices are not
supported on root pools.
Hoping to get some enlightment on this Simple ZFS Problem
--
This message posted from opensolaris.org