-- Hello. Please help . I mirror ZFS 9.3 , after an active it by using mysql
read \ write from an external script something broken. The operating system is
not loaded at the time of "Mount local filesystems"
pool consists of a mirror (raid 1 ) + hot swap, zfs partitions on a separate .
zpool import -f -R /tmp zroot freezes
try to import a pool from a LiveCD (10.1) -> zpool import -f -R / tmp zroot
out as in deep thought and then wrote something like
pid 99217 (sh), uid 0, was killed: out of swap space
pid 896 (ssh), uid 0, was killed: out of swap space
zpool made of 2 disks to GPT and one as hot-swap.
? zpool status -v
?? pool: zroot
? state: ONLINE
?? scan: none requested
config:
???????? NAME STATE READ WRITE CKSUM
???????? zroot ONLINE 0 0 0
?????????? mirror-ONLINE 0 0 0 0
???????????? gpt / disk0 ONLINE 0 0 0
???????????? gpt / disk1 ONLINE 0 0 0
???????? spares
?????????? gpt / disk2 AVAIL
errors: No known data errors
On the server 4096 ram, zfs datasets are divided like this:
zroot 57.8G 212G 170M /
zroot / tmp 18.2M 212G 18.2M / tmp
zroot / usr 15.4G 212G 409M / usr
zroot / usr / home 6.54G 212G 6.54G / usr / home
zroot / usr / local 3.78G 212G 3.78G / usr / local
zroot / usr / obj 432K 212G 432K / usr / obj
zroot / usr / ports 2.61G 212G 1.69G / usr / ports
zroot / usr / ports / distfiles 815M 212G 815M / usr / ports / distfiles
zroot / usr / ports / packages 126M 212G 126M / usr / ports / packages
zroot / usr / src 2.08G 212G 2.08G / usr / src
zroot / var 41.9G 212G 194M / var
zroot / var / backups 147M 212G 147M / var / backups
zroot / var / crash 224K 212G 224K / var / crash
zroot / var / db 41.6G 212G 331M / var / db
zroot / var / db / mysql 41.2G 212G 53.6M / var / db / mysql
zroot / var / db / mysql / billing 37.8G 212G 37.8G / var / db / mysql / billing
zroot / var / db / mysql / ibdata 3.05G 212G 3.05G / var / db / mysql / ibdata
zroot / var / db / mysql / logs 230M 212G 230M / var / db / mysql / logs
zroot / var / db / pkg 93.0M 212G 93.0M / var / db / pkg
zroot / var / empty 216K 212G 216K / var / empty
zroot / var / log 39.2M 212G 39.2M / var / log
zroot / var / mail 216K 212G 216K / var / mail
zroot / var / run 452K 212G 452K / var / run
zroot / var / tmp 476K 212G 476K / var / tmp
I tried to mount separately mount -t zfs zroot/var/db/mysql/billing?
Please see screenshot
http://s17.postimg.org/am4nuw9r3/dsg.jpg
Now I did zpool import -f zroot and zpool scrub zroot, Is already 11 percent of
11 gigabytes of 106 , but I do not think it will help .
Scrub shows have 327 % 348 gigabytes from 106 gigabytes and scan is slow, no
estimated time.
Please help colleagues