CONTENTS
Lastmodified 2018-09-21 (金) 13:24:45
FreeBSD 11.2-RELEASE-p3 #0: Thu Sep 6 07:14:16 UTC 2018
CPU: Intel(R) Celeron(R) CPU G530 @ 2.40GHz (2394.61-MHz K8-class CPU)
real memory = 8589934592 (8192 MB) avail memory = 8238145536 (7856 MB)
/ (except /usr/home) ada0: <VB0250EAVER HPG9> ATA8-ACS SATA 2.x device ada0: Serial Number Z3TF7F8C ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 238475MB (488397168 512 byte sectors)
ZFS /usr/home ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: <WDC WD30EZRZ-00Z5HB0 80.00A80> ACS-2 ATA SATA 3.x device ada1: Serial Number WD-WCC4N1CAKLXL ada1: 600.000MB/s transfers ada1: 2861588MB (5860533168 512 byte sectors)
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 ada2: <WDC WD30EZRZ-00Z5HB0 80.00A80> ACS-2 ATA SATA 3.x device ada2: Serial Number WD-WCC4N6CDPSS8 ada2: 300.000MB/s transfers ada2: 2861588MB (5860533168 512 byte sectors)
ada3 at ahcich3 bus 0 scbus3 target 0 lun 0 ada3: <WDC WD30EZRZ-00Z5HB0 80.00A80> ACS-2 ATA SATA 3.x device ada3: Serial Number WD-WCC4N5PDVFN0 ada3: 300.000MB/s transfers ada3: 2861588MB (5860533168 512 byte sectors)
CD cd0: <hp DVDROM DH40N IS01> Removable CD-ROM SCSI device cd0: Serial Number K66B5B21800 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
NIC em0: link state changed to UP
# zpool status pool: tank state: ONLINE config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 ada1 ONLINE 0 0 0 ada2 ONLINE 0 0 0 ada3 ONLINE 0 0 0 errors: No known data errors
# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ada0p2 222G 16G 188G 8% / devfs 1.0K 1.0K 0B 100% /dev tank 5.2T 4.5T 720G 87% /usr/home
root user 以外のユーザを登録せずにインストールすると、/usr/home はディレクトリ、シンボリックリンクが作成されない。
/usr/home だけをZFS上に作成する、というディスク構成。
18 14:32 zpool create -f tank raidz1 ada1 ada2 ada3 22 14:33 zpool status 23 14:33 zfs set mountpoint=/boot/zfs/zroot/usr/home tank 26 14:34 cd /boot/zfs/zroot 29 14:37 cd /boot/zfs 30 14:37 zpool export tank 31 14:37 zpool import tank 35 14:39 zfs set mountpoint=/usr/home tank 37 14:40 ln -s /usr/home/ /home 49 14:46 zpool status 50 14:46 reboot 55 15:01 /etc/periodic/weekly/310.locate
Total access 1115:本日 1:昨日 0