INFO
# cat /etc/issue
Ubuntu 14.04.2 LTS \n \l
# uname -a
Linux osd0 3.13.0-52-generic #86-Ubuntu SMP Mon May 4 04:32:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
INSTALL
# apt-add-repository --yes ppa:zfs-native/stable# apt-get update
# apt-get install debootstrap spl-dkms zfs-dkms ubuntu-zfs
DISK Partitioning
:: ÃÑ4°³ÀÇ µð½ºÅ©¸¦ 2°³¾¿ Mirroring(SATA Link ¼Óµµº°·Î) Çؼ 2°³·Î ÆÄƼ¼Ç »ý¼º
# dmesg | grep -i sata | grep "link up"
[ 2.569676] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 2.569697] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.569718] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.569746] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
sdb::sdc - SATA3
sdd::sde - SATA2
# ls -l /dev/disk/by-id/ata*
total 0
drwxr-xr-x 2 root root 360 5¿ù 12 18:05 .
drwxr-xr-x 8 root root 160 5¿ù 12 18:05 ..
lrwxrwxrwx 1 root root 9 5¿ù 12 18:05 ata-ST3000DM001-1CH166_Z1F54ZFX -> ../../sde
lrwxrwxrwx 1 root root 9 5¿ù 12 18:05 ata-ST3000DM001-1CH166_Z1F55V2X -> ../../sdb
lrwxrwxrwx 1 root root 9 5¿ù 12 18:05 ata-ST3000DM001-1ER166_Z5002Q7H -> ../../sdc
lrwxrwxrwx 1 root root 9 5¿ù 12 18:05 ata-ST3000DM001-1ER166_Z5002QGC -> ../../sdd
# zpool create SATA3 mirror /dev/disk/by-id/ata-ST3000DM001-1CH166_Z1F55V2X /dev/disk/by-id/ata-ST3000DM001-1ER166_Z5002Q7H
# zpool create SATA2 mirror /dev/disk/by-id/ata-ST3000DM001-1ER166_Z5002QGC /dev/disk/by-id/ata-ST3000DM001-1CH166_Z1F54ZFX
# zpool status
pool: SATA2
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
SATA2 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-ST3000DM001-1ER166_Z5002QGC ONLINE 0 0 0
ata-ST3000DM001-1CH166_Z1F54ZFX ONLINE 0 0 0
errors: No known data errors
pool: SATA3
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
SATA3 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-ST3000DM001-1CH166_Z1F55V2X ONLINE 0 0 0
ata-ST3000DM001-1ER166_Z5002Q7H ONLINE 0 0 0
errors: No known data errors