È possibile collegare un terzo hdd a un mirror già creato composto da due hdd con ZEVO?
Ubuntu
Eseguo una macchina virtuale Ubuntu con supporto ZFS nativo. Quando allego il terzo hdd funziona perfettamente.
OS X Lion
Quando importerò il pool su Lion, ZEVO sostiene che manca un pool anche se è lì e viene recuperato al momento.
Su Ubuntu:
$ zpool status Toshiba_ZFS
pool: Toshiba_ZFS
state: ONLINE
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Sun Aug 19 15:03:18 2012
12.1G scanned out of 598G at 14.4M/s, 11h33m to go
929M resilvered, 2.02% done
config:
NAME STATE READ WRITE CKSUM
Toshiba_ZFS ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sdd ONLINE 0 0 0
sdc ONLINE 0 0 0
sdb5 ONLINE 0 0 5 (resilvering)
Su Mac OS X (Lion):
$ zpool status Toshiba_ZFS
pool: Toshiba_ZFS
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Sun Aug 19 15:03:18 2012
1,52Gi scanned out of 598Gi at 24,0Mi/s, 7h4m to go
242Mi resilvered, 0,25% done
config:
NAME STATE READ WRITE CKSUM
Toshiba_ZFS DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
GPTE_1C3475D8-AB6F-3547-AE5D-571C2389DCC7 ONLINE 0 0 0 at disk3s1
GPTE_11059782-DA42-654B-8577-431C1B80814C ONLINE 0 0 0 at disk5s1
16494388674814556229 UNAVAIL 0 0 0 was /dev/sdb5
Per qualche motivo ZEVO memorizza i pool in / dev / dsk / ma dal momento che il mio terzo hdd non è ancora un pool e sarà collegato al pool di mirror zfs esistente, non verrà riconosciuto
$diskutil info disk2s5
Device Identifier: disk2s5
Device Node: /dev/disk2s5
Part of Whole: disk2
Device / Media Name: tank
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Partition Type: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Total Size: 751.6 GB (751591690240 Bytes) (exactly 1467952520 512-Byte-Blocks)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: Yes
Whole: No
Internal: No[/code]
$ zpool attach Toshiba_ZFS disk3s1 disk2s5
cannot open 'disk2s5': no such device in /dev/dsk
must be a full path or shorthand device name
Come posso collegare un altro disco con ZEVO?
EDIT : ecco alcune informazioni di registro dall'applicazione Console:
20.08.12 09:52:01,000 kernel: ZFSLabelScheme:start: 0xffffff801160e700 created proxy disk for pool 'Toshiba_ZFS'
20.08.12 09:52:01,000 kernel: ZFSLabelScheme:start: 'Toshiba_ZFS' critical mass with 1 vdev(s) (skip import)
20.08.12 09:52:01,000 kernel: ZFSLabelScheme:probe: label 'Toshiba_ZFS', vdev 8248481474682216015
20.08.12 09:52:01,000 kernel: zfsx_vdm_open: couldn't find vdevMedia for 'sde5'
20.08.12 09:52:01,000 kernel: ldi_open_by_name: Toshiba_ZFS /dev/sde5 error 2, flag 3
20.08.12 09:52:01,000 kernel: zfsx_vdm_open: 'Toshiba_ZFS' disk3s1
20.08.12 09:52:01,000 kernel: zfsx_vdm_open: 'Toshiba_ZFS' disk5s1
20.08.12 09:52:02,000 kernel: zfsx_vdm_open: couldn't find vdevMedia for 'sde5'
20.08.12 09:52:02,000 kernel: ldi_open_by_name: Toshiba_ZFS /dev/sde5 error 2, flag 3
20.08.12 09:52:02,000 kernel: zfsx_mount: '/Volumes/Toshiba_ZFS'
20.08.12 09:52:07,235 com.tenscomplement.zfs.delegate: taking GPTE_11059782-DA42-654B- 8577-431C1B80814C online in pool 'Toshiba_ZFS'
20.08.12 09:52:17,239 com.tenscomplement.zfs.delegate: post mount fsgetpath: err 2, using "/.vol/234881038/2" instead
20.08.12 09:52:17,239 com.tenscomplement.zfs.delegate: post mount processing "/.vol/234881038/2"
E la tabella delle partizioni parted:
$ sudo parted /dev/sdb
GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: External RAID (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot
2 210MB 58.6GB 58.3GB Macintosh HD
3 58.7GB 59.3GB 650MB hfs+ Recovery HD
4 59.3GB 248GB 189GB hfs+ Backups
5 248GB 1000GB 752GB zfs Apple_HFS_Untitled_4